ISOSDacInterface::GetRCWInterfaces 方法

取得執行時可呼叫包裝器(RCW)的 COM 介面指標資料。

Note

此 API 原本是針對運行時間內部使用所設計。 雖然現在支援第三方使用,但建議您盡可能使用 ICorDebugICorProfiler API。

Syntax

HRESULT GetRCWInterfaces(CLRDATA_ADDRESS rcw, unsigned int count, struct DacpCOMInterfacePointerData *interfaces, unsigned int *pNeeded);

Parameters

rcw
[在]RCW 的位址,用於擷取介面資訊。

count
[在]陣列能容納的元素 interfaces 數量。

interfaces
[出]一個由 DacpCOMInterface PointerData 結構組成的 陣列,用來接收介面指標資料。

pNeeded
[出]一個指向可用介面指標條目數量的指標。

Remarks

所提供的方法是介面的一部分 ISOSDacInterface ,對應虛擬方法表的第 76 個插槽。

要求

平台:請參閱系統需求
標題:
圖書館:
.NET Framework 版本:自 4.7 版本起可用

也請參閱