SetupDiGetDeviceRegistryPropertyA内存扩大一倍
This commit is contained in:
parent
d45a9b0803
commit
dfbfe47d0f
|
@ -3084,7 +3084,7 @@ GetDeviceProperty(
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
requiredLength *= 4;
|
requiredLength *= 8;
|
||||||
*ppBuffer = ALLOC(requiredLength);
|
*ppBuffer = ALLOC(requiredLength);
|
||||||
|
|
||||||
if (*ppBuffer == NULL)
|
if (*ppBuffer == NULL)
|
||||||
|
|
Loading…
Reference in New Issue