Platform SDK: TAPI

ITStream::get_Direction

Gets the stream's terminal direction.

HRESULT get_Direction(
  TERMINAL_DIRECTION *pTD
);

Parameters

pTD
[out, retval] Pointer to TERMINAL_DIRECTION descriptor.

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The pTD parameter is not a valid pointer.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.

Remarks

Terminals of either direction can, in general, be selected on any stream whose media type matches the terminal's media type. However, some MSPs allow only terminals whose terminal direction matches the stream's terminal direction to be selected on a stream.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.

See Also

Media Service Provider Interface (MSPI), ITStream, TERMINAL_DIRECTION