ITMultiTrackTerminal::CreateTrackTerminal method (tapi3if.h)

The CreateTrackTerminal method creates a multitrack terminal that can handle a given media type or types and media direction.

Syntax

HRESULT CreateTrackTerminal(
  [in]  long               MediaType,
  [in]  TERMINAL_DIRECTION TerminalDirection,
  [out] ITTerminal         **ppTerminal
);

Parameters

[in] MediaType

Bitwise ORed list of media types required for the terminal.

[in] TerminalDirection

The TERMINAL_DIRECTION descriptor for the terminal.

[out] ppTerminal

Pointer to the ITTerminal interface.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

TAPI calls the AddRef method on the ITTerminal interface returned by ITMultiTrackTerminal::CreateTrackTerminal. The application must call Release on the ITTerminal interface to free resources associated with it.

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

ITMultiTrackTerminal

ITTerminal