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

Aric Stewart aric at codeweavers.com
Mon Aug 29 13:49:45 CDT 2016


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: 0004-ntoskrnl.exe-Implement-removing-plug-and-play-devices.txt
Type: text/x-patch
Size: 894 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20160829/a8bee9d9/attachment-0001.bin>


More information about the wine-patches mailing list