Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
7e1957f0
Commit
7e1957f0
authored
Aug 10, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add pseudoconsole declarations.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3b35b468
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
consoleapi.h
include/consoleapi.h
+5
-0
wincontypes.h
include/wincontypes.h
+2
-0
No files found.
include/consoleapi.h
View file @
7e1957f0
...
@@ -35,6 +35,8 @@
...
@@ -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" {
...
@@ -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 *);
...
@@ -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
*
);
...
...
include/wincontypes.h
View file @
7e1957f0
...
@@ -130,4 +130,6 @@ typedef struct _CONSOLE_FONT_INFO
...
@@ -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_ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment