This commit is contained in:
Igor Pavlov 2024-05-14 00:00:00 +00:00
parent 5b39dc76f1
commit fc662341e6
501 changed files with 33187 additions and 10416 deletions

View file

@ -37,6 +37,8 @@ bool EnablePrivilege(LPCTSTR privilegeName, bool enable)
if (!hModule)
return false;
Z7_DIAGNOSTIC_IGNORE_CAST_FUNCTION
GET_PROC_ADDR(
OpenProcessToken,
"OpenProcessToken")
@ -79,6 +81,7 @@ bool EnablePrivilege(LPCTSTR privilegeName, bool enable)
}
Z7_DIAGNOSTIC_IGNORE_CAST_FUNCTION
typedef void (WINAPI * Func_RtlGetVersion) (OSVERSIONINFOEXW *);