IWRdsProtocolLicenseConnection 介面 (wtsprotocol.h)

公開遠端桌面服務用來在連線順序期間執行授權交握的方法。 此介面是由通訊協議實作,而其方法是由遠端桌面服務服務呼叫。

繼承

IWRdsProtocolLicenseConnection 介面繼承自 IUnknown 介面。 IWRdsProtocolLicenseConnection 也有下列類型的成員:

方法

IWRdsProtocolLicenseConnection 介面具有這些方法。

 
IWRdsProtocolLicenseConnection::P rotocolComplete

通知通訊協定是否順利完成授權程式。
IWRdsProtocolLicenseConnection::RequestClientLicense

向用戶端要求授權。
IWRdsProtocolLicenseConnection::RequestLicensingCapabilities

向用戶端要求授權功能。
IWRdsProtocolLicenseConnection::SendClientLicense

將授權傳送給用戶端。

備註

若要避免在此介面上呼叫任何方法時可能死結,您不應該進行任何直接或間接導致呼叫遠端桌面服務 API 的函式或方法呼叫。 如果您需要進行任何輸出呼叫,您應該啟動新的線程,並從新的線程進行輸出呼叫。

規格需求

需求
最低支援的用戶端 都不支援
最低支援的伺服器 Windows Server 2012
目標平台 Windows
標頭 wtsprotocol.h