We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 18b26fc + 43509d5 commit 9e235feCopy full SHA for 9e235fe
unfuck.h
@@ -849,6 +849,21 @@ static BOOL UnhookWinEventL(HWINEVENTHOOK hWinEventHook)
849
return FALSE;
850
}
851
852
+
853
+#ifndef WIN64
854
+static void NotifyWinEventL(DWORD event, HWND hwnd, LONG idObj, LONG idChild)
855
+{
856
+ typedef void (WINAPI *funk_t)(DWORD, HWND, LONG, LONG);
857
+ static funk_t funk = (funk_t)1;
858
+ if (funk == (funk_t)1)
859
+ funk = (funk_t)LoadDLLProc("USER32.DLL", "NotifyWinEvent");
860
861
+ if (funk)
862
+ funk(event, hwnd, idObj, idChild);
863
+}
864
+#define NotifyWinEvent NotifyWinEventL
865
+#endif
866
867
static HRESULT DwmGetWindowAttributeL(HWND hwnd, DWORD a, PVOID b, DWORD c)
868
{
869
typedef HRESULT (WINAPI *funk_t)(HWND hwnd, DWORD a, PVOID b, DWORD c);
0 commit comments