// ks.h
PFNKSDEVICEIRPVOID Pfnksdeviceirpvoid;
void Pfnksdeviceirpvoid(
[in] PKSDEVICE Device,
[in] PIRP Irp
)
{...}
View the official Windows Driver Kit DDI reference
No description available.
An AVStream minidriver's IRP handling routine is called when these IRPs are dispatched by the device.
Device
[in]Pointer to the KSDEVICE that dispatched the IRP.
Irp
[in]The IRP issued by Device.
IRP | Description |
---|---|
IRP_MN_CANCEL_STOP_DEVICE | The minidriver specifies this routine's address in the CancelStop member of its KSDEVICE_DISPATCH structure. This routine is optional. |
IRP_MN_CANCEL_REMOVE_DEVICE | The minidriver specifies this routine's address in the CancelRemove member of its KSDEVICE_DISPATCH structure. This routine is called when an IRP_MN_CANCEL_REMOVE_DEVICE is dispatched by the device. This routine is optional. |
IRP_MN_REMOVE_DEVICE | The minidriver specifies this routine's address in the MiniRemove member of its KSDEVICE_DISPATCH structure. AVStream calls this routine when an IRP_MN_REMOVE_DEVICE is dispatched by the device. Typically, it will be provided by minidrivers that must free device-associated resources upon device removal. This routine is optional. |
IRP_MN_STOP_DEVICE | The minidriver specifies this routine's address in the Stop member of its KSDEVICE_DISPATCH structure. This is usually provided by minidrivers that need to detach from previously assigned resources before completing a stop operation. This routine is optional. |
IRP_MN_SURPRISE_REMOVAL | The minidriver specifies this routine's address in the SurpriseRemoval member of its KSDEVICE_DISPATCH structure. This routine is optional. |