15#define CONSRV_SERVERDLL_INDEX 2
16#define CONSRV_FIRST_API_NUMBER 512
391#define CONSOLE_HARDWARE_STATE_GDI_MANAGED 0
392#define CONSOLE_HARDWARE_STATE_DIRECT 1
struct _CONSOLE_SETWINDOWINFO * PCONSOLE_SETWINDOWINFO
struct _CONSOLE_READCONSOLE CONSOLE_READCONSOLE
struct _CONSOLE_API_MESSAGE * PCONSOLE_API_MESSAGE
struct _CONSOLE_SETPALETTE * PCONSOLE_SETPALETTE
struct _CONSOLE_GETWINDOW * PCONSOLE_GETWINDOW
struct _CONSOLE_OUTPUTCODE * PCONSOLE_WRITEOUTPUTCODE
struct _CONSOLE_GETCOMMANDHISTORY CONSOLE_GETCOMMANDHISTORY
struct _CONSOLE_GETSETHWSTATE CONSOLE_GETSETHWSTATE
struct _CONSOLE_GETALLALIASES * PCONSOLE_GETALLALIASES
struct _CONSOLE_GETNUMINPUTEVENTS * PCONSOLE_GETNUMINPUTEVENTS
struct _CONSOLE_SETCURSORPOSITION * PCONSOLE_SETCURSORPOSITION
struct _CONSOLE_GETKBDLAYOUTNAME CONSOLE_GETKBDLAYOUTNAME
struct _CONSOLE_SETACTIVESCREENBUFFER CONSOLE_SETACTIVESCREENBUFFER
struct _CONSOLE_SETHISTORYMODE * PCONSOLE_SETHISTORYMODE
union _CODE_ELEMENT CODE_ELEMENT
struct _CONSOLE_ALLOCCONSOLE CONSOLE_ALLOCCONSOLE
struct _CONSOLE_VERIFYHANDLE CONSOLE_VERIFYHANDLE
struct _CONSOLE_WRITEINPUT * PCONSOLE_WRITEINPUT
struct _CONSOLE_GETHANDLEINFO CONSOLE_GETHANDLEINFO
struct _CONSOLE_FILLOUTPUTCODE * PCONSOLE_FILLOUTPUTCODE
struct _CONSOLE_CLOSEHANDLE CONSOLE_CLOSEHANDLE
struct _CONSOLE_UNREGISTERCONSOLEIME * PCONSOLE_UNREGISTERCONSOLEIME
struct _CONSOLE_READCONSOLE * PCONSOLE_READCONSOLE
struct _CONSOLE_SETSCREENBUFFERSIZE CONSOLE_SETSCREENBUFFERSIZE
struct _CONSOLE_GETALIASESEXES CONSOLE_GETALIASESEXES
enum _CODE_TYPE CODE_TYPE
struct _CONSOLE_INVALIDATEDIBITS CONSOLE_INVALIDATEDIBITS
struct _CONSOLE_READOUTPUT * PCONSOLE_READOUTPUT
struct _CONSOLE_WRITECONSOLE CONSOLE_WRITECONSOLE
struct _CONSOLE_FILLOUTPUTCODE CONSOLE_FILLOUTPUTCODE
struct _CONSOLE_GETKBDLAYOUTNAME * PCONSOLE_GETKBDLAYOUTNAME
struct _CONSOLE_GETFONTSIZE CONSOLE_GETFONTSIZE
struct _CONSOLE_GETLANGID * PCONSOLE_GETLANGID
struct _CONSOLE_REGISTERCONSOLEIME CONSOLE_REGISTERCONSOLEIME
struct _CONSOLE_OPENCONSOLE CONSOLE_OPENCONSOLE
struct _CONSOLE_GETALLALIASESLENGTH CONSOLE_GETALLALIASESLENGTH
enum _CONSRV_API_NUMBER * PCONSRV_API_NUMBER
struct _CONSOLE_SETFONT CONSOLE_SETFONT
struct _CONSOLE_SETHISTORYMODE CONSOLE_SETHISTORYMODE
struct _CONSOLE_FREECONSOLE * PCONSOLE_FREECONSOLE
struct _CONSOLE_GETSETCONSOLETITLE * PCONSOLE_GETSETCONSOLETITLE
struct _CONSOLE_GETINPUTOUTPUTCP CONSOLE_GETINPUTOUTPUTCP
struct _CONSOLE_READOUTPUT CONSOLE_READOUTPUT
struct _CONSOLE_ADDGETALIAS * PCONSOLE_ADDGETALIAS
struct _CONSOLE_SETACTIVESCREENBUFFER * PCONSOLE_SETACTIVESCREENBUFFER
struct _CONSOLE_START_INFO * PCONSOLE_START_INFO
struct _CONSOLE_GETSCREENBUFFERINFO CONSOLE_GETSCREENBUFFERINFO
struct _CONSOLE_SETHANDLEINFO * PCONSOLE_SETHANDLEINFO
struct _CONSOLE_GETPROCESSLIST CONSOLE_GETPROCESSLIST
struct _CONSOLE_GETALLALIASES CONSOLE_GETALLALIASES
struct _CONSOLE_SETINPUTOUTPUTCP CONSOLE_SETINPUTOUTPUTCP
struct _CONSOLE_ADDGETALIAS CONSOLE_ADDGETALIAS
struct _CONSOLE_GETLARGESTWINDOWSIZE * PCONSOLE_GETLARGESTWINDOWSIZE
struct _CONSOLE_SETTEXTATTRIB * PCONSOLE_SETTEXTATTRIB
struct _CONSOLE_CREATESCREENBUFFER CONSOLE_CREATESCREENBUFFER
struct _CONSOLE_SETICON * PCONSOLE_SETICON
struct _CONSOLE_GETPROCESSLIST * PCONSOLE_GETPROCESSLIST
struct _CONSOLE_GETCOMMANDHISTORY * PCONSOLE_GETCOMMANDHISTORY
struct _CONSOLE_GETLARGESTWINDOWSIZE CONSOLE_GETLARGESTWINDOWSIZE
struct _CONSOLE_GETINPUT CONSOLE_GETINPUT
struct _CONSOLE_GETCURRENTFONT * PCONSOLE_GETCURRENTFONT
struct _CONSOLE_GETMOUSEINFO * PCONSOLE_GETMOUSEINFO
struct _CONSOLE_GETALLALIASESLENGTH * PCONSOLE_GETALLALIASESLENGTH
struct _CONSOLE_GETMOUSEINFO CONSOLE_GETMOUSEINFO
struct _CONSOLE_GETSETCONSOLEMODE * PCONSOLE_GETSETCONSOLEMODE
struct _CONSOLE_SETICON CONSOLE_SETICON
struct _CONSOLE_WRITEINPUT CONSOLE_WRITEINPUT
struct _CONSOLE_GETDISPLAYMODE * PCONSOLE_GETDISPLAYMODE
struct _CONSOLE_GETINPUTOUTPUTCP * PCONSOLE_GETINPUTOUTPUTCP
enum _CONSRV_API_NUMBER CONSRV_API_NUMBER
struct _CONSOLE_START_INFO CONSOLE_START_INFO
struct _CONSOLE_ALLOCCONSOLE * PCONSOLE_ALLOCCONSOLE
struct _CONSOLE_OPENCONSOLE * PCONSOLE_OPENCONSOLE
struct _CONSOLE_DUPLICATEHANDLE * PCONSOLE_DUPLICATEHANDLE
struct _CONSOLE_VERIFYHANDLE * PCONSOLE_VERIFYHANDLE
struct _CONSOLE_FREECONSOLE CONSOLE_FREECONSOLE
struct _CONSOLE_GETWINDOW CONSOLE_GETWINDOW
struct _CONSOLE_FLUSHINPUTBUFFER CONSOLE_FLUSHINPUTBUFFER
struct _CONSOLE_ATTACHCONSOLE CONSOLE_ATTACHCONSOLE
struct _CONSOLE_SETTEXTATTRIB CONSOLE_SETTEXTATTRIB
struct _CONSOLE_GETSETCONSOLETITLE CONSOLE_GETSETCONSOLETITLE
struct _CONSOLE_MENUCONTROL CONSOLE_MENUCONTROL
struct _CONSOLE_SETSCREENBUFFERSIZE * PCONSOLE_SETSCREENBUFFERSIZE
struct _CONSOLE_REGISTERCONSOLEIME * PCONSOLE_REGISTERCONSOLEIME
struct _CONSOLE_WRITEOUTPUT * PCONSOLE_WRITEOUTPUT
struct _CONSOLE_SETCURSOR CONSOLE_SETCURSOR
struct _CONSOLE_SETDISPLAYMODE CONSOLE_SETDISPLAYMODE
struct _CONSOLE_GETCURRENTFONT CONSOLE_GETCURRENTFONT
struct _CONSOLE_GETFONTINFO CONSOLE_GETFONTINFO
struct _CONSOLE_SETDISPLAYMODE * PCONSOLE_SETDISPLAYMODE
struct _CONSOLE_INVALIDATEDIBITS * PCONSOLE_INVALIDATEDIBITS
struct _CONSOLE_GETINPUT * PCONSOLE_GETINPUT
struct _CONSOLE_GETALIASESEXESLENGTH * PCONSOLE_GETALIASESEXESLENGTH
struct _CONSOLE_GETDISPLAYMODE CONSOLE_GETDISPLAYMODE
struct _CONSOLE_CLOSEHANDLE * PCONSOLE_CLOSEHANDLE
struct _CONSOLE_REGISTERVDM * PCONSOLE_REGISTERVDM
struct _CONSOLE_EXPUNGECOMMANDHISTORY * PCONSOLE_EXPUNGECOMMANDHISTORY
struct _CONSOLE_SETHANDLEINFO CONSOLE_SETHANDLEINFO
#define CONSRV_FIRST_API_NUMBER
struct _CONSOLE_SETINPUTOUTPUTCP * PCONSOLE_SETINPUTOUTPUTCP
struct _CONSOLE_SCROLLSCREENBUFFER * PCONSOLE_SCROLLSCREENBUFFER
struct _CONSOLE_GETSETCONSOLEMODE CONSOLE_GETSETCONSOLEMODE
struct _CONSRV_API_CONNECTINFO CONSRV_API_CONNECTINFO
struct _CONSOLE_SETFONT * PCONSOLE_SETFONT
struct _CONSOLE_GETFONTSIZE * PCONSOLE_GETFONTSIZE
struct _CONSOLE_OUTPUTCODE * PCONSOLE_READOUTPUTCODE
struct _CONSOLE_SETCURSORPOSITION CONSOLE_SETCURSORPOSITION
struct _CONSOLE_CREATESCREENBUFFER * PCONSOLE_CREATESCREENBUFFER
struct _CONSOLE_SETHISTORYNUMBERCOMMANDS * PCONSOLE_SETHISTORYNUMBERCOMMANDS
struct _CONSOLE_GETNUMINPUTEVENTS CONSOLE_GETNUMINPUTEVENTS
struct _CONSOLE_GETLANGID CONSOLE_GETLANGID
struct _CONSOLE_GETFONTINFO * PCONSOLE_GETFONTINFO
struct _CONSOLE_GETALIASESEXESLENGTH CONSOLE_GETALIASESEXESLENGTH
struct _CONSOLE_SETMENUCLOSE CONSOLE_SETMENUCLOSE
struct _CONSOLE_DUPLICATEHANDLE CONSOLE_DUPLICATEHANDLE
@ ConsolepSetCursorPosition
@ ConsolepGetHardwareState
@ ConsolepSetActiveScreenBuffer
@ ConsolepDuplicateHandle
@ ConsolepUnregisterConsoleIME
@ ConsolepGetHandleInformation
@ ConsolepReadConsoleOutputString
@ ConsolepInvalidateBitMapRect
@ ConsolepCreateScreenBuffer
@ ConsolepGenerateCtrlEvent
@ ConsolepGetConsoleInput
@ ConsolepGetSelectionInfo
@ ConsolepRegisterConsoleIME
@ ConsolepGetCommandHistoryLength
@ ConsolepFlushInputBuffer
@ ConsolepGetNumberOfFonts
@ ConsolepGetAliasesLength
@ ConsolepSetOS2OemFormat
@ ConsolepWriteConsoleInput
@ ConsolepWriteConsoleOutput
@ ConsolepNotifyLastClose
@ ConsolepGetAliasExesLength
@ ConsolepSetNumberOfCommands
@ ConsolepGetNumberOfInputEvents
@ ConsolepGetKeyboardLayoutName
@ ConsolepReadConsoleOutput
@ ConsolepSetCommandHistoryMode
@ ConsolepSetKeyShortcuts
@ ConsolepSetHardwareState
@ ConsolepScrollScreenBuffer
@ ConsolepGetLargestWindowSize
@ ConsolepGetConsoleWindow
@ ConsolepSetTextAttribute
@ ConsolepGetCommandHistory
@ ConsolepExpungeCommandHistory
@ ConsolepWriteConsoleOutputString
@ ConsolepSetScreenBufferSize
@ ConsolepSetHandleInformation
@ ConsolepGetScreenBufferInfo
@ ConsolepFillConsoleOutput
struct _CONSOLE_SETWINDOWINFO CONSOLE_SETWINDOWINFO
struct _CONSOLE_REGISTERVDM CONSOLE_REGISTERVDM
struct _CONSOLE_NOTIFYLASTCLOSE CONSOLE_NOTIFYLASTCLOSE
struct _CONSOLE_GENERATECTRLEVENT CONSOLE_GENERATECTRLEVENT
struct _CONSOLE_SETHISTORYNUMBERCOMMANDS CONSOLE_SETHISTORYNUMBERCOMMANDS
struct _CONSOLE_EXPUNGECOMMANDHISTORY CONSOLE_EXPUNGECOMMANDHISTORY
struct _CONSOLE_OUTPUTCODE CONSOLE_WRITEOUTPUTCODE
struct _CONSOLE_WRITECONSOLE * PCONSOLE_WRITECONSOLE
struct _CONSOLE_GETSETHWSTATE * PCONSOLE_GETSETHWSTATE
struct _CONSOLE_GENERATECTRLEVENT * PCONSOLE_GENERATECTRLEVENT
struct _CONSOLE_GETSETCURSORINFO CONSOLE_GETSETCURSORINFO
struct _CONSOLE_SCROLLSCREENBUFFER CONSOLE_SCROLLSCREENBUFFER
struct _CONSOLE_FLUSHINPUTBUFFER * PCONSOLE_FLUSHINPUTBUFFER
struct _CONSOLE_SHOWCURSOR CONSOLE_SHOWCURSOR
struct _CONSOLE_GETCOMMANDHISTORYLENGTH CONSOLE_GETCOMMANDHISTORYLENGTH
struct _CONSOLE_GETNUMFONTS * PCONSOLE_GETNUMFONTS
struct _CONSOLE_SETMENUCLOSE * PCONSOLE_SETMENUCLOSE
struct _CONSOLE_GETSETHISTORYINFO CONSOLE_GETSETHISTORYINFO
struct _CONSOLE_SETCURSOR * PCONSOLE_SETCURSOR
struct _CONSOLE_GETSCREENBUFFERINFO * PCONSOLE_GETSCREENBUFFERINFO
struct _CONSOLE_GETCOMMANDHISTORYLENGTH * PCONSOLE_GETCOMMANDHISTORYLENGTH
struct _CONSOLE_UNREGISTERCONSOLEIME CONSOLE_UNREGISTERCONSOLEIME
struct _CONSOLE_PROPERTIES CONSOLE_PROPERTIES
struct _CONSOLE_GETSETHISTORYINFO * PCONSOLE_GETSETHISTORYINFO
struct _CONSOLE_WRITEOUTPUT CONSOLE_WRITEOUTPUT
struct _CONSOLE_ATTACHCONSOLE * PCONSOLE_ATTACHCONSOLE
struct _CONSOLE_GETALIASESEXES * PCONSOLE_GETALIASESEXES
struct _CONSOLE_SHOWCURSOR * PCONSOLE_SHOWCURSOR
struct _CONSRV_API_CONNECTINFO * PCONSRV_API_CONNECTINFO
enum _CONSOLE_HANDLE_TYPE CONSOLE_HANDLE_TYPE
struct _CONSOLE_NOTIFYLASTCLOSE * PCONSOLE_NOTIFYLASTCLOSE
struct _CONSOLE_MENUCONTROL * PCONSOLE_MENUCONTROL
struct _CONSOLE_GETSELECTIONINFO CONSOLE_GETSELECTIONINFO
struct _CONSOLE_SETPALETTE CONSOLE_SETPALETTE
struct _CONSOLE_GETHANDLEINFO * PCONSOLE_GETHANDLEINFO
struct _CONSOLE_GETNUMFONTS CONSOLE_GETNUMFONTS
struct _CONSOLE_GETSETCURSORINFO * PCONSOLE_GETSETCURSORINFO
struct _CONSOLE_OUTPUTCODE CONSOLE_READOUTPUTCODE
struct _CONSOLE_GETSELECTIONINFO * PCONSOLE_GETSELECTIONINFO
struct _CONSOLE_API_MESSAGE CONSOLE_API_MESSAGE
#define CHECK_API_MSG_SIZE(type)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
LPTHREAD_START_ROUTINE PropRoutine
PCONSOLE_START_INFO ConsoleStartInfo
LPTHREAD_START_ROUTINE CtrlRoutine
CONSOLE_GETMOUSEINFO GetMouseInfoRequest
CONSOLE_SETCURSORPOSITION SetCursorPositionRequest
CONSOLE_GETALIASESEXES GetAliasesExesRequest
CONSOLE_OPENCONSOLE OpenConsoleRequest
CONSOLE_SETHISTORYNUMBERCOMMANDS SetHistoryNumberCommandsRequest
CONSOLE_GETCOMMANDHISTORYLENGTH GetCommandHistoryLengthRequest
CONSOLE_SETTEXTATTRIB SetTextAttribRequest
CONSOLE_GETSETHISTORYINFO HistoryInfoRequest
CONSOLE_GETSETHWSTATE HardwareStateRequest
CONSOLE_CLOSEHANDLE CloseHandleRequest
CONSOLE_GETFONTINFO GetFontInfoRequest
CONSOLE_ALLOCCONSOLE AllocConsoleRequest
CONSOLE_READOUTPUT ReadOutputRequest
CONSOLE_SETPALETTE SetPaletteRequest
CONSOLE_SETDISPLAYMODE SetDisplayModeRequest
CONSOLE_REGISTERCONSOLEIME RegisterConsoleIME
CONSOLE_GETALLALIASESLENGTH GetAllAliasesLengthRequest
CONSOLE_ADDGETALIAS ConsoleAliasRequest
CONSOLE_FILLOUTPUTCODE FillOutputRequest
CONSOLE_GETNUMINPUTEVENTS GetNumInputEventsRequest
CONSOLE_GETINPUTOUTPUTCP GetConsoleCPRequest
CONSOLE_MENUCONTROL MenuControlRequest
union _CONSOLE_API_MESSAGE::@3541 Data
CONSOLE_REGISTERVDM RegisterVDMRequest
CONSOLE_GETSETCONSOLEMODE ConsoleModeRequest
CONSOLE_GETSELECTIONINFO GetSelectionInfoRequest
CONSOLE_GETNUMFONTS GetNumFontsRequest
CONSOLE_GETSCREENBUFFERINFO ScreenBufferInfoRequest
CONSOLE_WRITEOUTPUTCODE WriteOutputCodeRequest
CONSOLE_GETLANGID LangIdRequest
CONSOLE_WRITECONSOLE WriteConsoleRequest
CONSOLE_VERIFYHANDLE VerifyHandleRequest
CONSOLE_SETACTIVESCREENBUFFER SetScreenBufferRequest
CONSOLE_GETALIASESEXESLENGTH GetAliasesExesLengthRequest
CONSOLE_WRITEOUTPUT WriteOutputRequest
CONSOLE_SETCURSOR SetCursorRequest
CONSOLE_FLUSHINPUTBUFFER FlushInputBufferRequest
CONSOLE_DUPLICATEHANDLE DuplicateHandleRequest
CONSOLE_GETKBDLAYOUTNAME GetKbdLayoutNameRequest
CONSOLE_GETPROCESSLIST GetProcessListRequest
CONSOLE_GETCOMMANDHISTORY GetCommandHistoryRequest
CONSOLE_READOUTPUTCODE ReadOutputCodeRequest
CONSOLE_SETSCREENBUFFERSIZE SetScreenBufferSizeRequest
CONSOLE_SETMENUCLOSE SetMenuCloseRequest
CONSOLE_FREECONSOLE FreeConsoleRequest
CONSOLE_EXPUNGECOMMANDHISTORY ExpungeCommandHistoryRequest
CONSOLE_GETWINDOW GetWindowRequest
CONSOLE_SETHANDLEINFO SetHandleInfoRequest
CONSOLE_GETSETCONSOLETITLE TitleRequest
CONSOLE_GETCURRENTFONT GetCurrentFontRequest
CONSOLE_NOTIFYLASTCLOSE NotifyLastCloseRequest
CONSOLE_GETALLALIASES GetAllAliasesRequest
CONSOLE_GETDISPLAYMODE GetDisplayModeRequest
CONSOLE_READCONSOLE ReadConsoleRequest
CONSOLE_SCROLLSCREENBUFFER ScrollScreenBufferRequest
CONSOLE_GETFONTSIZE GetFontSizeRequest
CONSOLE_ATTACHCONSOLE AttachConsoleRequest
CONSOLE_CREATESCREENBUFFER CreateScreenBufferRequest
CONSOLE_UNREGISTERCONSOLEIME UnregisterConsoleIME
CONSOLE_GETSETCURSORINFO CursorInfoRequest
PCSR_CAPTURE_BUFFER CsrCaptureData
CONSOLE_GETINPUT GetInputRequest
CONSOLE_SETFONT SetFontRequest
CONSOLE_GETHANDLEINFO GetHandleInfoRequest
CONSOLE_SETWINDOWINFO SetWindowInfoRequest
CONSOLE_INVALIDATEDIBITS InvalidateDIBitsRequest
CONSOLE_GETLARGESTWINDOWSIZE GetLargestWindowSizeRequest
CONSOLE_SHOWCURSOR ShowCursorRequest
CONSOLE_SETINPUTOUTPUTCP SetConsoleCPRequest
CONSOLE_SETHISTORYMODE SetHistoryModeRequest
CONSOLE_SETICON SetIconRequest
CONSOLE_WRITEINPUT WriteInputRequest
CONSOLE_GENERATECTRLEVENT GenerateCtrlEventRequest
LPTHREAD_START_ROUTINE CtrlRoutine
LPTHREAD_START_ROUTINE PropRoutine
PCONSOLE_START_INFO ConsoleStartInfo
CONSOLE_GRAPHICS_BUFFER_INFO GraphicsBufferInfo
ULONG AliasesBufferLength
PCONSOLE_FONT_INFO FontInfo
CHAR LayoutBuffer[KL_NAMELENGTH *sizeof(WCHAR)]
CONSOLE_SELECTION_INFO Info
UINT NumberOfHistoryBuffers
CONSOLE_HANDLE_TYPE HandleType
CHAR CodeStaticBuffer[80]
WCHAR FaceName[LF_FACESIZE]
UINT uNumberOfHistoryBuffers
HANDLE ErrorHardwareEvent
HANDLE StartHardwareEvent
HANDLE InitEvents[MAX_INIT_EVENTS]
BOOLEAN UsingStaticBuffer
WCHAR ConsoleTitle[MAX_PATH+1]
LPTHREAD_START_ROUTINE PropRoutine
LPTHREAD_START_ROUTINE ImeRoutine
CONSOLE_START_INFO ConsoleStartInfo
LPTHREAD_START_ROUTINE CtrlRoutine
DWORD(WINAPI * LPTHREAD_START_ROUTINE)(LPVOID)