mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
[UMPNPMGR]
- Store the correct buffer size for requests that aren't satisfied via the registry - Fixes displaying the enumerator on the device manager property page svn path=/trunk/; revision=53212
This commit is contained in:
parent
62f7fcc714
commit
99329a8c0d
|
@ -749,7 +749,7 @@ DWORD PNP_GetDeviceRegProp(
|
|||
RtlInitUnicodeString(&PlugPlayData.DeviceInstance,
|
||||
pDeviceID);
|
||||
PlugPlayData.Buffer = Buffer;
|
||||
PlugPlayData.BufferSize = *pulTransferLen;
|
||||
PlugPlayData.BufferSize = *pulLength;
|
||||
|
||||
switch (ulProperty)
|
||||
{
|
||||
|
@ -829,7 +829,7 @@ DWORD PNP_GetDeviceRegProp(
|
|||
}
|
||||
}
|
||||
|
||||
done:;
|
||||
done:
|
||||
*pulTransferLen = (ret == CR_SUCCESS) ? *pulLength : 0;
|
||||
|
||||
if (hKey != NULL)
|
||||
|
|
Loading…
Reference in a new issue