Source code of Windows XP (NT5)
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.

75 lines
2.2 KiB

  1. /**************************************************/
  2. /* */
  3. /* */
  4. /* Chinese IME Batch Mode */
  5. /* (Dialogbox) */
  6. /* */
  7. /* Copyright (c) 1997-1999 Microsoft Corporation. */
  8. /**************************************************/
  9. #if 0 // move to imeblink.h!
  10. #ifndef RC_INVOKED
  11. #pragma pack(1)
  12. #endif
  13. // data structure of IME table
  14. typedef struct tagUSRDICIMHDR {
  15. WORD uHeaderSize; // 0x00
  16. BYTE idUserCharInfoSign[8]; // 0x02
  17. BYTE idMajor; // 0x0A
  18. BYTE idMinor; // 0x0B
  19. DWORD ulTableCount; // 0x0C
  20. WORD cMethodKeySize; // 0x10
  21. BYTE uchBankID; // 0x12
  22. WORD idInternalBankID; // 0x13
  23. BYTE achCMEXReserved1[43]; // 0x15
  24. WORD uInfoSize; // 0x40
  25. BYTE chCmdKey; // 0x42
  26. BYTE idStlnUpd; // 0x43
  27. BYTE cbField; // 0x44
  28. WORD idCP; // 0x45
  29. BYTE achMethodName[6]; // 0x47
  30. BYTE achCSIReserved2[51]; // 0x4D
  31. BYTE achCopyRightMsg[128]; // 0x80
  32. } USRDICIMHDR;
  33. #ifndef RC_INVOKED
  34. #pragma pack()
  35. #endif
  36. typedef USRDICIMHDR FAR *LPUSRDICIMHDR;
  37. #endif 0 // move to imeblink.h!
  38. class CBLinkDlg : public CDialog
  39. {
  40. public:
  41. CBLinkDlg(CWnd* pParent = NULL);
  42. //{{AFX_DATA(CBLinkDlg)
  43. enum { IDD = IDD_LINKBATCH };
  44. //}}AFX_DATA
  45. //{{AFX_VIRTUAL(CBLinkDlg)
  46. protected:
  47. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  48. //}}AFX_VIRTUAL
  49. protected:
  50. BOOL RegistStringTable();
  51. #if 0 // move to imeblink.h!
  52. HKL MatchImeName( LPCTSTR szStr);
  53. HKL RegisterTable( HWND hWnd, LPUSRDICIMHDR lpIsvUsrDic,
  54. DWORD dwFileSize, UINT uCodePage);
  55. int CodePageInfo( UINT uCodePage);
  56. #endif 0 // move to imeblink.h!
  57. protected:
  58. //{{AFX_MSG(CBLinkDlg)
  59. virtual BOOL OnInitDialog();
  60. afx_msg void OnBrowsetable();
  61. virtual void OnOK();
  62. //}}AFX_MSG
  63. DECLARE_MESSAGE_MAP()
  64. };