summaryrefslogtreecommitdiff
path: root/asm/window_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/window_util.h')
-rw-r--r--asm/window_util.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/asm/window_util.h b/asm/window_util.h
new file mode 100644
index 0000000..b3c6cae
--- /dev/null
+++ b/asm/window_util.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright (C) 2018 Iru Cai <mytbk920423@gmail.com>
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
+#include <windows.h>
+
+typedef LRESULT (CALLBACK *wProc)(HWND, UINT, WPARAM, LPARAM);
+
+extern wProc windowCallbacks[];
+extern int callbackSize;
+
+int Wait_0402_Message(wProc, int);
+void Post_0402_Message(LPARAM lp);