[ISAPNP] Generate hardware ids and compatible ids in upper case

This commit is contained in:
Hervé Poussineau 2022-09-23 23:06:34 +02:00
parent f3506ee626
commit 3a32d5980c

View file

@ -146,7 +146,7 @@ IsaPdoQueryId(
&End, &End,
&Remaining, &Remaining,
0, 0,
L"ISAPNP\\%.3S%04x", L"ISAPNP\\%.3S%04X",
LogDev->VendorId, LogDev->VendorId,
LogDev->ProdId); LogDev->ProdId);
if (!NT_VERIFY(NT_SUCCESS(Status))) if (!NT_VERIFY(NT_SUCCESS(Status)))
@ -194,7 +194,7 @@ IsaPdoQueryId(
&End, &End,
&Remaining, &Remaining,
0, 0,
L"ISAPNP\\%.3S%04x", L"ISAPNP\\%.3S%04X",
LogDev->VendorId, LogDev->VendorId,
LogDev->ProdId); LogDev->ProdId);
if (!NT_VERIFY(NT_SUCCESS(Status))) if (!NT_VERIFY(NT_SUCCESS(Status)))
@ -225,7 +225,7 @@ IsaPdoQueryId(
&End, &End,
&Remaining, &Remaining,
0, 0,
L"*%.3S%04x", L"*%.3S%04X",
LogDev->LogVendorId, LogDev->LogVendorId,
LogDev->LogProdId); LogDev->LogProdId);
if (!NT_VERIFY(NT_SUCCESS(Status))) if (!NT_VERIFY(NT_SUCCESS(Status)))
@ -275,7 +275,7 @@ IsaPdoQueryId(
&End, &End,
&Remaining, &Remaining,
0, 0,
L"*%.3S%04x", L"*%.3S%04X",
CompatibleId->VendorId, CompatibleId->VendorId,
CompatibleId->ProdId); CompatibleId->ProdId);
if (!NT_VERIFY(NT_SUCCESS(Status))) if (!NT_VERIFY(NT_SUCCESS(Status)))