diff options
Diffstat (limited to 'c/win.cpp')
-rw-r--r-- | c/win.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -87,9 +87,9 @@ int EBMessageBox(const wchar_t* const wszText, const wchar_t* const wszCaption, return 0; }; - HHOOK hHook = require(SetWindowsHookEx(WH_CBT, proc, (HINSTANCE)NULL, GetCurrentThreadId())); + HHOOK hHook = Require(SetWindowsHookEx(WH_CBT, proc, (HINSTANCE)NULL, GetCurrentThreadId())); int r = MessageBox(g_hWnd, wszText, wszCaption, uType); - require(UnhookWindowsHookEx(hHook)); + Require(UnhookWindowsHookEx(hHook)); return r; } |