ITPhone::p ut_ButtonText 方法 (tapi3if.h)

put_ButtonText方法會設定按鈕文字。

語法

HRESULT put_ButtonText(
  [in] long lButtonID,
  [in] BSTR bstrButtonText
);

參數

[in] lButtonID

按鈕標識碼。

[in] bstrButtonText

按鈕文字的 BSTR 表示。

傳回值

如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。

規格需求

需求
目標平台 Windows
標頭 tapi3if.h (包括 Tapi3.h)
程式庫 Uuid.lib
Dll Tapi3.dll

另請參閱

ITPhone

get_ButtonText