test: convarea.h Source File

Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

# convarea.h

Go to the documentation of this file.

    00001 /*++
    00002
    00003 Copyright (c) 1985 - 1999, Microsoft Corporation
    00004
    00005 Module Name:
    00006
    00007     convarea.h
    00008
    00009 Abstract:
    00010
    00011     This module contains the internal structures and definitions used
    00012     by the conversion area.
    00013
    00014 Author:
    00015
    00016     KazuM Mar.8,1993
    00017
    00018 Revision History:
    00019
    00020 --*/
    00021
    00022 #ifndef _CONVAREA_H_
    00023 #define _CONVAREA_H_
    00024
    00025 #if defined(FE_IME)
    00026 typedef struct _CONVERSION_AREA_BUFFER_INFO {
    00027     COORD      coordCaBuffer;
    00028     SMALL_RECT rcViewCaWindow;
    00029     COORD      coordConView;
    00030 } CONVERSION_AREA_BUFFER_INFO,*PCONVERSION_AREA_BUFFER_INFO;
    00031
    00032
    00033
    00034 typedef struct _CONVERSIONAREA_INFORMATION {
    00035     DWORD  ConversionAreaMode;
    00036         #define CA_HIDDEN      0x01        // Set:Hidden    Reset:Active
    00037         #define CA_STATUS_LINE 0x04
    00038         #define CA_HIDE_FOR_SCROLL              0x10
    00039
    00040     CONVERSION_AREA_BUFFER_INFO CaInfo;
    00041     struct _SCREEN_INFORMATION *ScreenBuffer;
    00042
    00043     struct _CONVERSIONAREA_INFORMATION *ConvAreaNext;
    00044 } CONVERSIONAREA_INFORMATION, *PCONVERSIONAREA_INFORMATION;
    00045
    00046
    00047
    00048 typedef struct _CONSOLE_IME_INFORMATION {
    00049     DWORD ScrollFlag;
    00050         #define HIDE_FOR_SCROLL               0x01
    00051     LONG ScrollWaitTimeout;
    00052         #define SCROLL_WAIT_TIMER         2
    00053     LONG ScrollWaitCountDown;
    00054
    00055     //
    00056     // Composition String information
    00057     //
    00058     LPCONIME_UICOMPMESSAGE CompStrData;
    00059     BOOLEAN SavedCursorVisible;  // whether cursor is visible (set by user)
    00060
    00061     //
    00062     // IME status/mode information
    00063     //
    00064     PCONVERSIONAREA_INFORMATION ConvAreaMode;
    00065     PCONVERSIONAREA_INFORMATION ConvAreaSystem;
    00066     DWORD  ConvAreaModePosition;
    00067         // VIEW_LEFT  0
    00068         // VIEW_RIGHT 1
    00069
    00070
    00071     //
    00072     // IME compositon string information
    00073     //
    00074     ULONG NumberOfConvAreaCompStr;
    00075     PCONVERSIONAREA_INFORMATION *ConvAreaCompStr;
    00076
    00077     //
    00078     // Root of conversion area information
    00079     //
    00080     PCONVERSIONAREA_INFORMATION ConvAreaRoot;
    00081
    00082 } CONSOLE_IME_INFORMATION, *PCONSOLE_IME_INFORMATION;
    00083
    00084 #endif // FE_IME
    00085
    00086 #endif  // _CONVAREA_H_