summaryrefslogtreecommitdiff
path: root/Editor/GUI/WinUtils.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-11-10 18:46:11 +0800
committerchai <chaifix@163.com>2020-11-10 18:46:11 +0800
commit59e6235113a4d933811aa2cf6fdc8282ce394b9d (patch)
tree12410a230c5339ca88be6842c0dc811d5c6ec0ba /Editor/GUI/WinUtils.h
parentf0807fc44dde14531759306317611bab87c8fccf (diff)
*window
Diffstat (limited to 'Editor/GUI/WinUtils.h')
-rw-r--r--Editor/GUI/WinUtils.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Editor/GUI/WinUtils.h b/Editor/GUI/WinUtils.h
new file mode 100644
index 0000000..9257d77
--- /dev/null
+++ b/Editor/GUI/WinUtils.h
@@ -0,0 +1,17 @@
+#ifndef WINUTILS_H
+#define WINUTILS_H
+
+#include <windows.h>
+
+namespace winutils
+{
+ HINSTANCE GetInstanceHandle();
+
+ // ×¢²áwindows´°¿ÚÀà
+ ATOM RegisterWindowClass(const wchar_t* className, WNDPROC windowProc, unsigned int style);
+ void UnregisterWindowClass(const wchar_t* className);
+
+
+}
+
+#endif \ No newline at end of file