SpaceCadetPinball/SpaceCadetPinball/winmain.h

18 lines
544 B
C
Raw Normal View History

2020-11-05 16:44:34 +01:00
#pragma once
2020-11-07 16:41:14 +01:00
class winmain
{
public:
static int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd);
static LRESULT CALLBACK message_handler(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam);
static void memalloc_failure();
static int ProcessWindowMessages();
static int check_expiration_date();
static HDC _GetDC(HWND hWnd);
static int a_dialog(HINSTANCE hInstance, HWND hWnd);
private:
static int iFrostUniqueMsg, return_value , bQuit;
static HDC _BeginPaint(HWND hWnd, LPPAINTSTRUCT lpPaint);
};