There was an error while loading. Please reload this page.
2 parents 7ee9ff3 + 9b0d068 commit 5f89af7Copy full SHA for 5f89af7
library/src/WmiQuery.cpp
@@ -47,7 +47,7 @@ namespace
47
// <https://docs.microsoft.com/en-us/windows-hardware/drivers/install/identifiers-for-pci-devices>
48
// and insert wildcards for the subsystem vendor ID (if absent) and the device instance
49
return fmt::format(
50
-L"PCI\\\\VEN_{:0>4X}&DEV_{:0>4X}&SUBSYS_{:0>4X}{}&REV_{:0>2X}%",
+L"PCI\\\\VEN_{:0>4X}&DEV_{:0>4X}&SUBSYS_{:0>8X}{}&REV_{:0>2X}%",
51
dxHardwareID.vendorID,
52
dxHardwareID.deviceID,
53
dxHardwareID.subSysID,
0 commit comments