Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ConnectTerminal method connects filters and returns a set of pins for connection. Enters each of the internal filters into the filter graph, connects the internal filters together (if applicable) and returns a set of pins for connection.
Syntax
HRESULT ConnectTerminal(
[in] IGraphBuilder *pGraph,
[in] DWORD dwTerminalDirection,
[in, out] DWORD *pdwNumPins,
[out] IPin **ppPins
);
Parameters
[in] pGraph
Pointer to graph builder interface.
[in] dwTerminalDirection
Indicator of terminal direction.
[in, out] pdwNumPins
Pointer to number of pins.
[out] ppPins
Pointer to array of pins to be used for media transport related to the current terminal.
Return value
This method can return one of these values.
Value | Meaning |
---|---|
|
Method succeeded. |
|
Insufficient memory exists to perform the operation. |
|
The current terminal is already in use. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | termmgr.h |