This commit is contained in:
2026-08-06 14:17:11 +08:00
commit facf9ec288
10 changed files with 805 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
#ifndef INCLUDED_C_WINAPP_H
#define INCLUDED_C_WINAPP_H
#ifndef INCLUDED_C_WINGUI_H
#include <c_WinGUI.h>
#endif /*INCLUDED_C_WINGUI_H*/
/* ------------------------------------------------------------------------------------------------------------------ */
/* */
typedef struct {
HINSTANCE hInstance;
HWND hwnd;
}c_WinApp_t;
extern c_WinApp_t WinApp;
/* ------------------------------------------------------------------------------------------------------------------ */
/* */
static void c_WinApp_Init(HINSTANCE hInstance, HWND hwnd) {
WinApp.hInstance = hInstance;
WinApp.hwnd = hwnd;
}
#endif /*INCLUDED_C_WINAPP_H*/