diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-09-02 16:12:42 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-09-03 15:29:26 -0500 |
commit | 237bdc6a97c0dd455da99c16e6b3b7cac4c79e86 (patch) | |
tree | 1f2c789a7aa752e068fac8a4ca08815d13bf527a /src/libs/dutil/WixToolset.DUtil/inc/procutil.h | |
parent | 7728e34e48a4fdb710ecc92dd8dca833bff3993f (diff) | |
download | wix-237bdc6a97c0dd455da99c16e6b3b7cac4c79e86.tar.gz wix-237bdc6a97c0dd455da99c16e6b3b7cac4c79e86.tar.bz2 wix-237bdc6a97c0dd455da99c16e6b3b7cac4c79e86.zip |
Add WixCanRestart and make wixstdba elevate for restart when required.
Fixes 5499
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/procutil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/procutil.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/procutil.h b/src/libs/dutil/WixToolset.DUtil/inc/procutil.h index d61d91b5..6a641a5b 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/procutil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/procutil.h | |||
@@ -23,9 +23,21 @@ HRESULT DAPI ProcSystem( | |||
23 | __out BOOL* pfSystem | 23 | __out BOOL* pfSystem |
24 | ); | 24 | ); |
25 | 25 | ||
26 | HRESULT DAPI ProcTokenUser( | 26 | HRESULT DAPI ProcGetTokenInformation( |
27 | __in HANDLE hProcess, | 27 | __in HANDLE hProcess, |
28 | __out TOKEN_USER** ppTokenUser | 28 | __in TOKEN_INFORMATION_CLASS tokenInformationClass, |
29 | __out LPVOID* ppvTokenInformation | ||
30 | ); | ||
31 | |||
32 | HRESULT DAPI ProcHasPrivilege( | ||
33 | __in HANDLE hProcess, | ||
34 | __in LPCWSTR wzPrivilegeName, | ||
35 | __out BOOL* pfHasPrivilege | ||
36 | ); | ||
37 | |||
38 | HRESULT DAPI ProcEnablePrivilege( | ||
39 | __in HANDLE hProcess, | ||
40 | __in LPCWSTR wzPrivilegeName | ||
29 | ); | 41 | ); |
30 | 42 | ||
31 | HRESULT DAPI ProcWow64( | 43 | HRESULT DAPI ProcWow64( |