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

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

v2: use same helper function as get_device_id
    Suggestions from Sebastian Lackner

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

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

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

More information about the wine-patches mailing list