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
1d2ea5fb
Commit
1d2ea5fb
authored
Jan 03, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
Nov 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hidclass.sys: Add more trace messages.
parent
644143d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
device.c
dlls/hidclass.sys/device.c
+2
-0
pnp.c
dlls/hidclass.sys/pnp.c
+4
-0
No files found.
dlls/hidclass.sys/device.c
View file @
1d2ea5fb
...
...
@@ -229,6 +229,8 @@ static void hid_device_queue_input( DEVICE_OBJECT *device, HID_XFER_PACKET *pack
KIRQL
irql
;
IRP
*
irp
;
TRACE
(
"device %p, packet %p
\n
"
,
device
,
packet
);
if
(
IsEqualGUID
(
ext
->
class_guid
,
&
GUID_DEVINTERFACE_HID
))
{
size
=
offsetof
(
RAWINPUT
,
data
.
hid
.
bRawData
[
report_len
]
);
...
...
dlls/hidclass.sys/pnp.c
View file @
1d2ea5fb
...
...
@@ -117,6 +117,8 @@ static void send_wm_input_device_change(BASE_DEVICE_EXTENSION *ext, LPARAM param
RAWINPUT
rawinput
;
INPUT
input
;
TRACE
(
"ext %p, lparam %p
\n
"
,
ext
,
(
void
*
)
param
);
if
(
!
IsEqualGUID
(
ext
->
class_guid
,
&
GUID_DEVINTERFACE_HID
))
return
;
rawinput
.
header
.
dwType
=
RIM_TYPEHID
;
...
...
@@ -298,6 +300,8 @@ static void create_child(minidriver *minidriver, DEVICE_OBJECT *fdo)
HID_StartDeviceThread
(
child_pdo
);
send_wm_input_device_change
(
pdo_ext
,
GIDC_ARRIVAL
);
TRACE
(
"created device %p, rawinput handle %#x
\n
"
,
pdo_ext
,
pdo_ext
->
u
.
pdo
.
rawinput_handle
);
}
static
NTSTATUS
fdo_pnp
(
DEVICE_OBJECT
*
device
,
IRP
*
irp
)
...
...
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