Commit 7e1957f0 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

include: Add pseudoconsole declarations.

parent 3b35b468
......@@ -35,6 +35,8 @@
#define ENABLE_PROCESSED_OUTPUT 0x01
#define ENABLE_WRAP_AT_EOL_OUTPUT 0x02
#define PSEUDOCONSOLE_INHERIT_CURSOR 0x01
/* handler routine control signal type */
#define CTRL_C_EVENT 0
#define CTRL_BREAK_EVENT 1
......@@ -58,6 +60,8 @@ extern "C" {
WINBASEAPI BOOL WINAPI AllocConsole(void);
WINBASEAPI BOOL WINAPI AttachConsole(DWORD);
WINBASEAPI void WINAPI ClosePseudoConsole(HPCON);
WINBASEAPI HRESULT WINAPI CreatePseudoConsole(COORD,HANDLE,HANDLE,DWORD,HPCON *);
WINBASEAPI BOOL WINAPI FreeConsole(void);
WINBASEAPI UINT WINAPI GetConsoleCP(void);
WINBASEAPI BOOL WINAPI GetConsoleMode( HANDLE,DWORD *);
......@@ -72,6 +76,7 @@ WINBASEAPI BOOL WINAPI ReadConsoleW(HANDLE,void *,DWORD,DWORD *,void *);
WINBASEAPI BOOL WINAPI ReadConsoleInputA(HANDLE,PINPUT_RECORD,DWORD,DWORD *);
WINBASEAPI BOOL WINAPI ReadConsoleInputW(HANDLE,PINPUT_RECORD,DWORD,DWORD *);
#define ReadConsoleInput WINELIB_NAME_AW(ReadConsoleInput)
WINBASEAPI HRESULT WINAPI ResizePseudoConsole(HPCON,COORD);
WINBASEAPI BOOL WINAPI SetConsoleCtrlHandler( PHANDLER_ROUTINE,BOOL);
WINBASEAPI BOOL WINAPI SetConsoleMode( HANDLE,DWORD);
WINBASEAPI BOOL WINAPI WriteConsoleA(HANDLE,const void *,DWORD,DWORD *,void *);
......
......@@ -130,4 +130,6 @@ typedef struct _CONSOLE_FONT_INFO
COORD dwFontSize;
} CONSOLE_FONT_INFO,*LPCONSOLE_FONT_INFO;
typedef void *HPCON;
#endif /* _WINCONTYPES_ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment