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
e0e795cf
Commit
e0e795cf
authored
May 27, 2019
by
Piotr Caban
Committed by
Alexandre Julliard
May 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add IoDetachDevice implementation.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7dc42119
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+4
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
wdm.h
include/ddk/wdm.h
+1
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
e0e795cf
...
...
@@ -1222,6 +1222,10 @@ void WINAPI IoQueueWorkItem( PIO_WORKITEM work_item, PIO_WORKITEM_ROUTINE worker
TrySubmitThreadpoolCallback
(
run_work_item_worker
,
work_item
,
NULL
);
}
void
WINAPI
IoDetachDevice
(
DEVICE_OBJECT
*
device
)
{
device
->
AttachedDevice
=
NULL
;
}
/***********************************************************************
* IoAttachDeviceToDeviceStack (NTOSKRNL.EXE.@)
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
e0e795cf
...
...
@@ -369,7 +369,7 @@
@ stdcall IoDeleteDevice(ptr)
@ stdcall IoDeleteDriver(ptr)
@ stdcall IoDeleteSymbolicLink(ptr)
@ st
ub IoDetachDevice
@ st
dcall IoDetachDevice(ptr)
@ stub IoDeviceHandlerObjectSize
@ stub IoDeviceHandlerObjectType
@ extern IoDeviceObjectType
...
...
include/ddk/wdm.h
View file @
e0e795cf
...
...
@@ -1561,6 +1561,7 @@ PVOID WINAPI IoAllocateErrorLogEntry(PVOID,UCHAR);
PIRP
WINAPI
IoAllocateIrp
(
CCHAR
,
BOOLEAN
);
PMDL
WINAPI
IoAllocateMdl
(
PVOID
,
ULONG
,
BOOLEAN
,
BOOLEAN
,
IRP
*
);
PIO_WORKITEM
WINAPI
IoAllocateWorkItem
(
PDEVICE_OBJECT
);
void
WINAPI
IoDetachDevice
(
PDEVICE_OBJECT
);
PDEVICE_OBJECT
WINAPI
IoAttachDeviceToDeviceStack
(
PDEVICE_OBJECT
,
PDEVICE_OBJECT
);
PIRP
WINAPI
IoBuildAsynchronousFsdRequest
(
ULONG
,
DEVICE_OBJECT
*
,
void
*
,
ULONG
,
LARGE_INTEGER
*
,
IO_STATUS_BLOCK
*
);
PIRP
WINAPI
IoBuildDeviceIoControlRequest
(
ULONG
,
DEVICE_OBJECT
*
,
PVOID
,
ULONG
,
PVOID
,
ULONG
,
BOOLEAN
,
PKEVENT
,
IO_STATUS_BLOCK
*
);
...
...
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