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.
60 lines
1.4 KiB
60 lines
1.4 KiB
//+---------------------------------------------------------------------------
|
|
//
|
|
// File: globals.h
|
|
//
|
|
// Contents: Global variable declarations.
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#ifndef GLOBALS_H
|
|
#define GLOBALS_H
|
|
|
|
#include "pimm.h"
|
|
#include "imtls.h"
|
|
|
|
extern HINSTANCE g_hInst;
|
|
|
|
extern CProcessIMM* g_ProcessIMM;
|
|
|
|
typedef struct tagSELECTCONTEXT_ENUM {
|
|
HKL hSelKL;
|
|
HKL hUnSelKL;
|
|
} SCE, *PSCE;
|
|
|
|
|
|
typedef int (*TOUNICODEEX)(UINT, UINT, CONST BYTE *, LPWSTR, int, UINT, HKL);
|
|
extern TOUNICODEEX g_pfnToUnicodeEx;
|
|
|
|
|
|
|
|
//+---------------------------------------------------------------------------
|
|
//
|
|
// WM_MSIME_xxxx
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
extern UINT WM_MSIME_SERVICE;
|
|
extern UINT WM_MSIME_UIREADY;
|
|
extern UINT WM_MSIME_RECONVERTREQUEST;
|
|
extern UINT WM_MSIME_RECONVERT;
|
|
extern UINT WM_MSIME_DOCUMENTFEED;
|
|
extern UINT WM_MSIME_QUERYPOSITION;
|
|
extern UINT WM_MSIME_MODEBIAS;
|
|
extern UINT WM_MSIME_SHOWIMEPAD;
|
|
extern UINT WM_MSIME_MOUSE;
|
|
extern UINT WM_MSIME_KEYMAP;
|
|
|
|
//+---------------------------------------------------------------------------
|
|
//
|
|
// GetTLS
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
class CActiveIMM;
|
|
|
|
inline CActiveIMM *GetTLS()
|
|
{
|
|
return IMTLS_GetActiveIMM();
|
|
}
|
|
|
|
#endif // GLOBALS_H
|