https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a959d6e47389ca3ff5d7e…
commit a959d6e47389ca3ff5d7e8f298bf4384a7f09cdc
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Mon Apr 5 15:34:55 2021 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Mon Apr 5 15:35:21 2021 +0200
[PARTMGR] Volume devices do not have compatible IDs and their instance IDs are not
unique
---
drivers/storage/partmgr/partition.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/storage/partmgr/partition.c b/drivers/storage/partmgr/partition.c
index 3ce6ab7873c..cfd00fa5ce5 100644
--- a/drivers/storage/partmgr/partition.c
+++ b/drivers/storage/partmgr/partition.c
@@ -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;
}