ITStream::get_Direction method (tapi3if.h)

The get_Direction method gets the stream's terminal direction.

Syntax

HRESULT get_Direction(
  [out] TERMINAL_DIRECTION *pTD
);

Parameters

[out] pTD

Pointer to TERMINAL_DIRECTION descriptor.

Return value

This method can return one of these 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

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)

See also

ITStream

Media Service Provider Interface (MSPI)

TERMINAL_DIRECTION