ITTerminalControl::DisconnectTerminal method (termmgr.h)

The DisconnectTerminal method disconnects internal filters and removes them from the filter graph.

Syntax

HRESULT DisconnectTerminal(
  [in] IGraphBuilder *pGraph,
  [in] DWORD         dwReserved
);

Parameters

[in] pGraph

Pointer to the interface for the graph to be disconnected.

[in] dwReserved

Reserved; not currently used.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_UNEXPECTED
An unknown error occurred during the disconnect attempt.

Requirements

Requirement Value
Target Platform Windows
Header termmgr.h

See also

ITTerminalControl