test: eudc.h Source File

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

# eudc.h

Go to the documentation of this file.

    00001 /*++
    00002
    00003 Copyright (c) 1985 - 1999, Microsoft Corporation
    00004
    00005 Module Name:
    00006
    00007     eudc.h
    00008
    00009 Abstract:
    00010
    00011 Author:
    00012
    00013     KazuM Apr.19.1996
    00014
    00015 Revision History:
    00016
    00017 --*/
    00018
    00019 typedef struct _EUDC_INFORMATION {
    00020     BOOL LocalVDMEudcMode;
    00021     BOOL LocalKeisenEudcMode;
    00022
    00023     HDC hDCLocalEudc;                   // Double colored DBCS hDC
    00024     HBITMAP hBmpLocalEudc;
    00025
    00026     PVOID EudcFontCacheInformation;     // Same as PFONT_CACHE_INFORMATION
    00027
    00028     COORD LocalEudcSize;
    00029
    00030     INT EudcRangeSize;
    00031         #define EUDC_RANGE_SIZE 16
    00032     WCHAR EudcRange[EUDC_RANGE_SIZE];
    00033 } EUDC_INFORMATION, *PEUDC_INFORMATION;
    00034
    00035
    00036 NTSTATUS
    00037 CreateEUDC(
    00038     PCONSOLE_INFORMATION Console
    00039     );
    00040
    00041 VOID
    00042 DeleteEUDC(
    00043     PCONSOLE_INFORMATION Console
    00044     );
    00045
    00046 NTSTATUS
    00047 RegisterLocalEUDC(
    00048     IN PCONSOLE_INFORMATION Console,
    00049     IN WCHAR wChar,
    00050     IN COORD FontSize,
    00051     IN PCHAR FontFace
    00052     );
    00053
    00054 VOID
    00055 FreeLocalEUDC(
    00056     IN PCONSOLE_INFORMATION Console
    00057     );
    00058
    00059 VOID
    00060 GetFitLocalEUDCFont(
    00061     IN PCONSOLE_INFORMATION Console,
    00062     IN WCHAR wChar
    00063     );
    00064
    00065 BOOL
    00066 IsEudcRange(
    00067     IN PCONSOLE_INFORMATION Console,
    00068     IN WCHAR ch
    00069     );
    00070
    00071 BOOL
    00072 CheckEudcRangeInString(
    00073     IN PCONSOLE_INFORMATION Console,
    00074     IN  PWCHAR string,
    00075     IN  SHORT  len,
    00076     OUT SHORT  *find_pos
    00077     );
    00078
    00079 INT
    00080 GetSystemEUDCRangeW(
    00081     WORD  *pwEUDCCharTable,
    00082     UINT   cjSize
    00083     );
    00084
    00085 WORD
    00086 ConvertStringToHex(
    00087     LPWSTR lpch,
    00088     LPWSTR *endptr
    00089     );
    00090
    00091 WORD
    00092 ConvertStringToDec(
    00093     LPWSTR lpch,
    00094     LPWSTR *endptr
    00095     );