AVStrMiniDeviceCancelRemove routine
An AVStream minidriver's AVStrMiniDeviceCancelRemove routine is called when an IRP_MN_CANCEL_REMOVE_DEVICE is dispatched by the device.
Syntax
PFNKSDEVICEIRPVOID AVStrMiniDeviceCancelRemove;
void AVStrMiniDeviceCancelRemove(
_In_ PKSDEVICE Device,
_In_ PIRP Irp
)
{ ... }
Parameters
Device [in]
Pointer to the KSDEVICE that dispatched the IRP_MN_CANCEL_REMOVE_DEVICE.Irp [in]
The IRP_MN_CANCEL_REMOVE_DEVICE issued by Device.
Return value
None
Remarks
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.
Requirements
Target platform |
Desktop |
Version |
Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions. |
Header |
Ks.h (include Ks.h) |
See also