ITPluggableTerminalSuperclassRegistration::EnumerateTerminalClasses method (termmgr.h)

The EnumerateTerminalClasses method lists all terminal classes for the current terminal superclass.

Syntax

HRESULT EnumerateTerminalClasses(
  [out] IEnumTerminalClass **ppTerminals
);

Parameters

[out] ppTerminals

Pointer to the IEnumTerminalClass interface that enumerates the terminal classes.

Return value

This method can return one of these values.

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

Remarks

TAPI calls the AddRef method on the IEnumTerminalClass interface returned by ITPluggableTerminalSuperclassRegistration::EnumerateTerminalClasses. The application must call Release on the IEnumTerminalClass interface to free resources associated with it.

Requirements

Requirement Value
Target Platform Windows
Header termmgr.h
Library Uuid.lib
DLL Tapi3.dll

See also

IEnumTerminalClass

ITPluggableTerminalSuperclassRegistration