ITPhone::p ut_LampMode 方法 (tapi3if.h)
put_LampMode 方法會設定指定燈光的目前燈光模式。
語法
HRESULT put_LampMode(
[in] long lLampID,
[in] PHONE_LAMP_MODE LampMode
);
參數
[in] lLampID
燈光標識碼。
[in] LampMode
手機燈光狀態 的PHONE_LAMP_MODE 描述項。
傳回值
如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。
規格需求
需求 | 值 |
---|---|
目標平台 | Windows |
標頭 | tapi3if.h (包括 Tapi3.h) |
程式庫 | Uuid.lib |
Dll | Tapi3.dll |