What does HRESULT 0x80040204 (VFW_E_ALREADY_CONNECTED) mean?

 
Could be also:
ConstantTypeOS
EVENT_E_QUERYFIELDHRESULTWindows
Previous Next
EVENT_E_QUERYFIELD EVENT_E_INTERNALEXCEPTION

VFW_E_ALREADY_CONNECTED

VFW_E_ALREADY_CONNECTED is a DirectShow HRESULT. DirectShow pins normally have one peer connection. This result means that the application is trying to connect a pin that is already bound into the filter graph, often while rebuilding or replacing a portion of the graph.

What to check

  • Use IPin::ConnectedTo to inspect the current peer before requesting another connection.
  • Disconnect both ends through the graph manager when a connection really must be replaced.
  • Perform topology changes while the graph is stopped so filters can release the current connection cleanly.

If automatic graph building created the existing connection, remove or reconnect the affected filters through the same graph manager instead of connecting one pin directly.

Microsoft: DirectShow filters and pins


Looking for a different code? Search another status or error code.