mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[CONDRV]: Quick fix for ASCII strings for ConDrvWriteConsoleOutputString.
[CONSRV]: Commit something forgotten from previous revision. svn path=/branches/condrv_restructure/; revision=63808
This commit is contained in:
@@ -966,6 +966,12 @@ ConDrvWriteConsoleOutputString(IN PCONSOLE Console,
|
||||
{
|
||||
Status = STATUS_NO_MEMORY;
|
||||
}
|
||||
|
||||
// FIXME: Quick fix: fix the CodeType and CodeSize since the
|
||||
// ASCII string was converted into UNICODE.
|
||||
// A proper fix needs to be written.
|
||||
CodeType = CODE_UNICODE;
|
||||
CodeSize = RTL_FIELD_SIZE(CODE_ELEMENT, UnicodeChar);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -24,13 +24,6 @@
|
||||
|
||||
/* GLOBALS ********************************************************************/
|
||||
|
||||
#define GetNextConsole(Console) \
|
||||
CONTAINING_RECORD(Console->Entry.Flink, TUI_CONSOLE_DATA, Entry)
|
||||
|
||||
#define GetPrevConsole(Console) \
|
||||
CONTAINING_RECORD(Console->Entry.Blink, TUI_CONSOLE_DATA, Entry)
|
||||
|
||||
|
||||
/* TUI Console Window Class name */
|
||||
#define TUI_CONSOLE_WINDOW_CLASS L"TuiConsoleWindowClass"
|
||||
|
||||
@@ -46,6 +39,13 @@ typedef struct _TUI_CONSOLE_DATA
|
||||
// TUI_CONSOLE_INFO TuiInfo; /* TUI terminal settings */
|
||||
} TUI_CONSOLE_DATA, *PTUI_CONSOLE_DATA;
|
||||
|
||||
#define GetNextConsole(Console) \
|
||||
CONTAINING_RECORD(Console->Entry.Flink, TUI_CONSOLE_DATA, Entry)
|
||||
|
||||
#define GetPrevConsole(Console) \
|
||||
CONTAINING_RECORD(Console->Entry.Blink, TUI_CONSOLE_DATA, Entry)
|
||||
|
||||
|
||||
/* List of the maintained virtual consoles and its lock */
|
||||
static LIST_ENTRY VirtConsList;
|
||||
static PTUI_CONSOLE_DATA ActiveConsole; /* The active console on screen */
|
||||
|
||||
Reference in New Issue
Block a user