ITFileTerminalEvent::get_Cause 方法 (tapi3if.h)

get_Cause方法會取得與此事件相關聯的原因。

語法

HRESULT get_Cause(
  [out] FT_STATE_EVENT_CAUSE *pCause
);

參數

[out] pCause

FT_STATE_EVENT_CAUSE 此事件原因的描述元。

傳回值

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

規格需求

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

另請參閱

ITFileTerminalEvent