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
70609b4d
Commit
70609b4d
authored
Mar 30, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
Mar 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput/tests: Add some HidD_GetPhysicalDescriptor tests.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3ec8c645
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
driver_bus.c
dlls/dinput/tests/driver_bus.c
+5
-0
hid.c
dlls/dinput/tests/hid.c
+5
-0
No files found.
dlls/dinput/tests/driver_bus.c
View file @
70609b4d
...
...
@@ -1156,6 +1156,11 @@ static NTSTATUS WINAPI pdo_internal_ioctl( DEVICE_OBJECT *device, IRP *irp )
status
=
STATUS_SUCCESS
;
break
;
case
IOCTL_GET_PHYSICAL_DESCRIPTOR
:
irp
->
IoStatus
.
Information
=
0
;
status
=
STATUS_NOT_SUPPORTED
;
break
;
default:
ok
(
0
,
"unexpected call
\n
"
);
status
=
irp
->
IoStatus
.
Status
;
...
...
dlls/dinput/tests/hid.c
View file @
70609b4d
...
...
@@ -1545,6 +1545,11 @@ static void test_hidp( HANDLE file, HANDLE async_file, int report_id, BOOL polle
USHORT
count
;
BOOL
ret
;
SetLastError
(
0xdeadbeef
);
ret
=
HidD_GetPhysicalDescriptor
(
file
,
buffer
,
sizeof
(
buffer
)
);
ok
(
!
ret
,
"HidD_GetPhysicalDescriptor succeeded
\n
"
);
ok
(
GetLastError
()
==
ERROR_NOT_SUPPORTED
,
"got error %lu
\n
"
,
GetLastError
()
);
ret
=
HidD_GetPreparsedData
(
file
,
&
preparsed_data
);
ok
(
ret
,
"HidD_GetPreparsedData failed with error %lu
\n
"
,
GetLastError
()
);
...
...
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