mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[ISAPNP] Implement IRP_MN_QUERY_PNP_DEVICE_STATE for ReadDataPort
This commit is contained in:
parent
5b9929a076
commit
8b53ed1d9b
1 changed files with 16 additions and 0 deletions
|
@ -75,6 +75,17 @@ IsaPdoQueryCapabilities(
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
IsaPdoQueryPnpDeviceState(
|
||||
IN PISAPNP_PDO_EXTENSION PdoExt,
|
||||
IN PIRP Irp,
|
||||
IN PIO_STACK_LOCATION IrpSp)
|
||||
{
|
||||
Irp->IoStatus.Information |= PNP_DEVICE_NOT_DISABLEABLE;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
IsaPdoQueryId(
|
||||
|
@ -298,6 +309,11 @@ IsaPdoPnp(
|
|||
Status = IsaPdoQueryCapabilities(PdoExt, Irp, IrpSp);
|
||||
break;
|
||||
|
||||
case IRP_MN_QUERY_PNP_DEVICE_STATE:
|
||||
if (PdoExt->Common.Self == PdoExt->FdoExt->DataPortPdo)
|
||||
Status = IsaPdoQueryPnpDeviceState(PdoExt, Irp, IrpSp);
|
||||
break;
|
||||
|
||||
case IRP_MN_QUERY_RESOURCES:
|
||||
if (PdoExt->Common.Self == PdoExt->FdoExt->DataPortPdo)
|
||||
Status = IsaPdoQueryResources(PdoExt, Irp, IrpSp);
|
||||
|
|
Loading…
Reference in a new issue