Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Yoann Laissus
wine
Commits
f11de4fc
Commit
f11de4fc
authored
23 years ago
by
Peter Hunnisett
Committed by
Alexandre Julliard
23 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix return type of GetAsyncKeyState.
parent
d10c9a47
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/wine/winuser16.h
+1
-1
1 addition, 1 deletion
include/wine/winuser16.h
include/winuser.h
+1
-1
1 addition, 1 deletion
include/winuser.h
windows/input.c
+4
-4
4 additions, 4 deletions
windows/input.c
with
6 additions
and
6 deletions
include/wine/winuser16.h
+
1
−
1
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
);
...
...
This diff is collapsed.
Click to expand it.
include/winuser.h
+
1
−
1
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
);
...
...
This diff is collapsed.
Click to expand it.
windows/input.c
+
4
−
4
View file @
f11de4fc
...
...
@@ -596,10 +596,10 @@ HWND WINAPI GetCapture(void)
* mouse or key had been depressed since the last call to
* GetAsyncKeyState.
*/
W
OR
D
WINAPI
GetAsyncKeyState
(
INT
nKey
)
SH
OR
T
WINAPI
GetAsyncKeyState
(
INT
nKey
)
{
W
OR
D
retval
=
((
AsyncKeyStateTable
[
nKey
]
&
0x80
)
?
0x0001
:
0
)
|
((
InputKeyStateTable
[
nKey
]
&
0x80
)
?
0x8000
:
0
);
SH
OR
T
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
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment