mirror of
https://github.com/reactos/reactos.git
synced 2024-08-30 07:08:19 +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
File diff suppressed because it is too large
Load diff
|
@ -542,7 +542,7 @@ IopAttachFilterDrivers(
|
||||||
PDEVICE_NODE DeviceNode,
|
PDEVICE_NODE DeviceNode,
|
||||||
BOOLEAN Lower)
|
BOOLEAN Lower)
|
||||||
{
|
{
|
||||||
RTL_QUERY_REGISTRY_TABLE QueryTable[2];
|
RTL_QUERY_REGISTRY_TABLE QueryTable[2] = {{0}};
|
||||||
PWCHAR KeyBuffer;
|
PWCHAR KeyBuffer;
|
||||||
UNICODE_STRING Class;
|
UNICODE_STRING Class;
|
||||||
WCHAR ClassBuffer[40];
|
WCHAR ClassBuffer[40];
|
||||||
|
@ -557,10 +557,7 @@ IopAttachFilterDrivers(
|
||||||
QueryTable[0].Name = L"LowerFilters";
|
QueryTable[0].Name = L"LowerFilters";
|
||||||
else
|
else
|
||||||
QueryTable[0].Name = L"UpperFilters";
|
QueryTable[0].Name = L"UpperFilters";
|
||||||
QueryTable[0].EntryContext = NULL;
|
|
||||||
QueryTable[0].Flags = RTL_QUERY_REGISTRY_REQUIRED;
|
QueryTable[0].Flags = RTL_QUERY_REGISTRY_REQUIRED;
|
||||||
QueryTable[1].QueryRoutine = NULL;
|
|
||||||
QueryTable[1].Name = NULL;
|
|
||||||
|
|
||||||
KeyBuffer = ExAllocatePool(
|
KeyBuffer = ExAllocatePool(
|
||||||
PagedPool,
|
PagedPool,
|
||||||
|
|
Loading…
Reference in a new issue