mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-28 15:53:51 +01:00
WM (Windows): uses WinVerifyTrustEx consistantly
This commit is contained in:
@@ -79,7 +79,7 @@ bool isProcessTrusted(DWORD processId, FFProcessType processType, UNICODE_STRING
|
||||
|
||||
LONG status = WinVerifyTrustEx(NULL, &actionID, &trustData);
|
||||
trustData.dwStateAction = WTD_STATEACTION_CLOSE;
|
||||
WinVerifyTrust(NULL, &actionID, &trustData);
|
||||
WinVerifyTrustEx(NULL, &actionID, &trustData);
|
||||
|
||||
if (status != ERROR_SUCCESS)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user