mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-04 08:29:50 -04:00
[misc] fixes for Clang/C2 compilation support
This commit is contained in:
parent
2e530d5ce7
commit
39d6b90447
13 changed files with 34 additions and 26 deletions
|
@ -2781,7 +2781,7 @@ static BOOL IsCurrentProcessElevated(void)
|
|||
DWORD size;
|
||||
HANDLE token = INVALID_HANDLE_VALUE;
|
||||
TOKEN_ELEVATION te;
|
||||
SID_IDENTIFIER_AUTHORITY auth = SECURITY_NT_AUTHORITY;
|
||||
SID_IDENTIFIER_AUTHORITY auth = { SECURITY_NT_AUTHORITY };
|
||||
PSID psid;
|
||||
|
||||
if (ReadRegistryKey32(REGKEY_HKLM, "Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\EnableLUA") == 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue