mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[ISAPNP] Fix reporting of devices with hexadecimal productId
This commit is contained in:
parent
1edfddf07a
commit
eb66324d7c
2 changed files with 4 additions and 4 deletions
|
@ -80,7 +80,7 @@ IsaFdoCreateDeviceIDs(
|
|||
TempString.MaximumLength / sizeof(WCHAR),
|
||||
&End,
|
||||
NULL, 0,
|
||||
L"ISAPNP\\%3S%04X",
|
||||
L"ISAPNP\\%.3S%04x",
|
||||
LogDev->VendorId,
|
||||
LogDev->ProdId);
|
||||
if (!NT_SUCCESS(Status))
|
||||
|
@ -98,8 +98,8 @@ IsaFdoCreateDeviceIDs(
|
|||
TempString.MaximumLength / sizeof(WCHAR),
|
||||
&End,
|
||||
NULL, 0,
|
||||
L"ISAPNP\\%3S%04X@"
|
||||
L"*%3S%04X@",
|
||||
L"ISAPNP\\%.3S%04x@"
|
||||
L"*%.3S%04x@",
|
||||
LogDev->VendorId,
|
||||
LogDev->ProdId,
|
||||
LogDev->VendorId,
|
||||
|
|
|
@ -59,7 +59,7 @@ IsaPdoQueryCapabilities(
|
|||
|
||||
if (LogDev)
|
||||
{
|
||||
DeviceCapabilities->UniqueID = LogDev->SerialNumber != 0xffffffff;
|
||||
DeviceCapabilities->UniqueID = TRUE;
|
||||
DeviceCapabilities->Address = LogDev->CSN;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue