mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02: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