Files
WinGUI/c_WinApp.h
T

31 lines
651 B
C
Raw Normal View History

2026-07-28 14:17:49 +08:00
#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*/