[PATCH v3 03/20] ntoskrnl.exe: Implement loading plug and play devices
Aric Stewart
aric at codeweavers.com
Fri Sep 2 07:16:01 CDT 2016
v2: No longer maintaning a device store
Suggestions from Sebastian Lackner
v3: moved to ntoskrnl.c
Further refinements from Sebastian Lackner
We are not handling installing drivers just yet, so we just make use
of the critical device store. These are drivers that, on Windows, are
automatically loaded on boot every time. This database is maintained
in [CurrentControlSet/Control/CriticalDeviceDatabase] The keys in this
registry key represent a HardwareID that match a device. We query the
IDs from the bus device’s BusQueryHardwareIDs and if we find a match
(from most specific to most general) we look at that registry key. The
CriticalDeviceDatabase entry specify a [Service] value representing
the driver.
Signed-off-by: Aric Stewart <aric at codeweavers.com>
---
dlls/ntoskrnl.exe/ntoskrnl.c | 183 ++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 182 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-0003-ntoskrnl.exe-Implement-loading-plug-and-play-device.txt
Type: text/x-patch
Size: 7009 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20160902/10fa4694/attachment.bin>
More information about the wine-patches
mailing list