include: Add pseudoconsole declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3b35b468b7
commit
7e1957f097
|
@ -35,6 +35,8 @@
|
||||||
#define ENABLE_PROCESSED_OUTPUT 0x01
|
#define ENABLE_PROCESSED_OUTPUT 0x01
|
||||||
#define ENABLE_WRAP_AT_EOL_OUTPUT 0x02
|
#define ENABLE_WRAP_AT_EOL_OUTPUT 0x02
|
||||||
|
|
||||||
|
#define PSEUDOCONSOLE_INHERIT_CURSOR 0x01
|
||||||
|
|
||||||
/* handler routine control signal type */
|
/* handler routine control signal type */
|
||||||
#define CTRL_C_EVENT 0
|
#define CTRL_C_EVENT 0
|
||||||
#define CTRL_BREAK_EVENT 1
|
#define CTRL_BREAK_EVENT 1
|
||||||
|
@ -58,6 +60,8 @@ extern "C" {
|
||||||
|
|
||||||
WINBASEAPI BOOL WINAPI AllocConsole(void);
|
WINBASEAPI BOOL WINAPI AllocConsole(void);
|
||||||
WINBASEAPI BOOL WINAPI AttachConsole(DWORD);
|
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 BOOL WINAPI FreeConsole(void);
|
||||||
WINBASEAPI UINT WINAPI GetConsoleCP(void);
|
WINBASEAPI UINT WINAPI GetConsoleCP(void);
|
||||||
WINBASEAPI BOOL WINAPI GetConsoleMode( HANDLE,DWORD *);
|
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 ReadConsoleInputA(HANDLE,PINPUT_RECORD,DWORD,DWORD *);
|
||||||
WINBASEAPI BOOL WINAPI ReadConsoleInputW(HANDLE,PINPUT_RECORD,DWORD,DWORD *);
|
WINBASEAPI BOOL WINAPI ReadConsoleInputW(HANDLE,PINPUT_RECORD,DWORD,DWORD *);
|
||||||
#define ReadConsoleInput WINELIB_NAME_AW(ReadConsoleInput)
|
#define ReadConsoleInput WINELIB_NAME_AW(ReadConsoleInput)
|
||||||
|
WINBASEAPI HRESULT WINAPI ResizePseudoConsole(HPCON,COORD);
|
||||||
WINBASEAPI BOOL WINAPI SetConsoleCtrlHandler( PHANDLER_ROUTINE,BOOL);
|
WINBASEAPI BOOL WINAPI SetConsoleCtrlHandler( PHANDLER_ROUTINE,BOOL);
|
||||||
WINBASEAPI BOOL WINAPI SetConsoleMode( HANDLE,DWORD);
|
WINBASEAPI BOOL WINAPI SetConsoleMode( HANDLE,DWORD);
|
||||||
WINBASEAPI BOOL WINAPI WriteConsoleA(HANDLE,const void *,DWORD,DWORD *,void *);
|
WINBASEAPI BOOL WINAPI WriteConsoleA(HANDLE,const void *,DWORD,DWORD *,void *);
|
||||||
|
|
|
@ -130,4 +130,6 @@ typedef struct _CONSOLE_FONT_INFO
|
||||||
COORD dwFontSize;
|
COORD dwFontSize;
|
||||||
} CONSOLE_FONT_INFO,*LPCONSOLE_FONT_INFO;
|
} CONSOLE_FONT_INFO,*LPCONSOLE_FONT_INFO;
|
||||||
|
|
||||||
|
typedef void *HPCON;
|
||||||
|
|
||||||
#endif /* _WINCONTYPES_ */
|
#endif /* _WINCONTYPES_ */
|
||||||
|
|
Loading…
Reference in New Issue