SetupDiGetDeviceRegistryPropertyA内存扩大一倍

This commit is contained in:
gb 2022-07-30 15:37:12 +08:00
parent d45a9b0803
commit dfbfe47d0f
1 changed files with 1 additions and 1 deletions

View File

@ -3084,7 +3084,7 @@ GetDeviceProperty(
return FALSE;
}
requiredLength *= 4;
requiredLength *= 8;
*ppBuffer = ALLOC(requiredLength);
if (*ppBuffer == NULL)