Platform SDK: TAPI

ITTerminal::get_Name

Gets a descriptive name of the terminal. The name must be usable to the user.

HRESULT get_Name(
  BSTR *ppName
);

Parameters

ppName
[out, retval] Pointer to BSTR containing the name of the terminal.

Return Values

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

Remarks

The application must use SysFreeString to free the memory allocated for the ppName parameter.

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

ITTerminal, Terminal Object, Terminal Object Interfaces