[PATCH 3/4] ntoskrnl.exe: Send PnP and Power IRPs to plug and play devices
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...
Size: 2523 bytes
Desc: not available
More information about the wine-patches