Description
The callback function for an upper filter driver to preprocess IRP_MN_QUERY_DEVICE_RELATIONS/BusRelations before KMDF. This routine can be passed as EvtDeviceWdmIrpPreprocess into WdfDeviceInitAssignWdmIrpPreprocessCallback for IRP_MJ_PNP/IRP_MN_QUERY_DEVICE_RELATIONS, or be invoked in an upper filter driver's EvtDeviceWdmIrpPreprocess callback function. In the latter case, the upper filter driver must return the value that this routine returns.
Declaration
NTSTATUS BffPreprocessQueryBusRelations(WDFDEVICE Device, PIRP Irp);
Parameters
Device | The WDF device object representing an upper filter device object. |
Irp | The IRP_MN_QUERY_DEVICE_RELATIONS I/O request packet. |
Return value
The value that WdfDeviceWdmDispatchPreprocessedIrp returns.
No comments:
Post a Comment