|Microsoft DirectX 9.0|
The Disconnect method breaks the current pin connection.
The Filter Graph Manager calls this method when it disconnects two filters. Applications and filters should not call this method. Instead, call the IFilterGraph::Disconnect method on the Filter Graph Manager.
Returns an HRESULT value. Possible values include the following.
|S_FALSE||The pin was not connected.|
|VFW_E_NOT_STOPPED||The filter is active.|
This method fails if the filter is paused or running. If the pin supports the IPinConnection interface, call IPinConnection::DynamicDisconnect to disconnect the pin when the filter is paused or running.
This method does not disconnect the other pin in the pin connection.