[ISAPNP] Generate a name for PDO, as required

This commit is contained in:
Hervé Poussineau 2021-10-07 20:53:38 +02:00
parent a86c3794a6
commit ac13f37d0a

View file

@ -1246,7 +1246,7 @@ IsaPnpCreateReadPortDO(
sizeof(ISAPNP_PDO_EXTENSION),
NULL,
FILE_DEVICE_CONTROLLER,
FILE_DEVICE_SECURE_OPEN,
FILE_DEVICE_SECURE_OPEN | FILE_AUTOGENERATED_DEVICE_NAME,
FALSE,
&FdoExt->ReadPortPdo);
if (!NT_SUCCESS(Status))