Leaked source code of windows server 2003
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.

91 lines
2.1 KiB

  1. /*++ BUILD Version: 0003 // Increment this if a change has global effects
  2. Copyright (c) 1985-1998, Microsoft Corporation
  3. Module Name:
  4. winnls32.h
  5. Abstract:
  6. Procedure declarations, constant definitions and macros for the
  7. Windows NT 3.x compatible FarEast IMM component.
  8. --*/
  9. #ifndef _WINNLS32_
  10. #define _WINNLS32_
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif /* __cplusplus */
  14. typedef struct _tagDATETIME {
  15. WORD year;
  16. WORD month;
  17. WORD day;
  18. WORD hour;
  19. WORD min;
  20. WORD sec;
  21. } DATETIME;
  22. typedef struct _tagIMEPROA {
  23. HWND hWnd;
  24. DATETIME InstDate;
  25. UINT wVersion;
  26. BYTE szDescription[50];
  27. BYTE szName[80];
  28. BYTE szOptions[30];
  29. } IMEPROA,*PIMEPROA,NEAR *NPIMEPROA,FAR *LPIMEPROA;
  30. typedef struct _tagIMEPROW {
  31. HWND hWnd;
  32. DATETIME InstDate;
  33. UINT wVersion;
  34. WCHAR szDescription[50];
  35. WCHAR szName[80];
  36. WCHAR szOptions[30];
  37. } IMEPROW,*PIMEPROW,NEAR *NPIMEPROW,FAR *LPIMEPROW;
  38. #ifdef UNICODE
  39. typedef IMEPROW IMEPRO;
  40. typedef PIMEPROW PIMEPRO;
  41. typedef NPIMEPROW NPIMEPRO;
  42. typedef LPIMEPROW LPIMEPRO;
  43. #else
  44. typedef IMEPROA IMEPRO;
  45. typedef PIMEPROA PIMEPRO;
  46. typedef NPIMEPROA NPIMEPRO;
  47. typedef LPIMEPROA LPIMEPRO;
  48. #endif // UNICODE
  49. BOOL WINAPI IMPGetIMEA( IN HWND, OUT LPIMEPROA);
  50. BOOL WINAPI IMPGetIMEW( IN HWND, OUT LPIMEPROW);
  51. #ifdef UNICODE
  52. #define IMPGetIME IMPGetIMEW
  53. #else
  54. #define IMPGetIME IMPGetIMEA
  55. #endif // !UNICODE
  56. BOOL WINAPI IMPQueryIMEA( IN OUT LPIMEPROA);
  57. BOOL WINAPI IMPQueryIMEW( IN OUT LPIMEPROW);
  58. #ifdef UNICODE
  59. #define IMPQueryIME IMPQueryIMEW
  60. #else
  61. #define IMPQueryIME IMPQueryIMEA
  62. #endif // !UNICODE
  63. BOOL WINAPI IMPSetIMEA( IN HWND, IN LPIMEPROA);
  64. BOOL WINAPI IMPSetIMEW( IN HWND, IN LPIMEPROW);
  65. #ifdef UNICODE
  66. #define IMPSetIME IMPSetIMEW
  67. #else
  68. #define IMPSetIME IMPSetIMEA
  69. #endif // !UNICODE
  70. UINT WINAPI WINNLSGetIMEHotkey( IN HWND);
  71. BOOL WINAPI WINNLSEnableIME( IN HWND, IN BOOL);
  72. BOOL WINAPI WINNLSGetEnableStatus( IN HWND);
  73. #ifdef __cplusplus
  74. }
  75. #endif /* __cplusplus */
  76. #endif // _WINNLS32_