diff options
| author | Rob Mensching <rob@firegiant.com> | 2026-01-30 12:49:59 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2026-01-30 14:54:28 -0800 |
| commit | bdda474a01d09013c839cf4dfd45cea2ecc44e1f (patch) | |
| tree | 7956ee86b43877703de2ebc83ef3ce6ccd1d1953 /src/libs/dutil/WixToolset.DUtil/inc | |
| parent | af69ebe04deade267c347f0b790b6574f2fa31fa (diff) | |
| download | wix-bdda474a01d09013c839cf4dfd45cea2ecc44e1f.tar.gz wix-bdda474a01d09013c839cf4dfd45cea2ecc44e1f.tar.bz2 wix-bdda474a01d09013c839cf4dfd45cea2ecc44e1f.zip | |
Use high integrity instead of elevation token to properly detect "elevated" installs
Fixes 8178
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc')
| -rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/procutil.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/procutil.h b/src/libs/dutil/WixToolset.DUtil/inc/procutil.h index e7e91705..974003eb 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/procutil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/procutil.h | |||
| @@ -28,7 +28,10 @@ HRESULT DAPI ProcGetTokenInformation( | |||
| 28 | __in TOKEN_INFORMATION_CLASS tokenInformationClass, | 28 | __in TOKEN_INFORMATION_CLASS tokenInformationClass, |
| 29 | __out LPVOID* ppvTokenInformation | 29 | __out LPVOID* ppvTokenInformation |
| 30 | ); | 30 | ); |
| 31 | 31 | HRESULT DAPI ProcIsHighIntegrity( | |
| 32 | __in HANDLE hProcess, | ||
| 33 | __out BOOL* pfHighIntegrity | ||
| 34 | ); | ||
| 32 | HRESULT DAPI ProcHasPrivilege( | 35 | HRESULT DAPI ProcHasPrivilege( |
| 33 | __in HANDLE hProcess, | 36 | __in HANDLE hProcess, |
| 34 | __in LPCWSTR wzPrivilegeName, | 37 | __in LPCWSTR wzPrivilegeName, |
