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
ab3b9bd8
Commit
ab3b9bd8
authored
Aug 12, 2016
by
Aric Stewart
Committed by
Alexandre Julliard
Aug 17, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hidclass.sys: Call IoAttachDeviceToDeviceStack when creating HID device.
Signed-off-by:
Aric Stewart
<
aric@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f2392af8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
device.c
dlls/hidclass.sys/device.c
+2
-0
wdm.h
include/ddk/wdm.h
+1
-0
No files found.
dlls/hidclass.sys/device.c
View file @
ab3b9bd8
...
...
@@ -75,6 +75,8 @@ NTSTATUS HID_CreateDevice(DEVICE_OBJECT *native_device, HID_MINIDRIVER_REGISTRAT
lstrcpyW
(
ext
->
device_name
,
dev_name
);
ext
->
link_name
=
NULL
;
IoAttachDeviceToDeviceStack
(
*
device
,
native_device
);
return
S_OK
;
}
...
...
include/ddk/wdm.h
View file @
ab3b9bd8
...
...
@@ -1213,6 +1213,7 @@ NTSTATUS WINAPI IoAllocateDriverObjectExtension(PDRIVER_OBJECT,PVOID,ULONG,PVOI
PVOID
WINAPI
IoAllocateErrorLogEntry
(
PVOID
,
UCHAR
);
PIRP
WINAPI
IoAllocateIrp
(
CCHAR
,
BOOLEAN
);
PMDL
WINAPI
IoAllocateMdl
(
PVOID
,
ULONG
,
BOOLEAN
,
BOOLEAN
,
IRP
*
);
PDEVICE_OBJECT
WINAPI
IoAttachDeviceToDeviceStack
(
PDEVICE_OBJECT
,
PDEVICE_OBJECT
);
PIRP
WINAPI
IoBuildDeviceIoControlRequest
(
ULONG
,
DEVICE_OBJECT
*
,
PVOID
,
ULONG
,
PVOID
,
ULONG
,
BOOLEAN
,
PKEVENT
,
IO_STATUS_BLOCK
*
);
PIRP
WINAPI
IoBuildSynchronousFsdRequest
(
ULONG
,
DEVICE_OBJECT
*
,
PVOID
,
ULONG
,
PLARGE_INTEGER
,
PKEVENT
,
IO_STATUS_BLOCK
*
);
NTSTATUS
WINAPI
IoCallDriver
(
DEVICE_OBJECT
*
,
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