mirror of
https://github.com/reactos/reactos.git
synced 2025-05-13 06:18:17 +00:00
- Rewrite RtlQueryRegistryValues and implement all the features it requires. This is one of the most important kernel-mode API for driver support.
- Fix code in the kernel which was incorrectly calling it. svn path=/trunk/; revision=26072
This commit is contained in:
parent
1fbd004ffe
commit
cd1198b3d6
2 changed files with 710 additions and 475 deletions
File diff suppressed because it is too large
Load diff
|
@ -542,7 +542,7 @@ IopAttachFilterDrivers(
|
|||
PDEVICE_NODE DeviceNode,
|
||||
BOOLEAN Lower)
|
||||
{
|
||||
RTL_QUERY_REGISTRY_TABLE QueryTable[2];
|
||||
RTL_QUERY_REGISTRY_TABLE QueryTable[2] = {{0}};
|
||||
PWCHAR KeyBuffer;
|
||||
UNICODE_STRING Class;
|
||||
WCHAR ClassBuffer[40];
|
||||
|
@ -557,10 +557,7 @@ IopAttachFilterDrivers(
|
|||
QueryTable[0].Name = L"LowerFilters";
|
||||
else
|
||||
QueryTable[0].Name = L"UpperFilters";
|
||||
QueryTable[0].EntryContext = NULL;
|
||||
QueryTable[0].Flags = RTL_QUERY_REGISTRY_REQUIRED;
|
||||
QueryTable[1].QueryRoutine = NULL;
|
||||
QueryTable[1].Name = NULL;
|
||||
|
||||
KeyBuffer = ExAllocatePool(
|
||||
PagedPool,
|
||||
|
|
Loading…
Reference in a new issue