Partager via


AVStrMiniDeviceRemove routine

An AVStream minidriver's AVStrMiniDeviceRemove routine is called when an IRP_MN_REMOVE_DEVICE is dispatched by the device.

Syntax

PFNKSDEVICEIRPVOID AVStrMiniDeviceRemove;

void AVStrMiniDeviceRemove(
  _In_ PKSDEVICE Device,
  _In_ PIRP      Irp
)
{ ... }

Parameters

Return value

None

Remarks

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.

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)

IRQL

PASSIVE_LEVEL (See Remarks section)

See also

KSDEVICE_DISPATCH

KSDEVICE

 

 

Send comments about this topic to Microsoft