ITFileTrack::get_ControllingTerminal 方法 (tapi3if.h)

get_ControllingTerminal方法會傳回控制目前追蹤的多追蹤終端機。

語法

HRESULT get_ControllingTerminal(
  [out] ITTerminal **ppControllingTerminal
);

參數

[out] ppControllingTerminal

ITTerminal介面的指標。

傳回值

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

備註

TAPI 會在ITFileTrack::get_ControllingTerminal傳回的ITTerminal介面上呼叫AddRef方法。 應用程式必須呼叫ITTerminal上的Release,以釋放與其相關聯的資源。

規格需求

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

另請參閱

ITFileTrack

ITTerminal