2025-04-27 07:49:33 -04:00

36 lines
618 B
C++

//
// loader.h
//
#ifndef LOADER_H
#define LOADER_H
#include "private.h"
// from msuim.dll
extern "C" BOOL WINAPI TF_InitSystem(void);
extern "C" BOOL WINAPI TF_UninitSystem(void);
class CLoaderWnd
{
public:
CLoaderWnd();
~CLoaderWnd();
BOOL Init();
HWND CreateWnd();
HWND GetWnd() {return _hWnd;}
void DestroyWnd() {DestroyWindow(_hWnd);}
static BOOL _bUninitedSystem;
private:
static LRESULT CALLBACK _WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
static BOOL _bWndClassRegistered;
HWND _hWnd;
};
#endif // LOADER_H