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.

86 lines
2.0 KiB

  1. /*++
  2. Copyright (c) 1985 - 1999, Microsoft Corporation
  3. Module Name:
  4. convarea.h
  5. Abstract:
  6. This module contains the internal structures and definitions used
  7. by the conversion area.
  8. Author:
  9. KazuM Mar.8,1993
  10. Revision History:
  11. --*/
  12. #ifndef _CONVAREA_H_
  13. #define _CONVAREA_H_
  14. #if defined(FE_IME)
  15. typedef struct _CONVERSION_AREA_BUFFER_INFO {
  16. COORD coordCaBuffer;
  17. SMALL_RECT rcViewCaWindow;
  18. COORD coordConView;
  19. } CONVERSION_AREA_BUFFER_INFO,*PCONVERSION_AREA_BUFFER_INFO;
  20. typedef struct _CONVERSIONAREA_INFORMATION {
  21. DWORD ConversionAreaMode;
  22. #define CA_HIDDEN 0x01 // Set:Hidden Reset:Active
  23. #define CA_STATUS_LINE 0x04
  24. #define CA_HIDE_FOR_SCROLL 0x10
  25. CONVERSION_AREA_BUFFER_INFO CaInfo;
  26. struct _SCREEN_INFORMATION *ScreenBuffer;
  27. struct _CONVERSIONAREA_INFORMATION *ConvAreaNext;
  28. } CONVERSIONAREA_INFORMATION, *PCONVERSIONAREA_INFORMATION;
  29. typedef struct _CONSOLE_IME_INFORMATION {
  30. DWORD ScrollFlag;
  31. #define HIDE_FOR_SCROLL 0x01
  32. LONG ScrollWaitTimeout;
  33. #define SCROLL_WAIT_TIMER 2
  34. LONG ScrollWaitCountDown;
  35. //
  36. // Composition String information
  37. //
  38. LPCONIME_UICOMPMESSAGE CompStrData;
  39. BOOLEAN SavedCursorVisible; // whether cursor is visible (set by user)
  40. //
  41. // IME status/mode information
  42. //
  43. PCONVERSIONAREA_INFORMATION ConvAreaMode;
  44. PCONVERSIONAREA_INFORMATION ConvAreaSystem;
  45. DWORD ConvAreaModePosition;
  46. // VIEW_LEFT 0
  47. // VIEW_RIGHT 1
  48. //
  49. // IME compositon string information
  50. //
  51. ULONG NumberOfConvAreaCompStr;
  52. PCONVERSIONAREA_INFORMATION *ConvAreaCompStr;
  53. //
  54. // Root of conversion area information
  55. //
  56. PCONVERSIONAREA_INFORMATION ConvAreaRoot;
  57. } CONSOLE_IME_INFORMATION, *PCONSOLE_IME_INFORMATION;
  58. #endif // FE_IME
  59. #endif // _CONVAREA_H_