IAMDeviceRemoval interface (strmif.h)
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.
The IAMDeviceRemoval interface inherits from the IUnknown interface. IAMDeviceRemoval also has these types of members:
The IAMDeviceRemoval interface has these methods.
|IAMDeviceRemoval::DeviceInfo||The DeviceInfo method retrieves information about the device.|
|IAMDeviceRemoval::Disassociate||The Disassociate method disassociates the KsProxy filter from the device by closing the device handle. The Filter Graph Manager calls this method if it receives a notification that the device was removed.|
|IAMDeviceRemoval::Reassociate||The Reassociate method reassociates the KsProxy filter with the device. The Filter Graph Manager calls this method if it receives a notification that the device has returned after being removed.|
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||strmif.h (include Dshow.h)|