Update guimisc.c

fix for BlockInterferePower
This commit is contained in:
offhub 2024-03-10 15:26:49 +03:00
parent 6466fe491b
commit c2be2c3002
No known key found for this signature in database
GPG Key ID: 7B12A8941851DA59
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ _FX BOOLEAN Gui_InitMisc(HMODULE module)
Ldr_GetProcAddrNew(DllName_user32, L"GetThreadDpiAwarenessContext","GetThreadDpiAwarenessContext"); Ldr_GetProcAddrNew(DllName_user32, L"GetThreadDpiAwarenessContext","GetThreadDpiAwarenessContext");
if (SbieApi_QueryConfBool(NULL, "BlockInterferePower", FALSE)) { if (SbieApi_QueryConfBool(NULL, L"BlockInterferePower", FALSE)) {
SBIEDLL_HOOK_GUI(ShutdownBlockReasonCreate); SBIEDLL_HOOK_GUI(ShutdownBlockReasonCreate);