Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
ab92cfe0
Commit
ab92cfe0
authored
May 05, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced LPINPUT_RECORD by PINPUT_RECORD.
parent
26fe914d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
console.c
dlls/kernel/console.c
+5
-5
wincon.h
include/wincon.h
+5
-5
No files found.
dlls/kernel/console.c
View file @
ab92cfe0
...
...
@@ -782,7 +782,7 @@ BOOL WINAPI ReadConsoleOutputW( HANDLE hConsoleOutput, LPCHAR_INFO lpBuffer, COO
* Success: TRUE
* Failure: FALSE
*/
BOOL
WINAPI
ReadConsoleInputA
(
HANDLE
handle
,
L
PINPUT_RECORD
buffer
,
DWORD
count
,
LPDWORD
pRead
)
BOOL
WINAPI
ReadConsoleInputA
(
HANDLE
handle
,
PINPUT_RECORD
buffer
,
DWORD
count
,
LPDWORD
pRead
)
{
DWORD
read
;
...
...
@@ -798,7 +798,7 @@ BOOL WINAPI ReadConsoleInputA( HANDLE handle, LPINPUT_RECORD buffer, DWORD count
*
* Gets 'count' first events (or less) from input queue.
*/
BOOL
WINAPI
PeekConsoleInputA
(
HANDLE
handle
,
L
PINPUT_RECORD
buffer
,
DWORD
count
,
LPDWORD
pRead
)
BOOL
WINAPI
PeekConsoleInputA
(
HANDLE
handle
,
PINPUT_RECORD
buffer
,
DWORD
count
,
LPDWORD
pRead
)
{
DWORD
read
;
...
...
@@ -812,7 +812,7 @@ BOOL WINAPI PeekConsoleInputA( HANDLE handle, LPINPUT_RECORD buffer, DWORD count
/***********************************************************************
* PeekConsoleInputW (KERNEL32.@)
*/
BOOL
WINAPI
PeekConsoleInputW
(
HANDLE
handle
,
L
PINPUT_RECORD
buffer
,
DWORD
count
,
LPDWORD
read
)
BOOL
WINAPI
PeekConsoleInputW
(
HANDLE
handle
,
PINPUT_RECORD
buffer
,
DWORD
count
,
LPDWORD
read
)
{
BOOL
ret
;
SERVER_START_REQ
(
read_console_input
)
...
...
@@ -859,7 +859,7 @@ BOOL WINAPI GetNumberOfConsoleInputEvents( HANDLE handle, LPDWORD nrofevents )
* 0 for error, 1 for no INPUT_RECORD ready, 2 with INPUT_RECORD ready
*/
enum
read_console_input_return
{
rci_error
=
0
,
rci_timeout
=
1
,
rci_gotone
=
2
};
static
enum
read_console_input_return
read_console_input
(
HANDLE
handle
,
L
PINPUT_RECORD
ir
,
DWORD
timeout
)
static
enum
read_console_input_return
read_console_input
(
HANDLE
handle
,
PINPUT_RECORD
ir
,
DWORD
timeout
)
{
enum
read_console_input_return
ret
;
...
...
@@ -1257,7 +1257,7 @@ BOOL WINAPI ReadConsoleW(HANDLE hConsoleInput, LPVOID lpBuffer,
/***********************************************************************
* ReadConsoleInputW (KERNEL32.@)
*/
BOOL
WINAPI
ReadConsoleInputW
(
HANDLE
hConsoleInput
,
L
PINPUT_RECORD
lpBuffer
,
BOOL
WINAPI
ReadConsoleInputW
(
HANDLE
hConsoleInput
,
PINPUT_RECORD
lpBuffer
,
DWORD
nLength
,
LPDWORD
lpNumberOfEventsRead
)
{
DWORD
idx
=
0
;
...
...
include/wincon.h
View file @
ab92cfe0
...
...
@@ -160,7 +160,7 @@ typedef struct tagINPUT_RECORD
MENU_EVENT_RECORD
MenuEvent
;
FOCUS_EVENT_RECORD
FocusEvent
;
}
Event
;
}
INPUT_RECORD
,
*
L
PINPUT_RECORD
;
}
INPUT_RECORD
,
*
PINPUT_RECORD
;
/* INPUT_RECORD.wEventType */
#define KEY_EVENT 0x01
...
...
@@ -214,17 +214,17 @@ DWORD WINAPI GetConsoleTitleW(LPWSTR title, DWORD size);
#define GetConsoleTitle WINELIB_NAME_AW(GetConsoleTitle)
BOOL
WINAPI
GetNumberOfConsoleInputEvents
(
HANDLE
hcon
,
LPDWORD
nrofevents
);
BOOL
WINAPI
GetNumberOfConsoleMouseButtons
(
LPDWORD
nrofbuttons
);
BOOL
WINAPI
PeekConsoleInputA
(
HANDLE
handle
,
L
PINPUT_RECORD
buffer
,
DWORD
count
,
LPDWORD
read
);
BOOL
WINAPI
PeekConsoleInputW
(
HANDLE
handle
,
L
PINPUT_RECORD
buffer
,
DWORD
count
,
LPDWORD
read
);
BOOL
WINAPI
PeekConsoleInputA
(
HANDLE
handle
,
PINPUT_RECORD
buffer
,
DWORD
count
,
LPDWORD
read
);
BOOL
WINAPI
PeekConsoleInputW
(
HANDLE
handle
,
PINPUT_RECORD
buffer
,
DWORD
count
,
LPDWORD
read
);
#define PeekConsoleInput WINELIB_NAME_AW(PeekConsoleInput)
BOOL
WINAPI
ReadConsoleA
(
HANDLE
hConsoleInput
,
LPVOID
lpBuffer
,
DWORD
nNumberOfCharsToRead
,
LPDWORD
lpNumberOfCharsRead
,
LPVOID
lpReserved
);
BOOL
WINAPI
ReadConsoleW
(
HANDLE
hConsoleInput
,
LPVOID
lpBuffer
,
DWORD
nNumberOfCharsToRead
,
LPDWORD
lpNumberOfCharsRead
,
LPVOID
lpReserved
);
#define ReadConsole WINELIB_NAME_AW(ReadConsole)
BOOL
WINAPI
ReadConsoleInputA
(
HANDLE
hConsoleInput
,
L
PINPUT_RECORD
lpBuffer
,
DWORD
nLength
,
BOOL
WINAPI
ReadConsoleInputA
(
HANDLE
hConsoleInput
,
PINPUT_RECORD
lpBuffer
,
DWORD
nLength
,
LPDWORD
lpNumberOfEventsRead
);
BOOL
WINAPI
ReadConsoleInputW
(
HANDLE
hConsoleInput
,
L
PINPUT_RECORD
lpBuffer
,
DWORD
nLength
,
BOOL
WINAPI
ReadConsoleInputW
(
HANDLE
hConsoleInput
,
PINPUT_RECORD
lpBuffer
,
DWORD
nLength
,
LPDWORD
lpNumberOfEventsRead
);
#define ReadConsoleInput WINELIB_NAME_AW(ReadConsoleInput)
BOOL
WINAPI
ReadConsoleOutputA
(
HANDLE
hConsoleOutput
,
LPCHAR_INFO
lpBuffer
,
COORD
dwBufferSize
,
...
...
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