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
699da40d
Commit
699da40d
authored
Nov 26, 2011
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Nov 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Add more error checking to IDirectInput_GetDeviceStatus.
parent
310859db
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
4 deletions
+1
-4
dinput_main.c
dlls/dinput/dinput_main.c
+1
-0
dinput.c
dlls/dinput/tests/dinput.c
+0
-2
dinput.c
dlls/dinput8/tests/dinput.c
+0
-2
No files found.
dlls/dinput/dinput_main.c
View file @
699da40d
...
...
@@ -614,6 +614,7 @@ static HRESULT WINAPI IDirectInputAImpl_GetDeviceStatus(LPDIRECTINPUT7A iface, R
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_guid
(
rguid
)
);
if
(
!
rguid
)
return
E_POINTER
;
if
(
!
This
->
initialized
)
return
DIERR_NOTINITIALIZED
;
...
...
dlls/dinput/tests/dinput.c
View file @
699da40d
...
...
@@ -132,7 +132,6 @@ static void test_preinitialization(void)
}
hr
=
IDirectInput_GetDeviceStatus
(
pDI
,
NULL
);
todo_wine
ok
(
hr
==
E_POINTER
,
"IDirectInput_GetDeviceStatus returned 0x%08x
\n
"
,
hr
);
hr
=
IDirectInput_GetDeviceStatus
(
pDI
,
&
GUID_Unknown
);
...
...
@@ -475,7 +474,6 @@ static void test_GetDeviceStatus(void)
}
hr
=
IDirectInput_GetDeviceStatus
(
pDI
,
NULL
);
todo_wine
ok
(
hr
==
E_POINTER
,
"IDirectInput_GetDeviceStatus returned 0x%08x
\n
"
,
hr
);
hr
=
IDirectInput_GetDeviceStatus
(
pDI
,
&
GUID_Unknown
);
...
...
dlls/dinput8/tests/dinput.c
View file @
699da40d
...
...
@@ -109,7 +109,6 @@ static void test_preinitialization(void)
}
hr
=
IDirectInput8_GetDeviceStatus
(
pDI
,
NULL
);
todo_wine
ok
(
hr
==
E_POINTER
,
"IDirectInput8_GetDeviceStatus returned 0x%08x
\n
"
,
hr
);
hr
=
IDirectInput8_GetDeviceStatus
(
pDI
,
&
GUID_Unknown
);
...
...
@@ -599,7 +598,6 @@ static void test_GetDeviceStatus(void)
}
hr
=
IDirectInput8_GetDeviceStatus
(
pDI
,
NULL
);
todo_wine
ok
(
hr
==
E_POINTER
,
"IDirectInput8_GetDeviceStatus returned 0x%08x
\n
"
,
hr
);
hr
=
IDirectInput8_GetDeviceStatus
(
pDI
,
&
GUID_Unknown
);
...
...
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