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
b22ff801
Commit
b22ff801
authored
Dec 27, 2006
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Dec 28, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Remove MsgWaitForMultipleObjects calls.
parent
cb42253f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
keyboard.c
dlls/dinput/keyboard.c
+1
-5
No files found.
dlls/dinput/keyboard.c
View file @
b22ff801
...
@@ -284,8 +284,6 @@ static HRESULT WINAPI SysKeyboardAImpl_GetDeviceState(
...
@@ -284,8 +284,6 @@ static HRESULT WINAPI SysKeyboardAImpl_GetDeviceState(
if
(
len
!=
WINE_DINPUT_KEYBOARD_MAX_KEYS
)
if
(
len
!=
WINE_DINPUT_KEYBOARD_MAX_KEYS
)
return
DIERR_INVALIDPARAM
;
return
DIERR_INVALIDPARAM
;
MsgWaitForMultipleObjectsEx
(
0
,
NULL
,
0
,
QS_ALLINPUT
,
0
);
EnterCriticalSection
(
&
This
->
base
.
crit
);
EnterCriticalSection
(
&
This
->
base
.
crit
);
if
(
TRACE_ON
(
dinput
))
{
if
(
TRACE_ON
(
dinput
))
{
...
@@ -548,9 +546,7 @@ static HRESULT WINAPI SysKeyboardAImpl_Poll(LPDIRECTINPUTDEVICE8A iface)
...
@@ -548,9 +546,7 @@ static HRESULT WINAPI SysKeyboardAImpl_Poll(LPDIRECTINPUTDEVICE8A iface)
TRACE
(
"(%p)
\n
"
,
This
);
TRACE
(
"(%p)
\n
"
,
This
);
if
(
!
This
->
base
.
acquired
)
return
DIERR_NOTACQUIRED
;
if
(
!
This
->
base
.
acquired
)
return
DIERR_NOTACQUIRED
;
return
DI_NOEFFECT
;
MsgWaitForMultipleObjectsEx
(
0
,
NULL
,
0
,
QS_ALLINPUT
,
0
);
return
DI_OK
;
}
}
static
const
IDirectInputDevice8AVtbl
SysKeyboardAvt
=
static
const
IDirectInputDevice8AVtbl
SysKeyboardAvt
=
...
...
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