You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
618 B
35 lines
618 B
//
|
|
// 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
|