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
ecf6a16b
Commit
ecf6a16b
authored
Aug 03, 2021
by
Rémi Bernon
Committed by
Alexandre Julliard
Aug 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hidclass.sys: Return irp->IoStatus.Information from minidriver.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
00008c9d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
device.c
dlls/hidclass.sys/device.c
+0
-5
ntoskrnl.c
dlls/ntoskrnl.exe/tests/ntoskrnl.c
+1
-1
No files found.
dlls/hidclass.sys/device.c
View file @
ecf6a16b
...
...
@@ -526,12 +526,7 @@ NTSTATUS WINAPI pdo_ioctl(DEVICE_OBJECT *device, IRP *irp)
sizeof
(
*
packet
),
&
irp
->
IoStatus
);
if
(
irp
->
IoStatus
.
Status
==
STATUS_SUCCESS
)
{
irp
->
IoStatus
.
Status
=
copy_packet_into_buffer
(
packet
,
buffer
,
buffer_len
,
&
out_length
);
irp
->
IoStatus
.
Information
=
out_length
;
}
else
irp
->
IoStatus
.
Information
=
0
;
free
(
packet
);
break
;
}
...
...
dlls/ntoskrnl.exe/tests/ntoskrnl.c
View file @
ecf6a16b
...
...
@@ -2475,7 +2475,7 @@ static void test_hidp(HANDLE file, HANDLE async_file, int report_id, BOOL polled
value
=
caps
.
InputReportByteLength
*
2
;
ret
=
sync_ioctl
(
file
,
IOCTL_HID_GET_INPUT_REPORT
,
NULL
,
0
,
report
,
&
value
);
ok
(
ret
,
"IOCTL_HID_GET_INPUT_REPORT failed, last error %u
\n
"
,
GetLastError
());
todo_wine
ok
(
value
==
3
,
"got length %u, expected 3
\n
"
,
value
);
ok
(
value
==
3
,
"got length %u, expected 3
\n
"
,
value
);
ok
(
report
[
0
]
==
report_id
,
"got report[0] %02x, expected %02x
\n
"
,
report
[
0
],
report_id
);
...
...
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