[PATCH 3/4] ntoskrnl.exe: Send PnP and Power IRPs to plug and play devices

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


The drivers AddDevice function will be well behaved and call
IoAttachDeviceToDeviceStack. The Plug and Play manager will look at
the bus device after AddDevice and if there is an AttachedDevice then
will proceed to call IRP_MN_START_DEVICE on the attached device. Then
a IRP_MJ_POWER/IRP_MN_SET_POWER to PowerDeviceD0.

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-ntoskrnl.exe-Send-PnP-and-Power-IRPs-to-plug-and-play-.txt
Type: text/x-patch
Size: 2523 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20160829/5cbf0552/attachment.bin>


More information about the wine-patches mailing list