Condividi tramite


IAMDeviceRemoval::Disassociate

 
Microsoft DirectShow 9.0

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.

Syntax

  HRESULT Disassociate();
);

Parameters

This method takes no parameters.

Return Values

If the method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.

Requirements

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

Library: Use Strmiids.lib.

See Also