diff options
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( |