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
f11de4fc
Commit
f11de4fc
authored
Feb 22, 2002
by
Peter Hunnisett
Committed by
Alexandre Julliard
Feb 22, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix return type of GetAsyncKeyState.
parent
d10c9a47
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
winuser16.h
include/wine/winuser16.h
+1
-1
winuser.h
include/winuser.h
+1
-1
input.c
windows/input.c
+4
-4
No files found.
include/wine/winuser16.h
View file @
f11de4fc
...
...
@@ -704,7 +704,7 @@ BOOL16 WINAPI FlashWindow16(HWND16,BOOL16);
DWORD
WINAPI
FormatMessage16
(
DWORD
,
SEGPTR
,
WORD
,
WORD
,
LPSTR
,
WORD
,
LPDWORD
);
INT16
WINAPI
FrameRect16
(
HDC16
,
const
RECT16
*
,
HBRUSH16
);
HWND16
WINAPI
GetActiveWindow16
(
void
);
WORD
WINAPI
GetAsyncKeyState16
(
INT16
);
INT16
WINAPI
GetAsyncKeyState16
(
INT16
);
HWND16
WINAPI
GetCapture16
(
void
);
UINT16
WINAPI
GetCaretBlinkTime16
(
void
);
VOID
WINAPI
GetCaretPos16
(
LPPOINT16
);
...
...
include/winuser.h
View file @
f11de4fc
...
...
@@ -3822,7 +3822,7 @@ INT WINAPI FrameRect(HDC,const RECT*,HBRUSH);
HWND
WINAPI
GetActiveWindow
(
void
);
HWND
WINAPI
GetAncestor
(
HWND
,
UINT
);
DWORD
WINAPI
GetAppCompatFlags
(
HTASK
);
WORD
WINAPI
GetAsyncKeyState
(
INT
);
SHORT
WINAPI
GetAsyncKeyState
(
INT
);
HWND
WINAPI
GetCapture
(
void
);
UINT
WINAPI
GetCaretBlinkTime
(
void
);
BOOL
WINAPI
GetCaretPos
(
LPPOINT
);
...
...
windows/input.c
View file @
f11de4fc
...
...
@@ -596,10 +596,10 @@ HWND WINAPI GetCapture(void)
* mouse or key had been depressed since the last call to
* GetAsyncKeyState.
*/
WORD
WINAPI
GetAsyncKeyState
(
INT
nKey
)
SHORT
WINAPI
GetAsyncKeyState
(
INT
nKey
)
{
WORD
retval
=
((
AsyncKeyStateTable
[
nKey
]
&
0x80
)
?
0x0001
:
0
)
|
((
InputKeyStateTable
[
nKey
]
&
0x80
)
?
0x8000
:
0
);
SHORT
retval
=
((
AsyncKeyStateTable
[
nKey
]
&
0x80
)
?
0x0001
:
0
)
|
((
InputKeyStateTable
[
nKey
]
&
0x80
)
?
0x8000
:
0
);
AsyncKeyStateTable
[
nKey
]
=
0
;
TRACE_
(
key
)(
"(%x) -> %x
\n
"
,
nKey
,
retval
);
return
retval
;
...
...
@@ -608,7 +608,7 @@ WORD WINAPI GetAsyncKeyState(INT nKey)
/**********************************************************************
* GetAsyncKeyState (USER.249)
*/
WORD
WINAPI
GetAsyncKeyState16
(
INT16
nKey
)
INT16
WINAPI
GetAsyncKeyState16
(
INT16
nKey
)
{
return
GetAsyncKeyState
(
nKey
);
}
...
...
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