31 lines
651 B
C
31 lines
651 B
C
#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*/
|