IAMDeviceRemoval Interface

 
Microsoft DirectShow 9.0

IAMDeviceRemoval Interface

The IAMDeviceRemoval interface provides a way for the Filter Graph Manager to register for device removal events for a capture device. The KsProxy filter exposes this interface. (See WDM Video Capture Filter.)

Applications typically do not use this interface, and third-party filters do not need to implement this interface. To get a pointer to this interface, call QueryInterface on the KsProxy filter.

In addition to the methods inherited from IUnknown, the IAMDeviceRemoval interface exposes the following methods.

Method Description
DeviceInfo Retrieves information about the device
Disassociate Disassociates the KsProxy filter from the device by closing the device handle.
Reassociate Reassociates the KsProxy filter with the device.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.