Go to the source code of this file.
Classes | |
| struct | _MODE_FONT_PAIR |
| struct | _FS_CODEPAGE |
| struct | tagSTRINGBITMAP |
Defines | |
| #define | UNICODE_DBCS_PADDING 0xffff |
| #define | DEFAULT_FONTSIZE 256 |
| #define | DEFAULT_EUDCSIZE 1 |
| #define | VDM_EUDC_FONT_SIZE_X 16 |
| #define | VDM_EUDC_FONT_SIZE_Y 16 |
| #define | USACP 1252 |
| #define | KOREAN_CP 949 |
| #define | JAPAN_CP 932 |
| #define | FS_MODE_TEXT 0x0001 |
| #define | FS_MODE_GRAPHICS 0x0002 |
| #define | FS_MODE_FIND 0x8000 |
| #define | FS_TEXT (FS_MODE_FIND+FS_MODE_TEXT) |
| #define | FS_GRAPHICS (FS_MODE_FIND+FS_MODE_GRAPHICS) |
Typedefs | |
| typedef _MODE_FONT_PAIR | MODE_FONT_PAIR |
| typedef _MODE_FONT_PAIR * | PMODE_FONT_PAIR |
| typedef _FS_CODEPAGE | FS_CODEPAGE |
| typedef _FS_CODEPAGE * | PFS_CODEPAGE |
| typedef tagSTRINGBITMAP | STRINGBITMAP |
| typedef tagSTRINGBITMAP * | LPSTRINGBITMAP |
Functions | |
| UINT | GetStringBitmapW (HDC hdc, LPWSTR pwc, UINT cwc, UINT cbData, BYTE *pSB) |
| VOID | SetLineChar (IN PSCREEN_INFORMATION ScreenInfo) |
| BOOL | CheckBisectStringA (IN DWORD CodePage, IN PCHAR Buffer, IN DWORD NumBytes, IN LPCPINFO lpCPInfo) |
| VOID | BisectWrite (IN SHORT StringLength, IN COORD TargetPoint, IN PSCREEN_INFORMATION ScreenInfo) |
| VOID | BisectClipbrd (IN SHORT StringLength, IN COORD TargetPoint, IN PSCREEN_INFORMATION ScreenInfo, OUT PSMALL_RECT SmallRect) |
| VOID | BisectWriteAttr (IN SHORT StringLength, IN COORD TargetPoint, IN PSCREEN_INFORMATION ScreenInfo) |
| DWORD | RemoveDbcsMark (IN PWCHAR Dst, IN PWCHAR Src, IN DWORD NumBytes, IN PCHAR SrcA, IN BOOL OS2OemFormat) |
| DWORD | RemoveDbcsMarkCell (IN PCHAR_INFO Dst, IN PCHAR_INFO Src, IN DWORD NumBytes) |
| DWORD | RemoveDbcsMarkAll (IN PSCREEN_INFORMATION ScreenInfo, IN PROW Row, IN PSHORT LeftChar, IN PRECT TextRect, IN int *TextLeft, IN PWCHAR Buffer, IN SHORT NumberOfChars) |
| BOOL | IsDBCSLeadByteConsole (IN BYTE AsciiChar, IN LPCPINFO lpCPInfo) |
| NTSTATUS | AdjustFont (IN PCONSOLE_INFORMATION Console, IN UINT CodePage) |
| NTSTATUS | ConvertToCodePage (IN PCONSOLE_INFORMATION Console, IN UINT PrevCodePage) |
| NTSTATUS | ConvertOutputOemToNonOemUnicode (IN OUT LPWSTR Source, IN OUT PBYTE KAttrRows, IN int SourceLength, IN UINT Codepage) |
| VOID | TextOutEverything (IN PCONSOLE_INFORMATION Console, IN PSCREEN_INFORMATION ScreenInfo, IN SHORT LeftWindowPos, IN OUT PSHORT RightWindowPos, IN OUT PSHORT CountOfAttr, IN SHORT CountOfAttrOriginal, IN OUT PBOOL DoubleColorDBCS, IN BOOL LocalEUDCFlag, IN PROW Row, IN PATTR_PAIR Attr, IN SHORT LeftTextPos, IN SHORT RightTextPos, IN int WindowRectLeft, IN RECT WindowRect, IN SHORT NumberOfChars) |
| VOID | TextOutCommonLVB (IN PCONSOLE_INFORMATION Console, IN WORD Attributes, IN RECT CommonLVBRect) |
| NTSTATUS | MakeAltRasterFont (UINT CodePage, COORD DefaultFontSize, COORD *AltFontSize, BYTE *AltFontFamily, ULONG *AltFontIndex, LPWSTR AltFaceName) |
| NTSTATUS | InitializeDbcsMisc (VOID) |
| BYTE | CodePageToCharSet (UINT CodePage) |
| BOOL | IsAvailableFarEastCodePage (UINT CodePage) |
| LPTTFONTLIST | SearchTTFont (LPWSTR pwszFace, BOOL fCodePage, UINT CodePage) |
| BOOL | IsAvailableTTFont (LPWSTR pwszFace) |
| BOOL | IsAvailableTTFontCP (LPWSTR pwszFace, UINT CodePage) |
| LPWSTR | GetAltFaceName (LPWSTR pwszFace) |
| BOOL | IsAvailableFsCodePage (UINT CodePage) |
| BOOL | RegisterKeisenOfTTFont (IN PSCREEN_INFORMATION ScreenInfo) |
| ULONG | TranslateUnicodeToOem (IN PCONSOLE_INFORMATION Console, IN PWCHAR UnicodeBuffer, IN ULONG UnicodeCharCount, OUT PCHAR AnsiBuffer, IN ULONG AnsiByteCount, OUT PINPUT_RECORD DbcsLeadInpRec) |
| DWORD | ImmConversionToConsole (DWORD fdwConversion) |
| DWORD | ImmConversionFromConsole (DWORD dwNlsMode) |
| BOOL | CreateDbcsScreenBuffer (IN PCONSOLE_INFORMATION Console, IN COORD dwScreenBufferSize, OUT PDBCS_SCREEN_BUFFER DbcsScreenBuffer) |
| BOOL | DeleteDbcsScreenBuffer (IN PDBCS_SCREEN_BUFFER DbcsScreenBuffer) |
| BOOL | ReCreateDbcsScreenBuffer (IN PCONSOLE_INFORMATION Console, IN UINT OldCodePage) |
| BOOL | FE_PolyTextOutCandidate (IN PSCREEN_INFORMATION ScreenInfo, IN PSMALL_RECT Region) |
| VOID | FE_ConsolePolyTextOut (IN PSCREEN_INFORMATION ScreenInfo, IN PSMALL_RECT Region) |
| NTSTATUS | SetRAMFontCodePage (IN PSCREEN_INFORMATION ScreenInfo) |
| NTSTATUS | SetRAMFont (IN PSCREEN_INFORMATION ScreenInfo, IN PCHAR_INFO ScreenBufPtr, IN DWORD Length) |
Variables | |
| ULONG | DefaultFontIndex |
| COORD | DefaultFontSize |
| BYTE | DefaultFontFamily |
| PUSHORT | RegInitialPalette |
| PUCHAR | RegColorBuffer |
| PUCHAR | RegColorBufferNoTranslate |
| DWORD | NUMBER_OF_MODE_FONT_PAIRS |
| PMODE_FONT_PAIR | RegModeFontPairs |
| SINGLE_LIST_ENTRY | gRegFullScreenCodePage |
|
|
|
|
|
|
|
|
Definition at line 54 of file dbcs.h. Referenced by SrvSetConsoleHardwareState(). |
|
|
Definition at line 52 of file dbcs.h. Referenced by InitializeFullScreen(). |
|
|
Definition at line 51 of file dbcs.h. Referenced by DisplayModeTransition(), InitializeFullScreen(), and UnregisterVDM(). |
|
|
Definition at line 50 of file dbcs.h. Referenced by InitializeFullScreen(). |
|
|
Definition at line 53 of file dbcs.h. Referenced by SrvSetConsoleHardwareState(). |
|
|
Definition at line 28 of file dbcs.h. Referenced by UnregisterVDM(). |
|
|
Definition at line 27 of file dbcs.h. Referenced by UnregisterVDM(). |
|
|
Definition at line 18 of file dbcs.h. Referenced by FE_TranslateOutputToAnsiUnicodeInternal(). |
|
|
Definition at line 26 of file dbcs.h. Referenced by FalseUnicodeToRealUnicode(), ReadOutputString(), RealUnicodeToFalseUnicode(), SB_TranslateOutputToOem(), SB_TranslateOutputToUnicode(), SrvInvalidateBitMapRect(), WWSB_DoSrvWriteConsole(), WWSB_FillOutput(), and WWSB_WriteOutputString(). |
|
|
|
|
|
|
|
|
|
|
|
Referenced by SetRAMFontCodePage(). |
|
|
|
|
|
|
|
|
|
|
|
Referenced by SetRAMFontCodePage(). |
|
||||||||||||
|
|
|
||||||||||||||||||||
|
Referenced by MyInvert(), and StoreSelection(). |
|
||||||||||||||||
|
Referenced by FE_StreamWriteToScreenBuffer(), WWSB_DoWriteConsole(), WWSB_FillOutput(), WWSB_FillRectangle(), WWSB_WriteOutputString(), and WWSB_WriteRectToScreenBuffer(). |
|
||||||||||||||||
|
Referenced by WWSB_FillOutput(), and WWSB_WriteOutputString(). |
|
||||||||||||||||||||
|
Referenced by WWSB_DoSrvWriteConsole(). |
|
|
Referenced by FindCreateFont(), and HandleKeyEvent(). |
|
||||||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
Definition at line 5870 of file output.c. References BYTE, ConsoleHeapAlloc, ConsoleHeapFree, FALSE, MAKE_TAG, NULL, PBYTE, and TRUE. Referenced by CreateScreenBuffer(), ReCreateDbcsScreenBufferWorker(), and ResizeScreenBuffer().
|
|
|
Definition at line 5926 of file output.c. References ConsoleHeapFree, and TRUE. Referenced by FreeScreenBuffer(), ReCreateDbcsScreenBuffer(), and ResizeScreenBuffer().
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Referenced by FindCreateFont(). |
|
||||||||||||||||||||||||
|
Referenced by SetRAMFont(), and SetRAMFontCodePage(). |
|
|
Referenced by ConsoleWindowProc(). |
|
|
Referenced by HandleKeyEvent(). |
|
|
Referenced by InitWindowsStuff(). |
|
|
Referenced by ConServerDllInitialization(), DoCreateScreenBuffer(), FindCreateFont(), GetRegistryValues(), PropertiesUpdate(), ReCreateDbcsScreenBuffer(), and SrvSetConsoleCP(). |
|
|
Referenced by DisplayModeTransition(), SrvSetConsoleHardwareState(), and UnregisterVDM(). |
|
|
Referenced by FindCreateFont(), and FontEnum(). |
|
||||||||||||
|
Referenced by FontEnum(). |
|
||||||||||||
|
Referenced by WWSB_FillOutput(), WWSB_WriteOutputString(), and WWSB_WriteRectToScreenBuffer(). |
|
||||||||||||||||||||||||||||
|
Referenced by FindCreateFont(), and SetRAMFontCodePage(). |
|
||||||||||||
|
Definition at line 5985 of file output.c. References ASSERT, BOOL, CONSOLE_TEXTMODE_BUFFER, ConsoleHeapAlloc, ConsoleHeapFree, _DBCS_SCREEN_BUFFER_TRACKER::data, DeleteDbcsScreenBuffer(), exit, FALSE, IsAvailableFarEastCodePage(), MAKE_TAG, _SCREEN_INFORMATION::Next, NULL, PDBCS_SCREEN_BUFFER_TRACKER, ReCreateDbcsScreenBufferWorker(), TRUE, and UINT. Referenced by SrvSetConsoleCP().
|
|
|
Referenced by CreateWindowsWindow(). |
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||
|
Referenced by WWSB_ConsolePolyTextOut(), and WWSB_WriteRegionToScreen(). |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
Referenced by CreateScreenBuffer(), and SetScreenBufferFont(). |
|
||||||||||||||||
|
Definition at line 3336 of file server/private.c. References tagSTRINGBITMAP::ajBits, BufferSize, BYTE, BYTE_ALIGN, CalcBitmapBufferSize(), ConsoleHeapAlloc, ConsoleHeapFree, ConsoleHeapSize, DWORD, FontInfo, _MODE_FONT_PAIR::FontSize, _FONT_CACHE_INFORMATION::FullScreenFontIndex, _FONT_CACHE_INFORMATION::FullScreenFontSize, GetExpandFontImage(), GetFontImage(), GetStringBitmapW(), MAKE_TAG, NT_SUCCESS, NTSTATUS(), NULL, RegModeFontPairs, SetFontImage(), SHORT, Status, and WORD_ALIGN. Referenced by FE_WriteRegionToScreenHW().
|
|
|
Definition at line 3175 of file server/private.c. References tagSTRINGBITMAP::ajBits, BufferSize, BYTE, BYTE_ALIGN, CalcBitmapBufferSize(), ConsoleHeapAlloc, ConsoleHeapFree, ConsoleHeapSize, CreateFontCache(), DWORD, FontInfo, _MODE_FONT_PAIR::FontSize, _FONT_CACHE_INFORMATION::FullScreenFontIndex, _FONT_CACHE_INFORMATION::FullScreenFontSize, GetExpandFontImage(), GetStringBitmapW(), LPSTRINGBITMAP, MAKE_TAG, MakeAltRasterFont(), NT_SUCCESS, NTSTATUS(), NULL, OEMCP, PFONT_CACHE_INFORMATION, RegModeFontPairs, SCR_FONTCODEPAGE(), _MODE_FONT_PAIR::ScreenSize, SetFontImage(), SHORT, Status, STRINGBITMAP, and WORD_ALIGN. Referenced by FE_WriteRegionToScreenHW().
|
|
||||||||||||||||
|
Referenced by WWSB_ConsolePolyTextOut(). |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Referenced by WWSB_WriteRegionToScreen(). |
|
||||||||||||||||||||||||||||
|
Referenced by CookedRead(), RawReadWaitRoutine(), and ReadChars(). |
|
|
Definition at line 45 of file dbcs.h. Referenced by EnumerateFonts(). |
|
|
Definition at line 43 of file dbcs.h. Referenced by EnumerateFonts(), FindCreateFont(), and FontEnum(). |
|
|
Definition at line 44 of file dbcs.h. Referenced by EnumerateFonts(), and FindCreateFont(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 69 of file dbcs.h. Referenced by DisplayModeTransition(), FE_WriteRegionToScreenHW(), InitializeFullScreen(), SetRAMFont(), SetRAMFontCodePage(), SrvGetConsoleHardwareState(), SrvSetConsoleHardwareState(), and UnregisterVDM(). |
1.3.7