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.
59 lines
1.5 KiB
59 lines
1.5 KiB
//
|
|
// Copyright (c) 1997-1999 Microsoft Corporation.
|
|
//
|
|
#ifndef RC_INVOKED
|
|
#pragma pack(1)
|
|
#endif
|
|
#define ARRAYLEN(x) (sizeof(x) / sizeof((x)[0]))
|
|
// data structure of IME table
|
|
typedef struct tagUSRDICIMHDR {
|
|
WORD uHeaderSize; // 0x00
|
|
BYTE idUserCharInfoSign[8]; // 0x02
|
|
BYTE idMajor; // 0x0A
|
|
BYTE idMinor; // 0x0B
|
|
DWORD ulTableCount; // 0x0C
|
|
WORD cMethodKeySize; // 0x10
|
|
BYTE uchBankID; // 0x12
|
|
WORD idInternalBankID; // 0x13
|
|
BYTE achCMEXReserved1[43]; // 0x15
|
|
WORD uInfoSize; // 0x40
|
|
BYTE chCmdKey; // 0x42
|
|
BYTE idStlnUpd; // 0x43
|
|
BYTE cbField; // 0x44
|
|
WORD idCP; // 0x45
|
|
BYTE achMethodName[6]; // 0x47
|
|
BYTE achCSIReserved2[51]; // 0x4D
|
|
BYTE achCopyRightMsg[128]; // 0x80
|
|
} USRDICIMHDR;
|
|
|
|
#ifndef RC_INVOKED
|
|
#pragma pack()
|
|
#endif
|
|
|
|
typedef USRDICIMHDR FAR *LPUSRDICIMHDR;
|
|
|
|
typedef WCHAR UNALIGNED *LPUNATSTR;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
HKL
|
|
RegisterTable(
|
|
HWND hWnd,
|
|
LPUSRDICIMHDR lpIsvUsrDic,
|
|
DWORD dwFileSize,
|
|
UINT uCodePage);
|
|
|
|
HKL
|
|
MatchImeName(
|
|
LPCTSTR szStr);
|
|
|
|
int
|
|
CodePageInfo(
|
|
UINT uCodePage);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|