[PATCH v2 4/4] ntoskrnl.exe: Implement removing plug and play devices

Aric Stewart aric at codeweavers.com
Wed Aug 31 11:38:45 CDT 2016

v2: Suggestions from Sebastian Lackner

Device removal is more simplistic. When the bus driver detects that a device has
been removed then we again make a IoInvalidateDeviceRelations.  Then the
plug and play manager sends a IRP_MN_SURPRISE_REMOVAL followed by a
IRP_MN_REMOVE_DEVICE ioctl to the AttachedDevice.

Signed-off-by: Aric Stewart <aric at codeweavers.com>
 dlls/ntoskrnl.exe/pnp_manager.c | 9 +++++++++
 1 file changed, 9 insertions(+)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0004-ntoskrnl.exe-Implement-removing-plug-and-play-devic.txt
Type: text/x-patch
Size: 903 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20160831/1f371f18/attachment.bin>

More information about the wine-patches mailing list