[PARTMGR] Volume devices do not have compatible IDs and their instance IDs are not unique

This commit is contained in:
Eric Kohl 2021-04-05 15:34:55 +02:00
parent fefac1fb1d
commit a959d6e473

View file

@ -301,7 +301,6 @@ PartitionHandleQueryId(
? STATUS_SUCCESS : STATUS_INSUFFICIENT_RESOURCES;
break;
case BusQueryHardwareIDs:
case BusQueryCompatibleIDs:
{
static WCHAR volumeID[] = L"STORAGE\\Volume\0";
@ -376,7 +375,7 @@ PartitionHandleQueryCapabilities(
devCaps->RawDeviceOK = TRUE;
devCaps->NoDisplayInUI = TRUE;
devCaps->Address = PartExt->OnDiskNumber;
devCaps->UniqueID = 1;
devCaps->UniqueID = FALSE;
return STATUS_SUCCESS;
}