Share via


itDirectory::get_DisplayName 方法 (rend.h)

[Rendezvous IP Telephony Conferencing controls and interface not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. RTC 用戶端 API 提供類似的功能。]

get_DisplayName方法會取得目錄的可顯示名稱。

語法

HRESULT get_DisplayName(
  [out] BSTR *pName
);

參數

[out] pName

目錄名稱 的 BSTR 表示法指標。

傳回值

這個方法可以傳回下列其中一個值。

傳回碼 描述
S_OK
方法成功。
E_POINTER
pName 參數不是有效的指標。
E_OUTOFMEMORY
記憶體不足,無法執行作業。
E_FAIL
未指定的錯誤。
E_NOTIMPL
尚未實作這個方法。

備註

應用程式必須使用 SysFreeString 釋放配置給 pName 參數的記憶體。

規格需求

需求
目標平台 Windows
標頭 rend.h
Dll Rend.dll

另請參閱

ITDirectory