mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[PARTMGR] Volume devices do not have compatible IDs and their instance IDs are not unique
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user