Microsoft DirectX 8.1 (C++)

IPinConnection::DynamicDisconnect

The DynamicDisconnect method disconnects the pin when the filter is active (paused or running). Call this method instead of IPin::Disconnect to disconnect a pin on an active filter.

Syntax

HRESULT DynamicDisconnect(void);

Return Value

If the pin was connected and the method succeeds, the return value is S_OK. If the pin was not connected, the return value is S_FALSE.

If the method fails, it returns an HRESULT value indicating the cause of the error.

See Also