Files
Aerofoil/GpCommon/GpWindows.h

28 lines
536 B
C
Raw Normal View History

2019-12-22 00:35:30 -05:00
#pragma once
#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
#define OEMRESOURCE
#include <Windows.h>
#undef CreateMutex
struct IGpFiber;
struct IGpColorCursor_Win32;
2019-12-24 02:35:24 -05:00
struct IGpVOSEventQueue;
2019-12-22 00:35:30 -05:00
struct GpWindowsGlobals
{
HINSTANCE m_hInstance;
HINSTANCE m_hPrevInstance;
LPCSTR m_cmdLine;
LPCWSTR m_baseDir;
int m_nCmdShow;
IGpFiber *(*m_createFiberFunc)(LPVOID fiber);
IGpColorCursor_Win32 *(*m_loadColorCursorFunc)(const wchar_t *path);
2019-12-24 02:35:24 -05:00
void (*m_translateWindowsMessageFunc)(const MSG *msg, IGpVOSEventQueue *eventQueue);
};
2019-12-21 18:40:17 -05:00