ITTerminalManager::GetDynamicTerminalClasses method (termmgr.h)

The GetDynamicTerminalClasses method gets a list of terminal classes for a set of media types.

Syntax

HRESULT GetDynamicTerminalClasses(
  [in]      DWORD dwMediaTypes,
  [in, out] DWORD *pdwNumClasses,
  [out]     IID   *pTerminalClasses
);

Parameters

[in] dwMediaTypes

Pointer to media types.

[in, out] pdwNumClasses

Number of terminal classes returned.

[out] pTerminalClasses

Pointer to list of terminal classes.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_POINTER
The pdwNumClasses or the pTerminalClasses parameter is not a valid pointer.
TAPI_E_NOTENOUGHMEMORY
Insufficient memory exists to perform the operation.
TAPI_E_NOTSUPPORTED
Dynamic terminals not supported on this address.

Requirements

Requirement Value
Target Platform Windows
Header termmgr.h

See also

ITTerminalManager