检索运行时可调用包装器的 COM 接口指针数据(RCW)。
Note
此 API 最初旨在供运行时内部使用。 尽管现在支持第三方使用,但我们建议尽量使用 ICorDebug 和 ICorProfiler API。
Syntax
HRESULT GetRCWInterfaces(CLRDATA_ADDRESS rcw, unsigned int count, struct DacpCOMInterfacePointerData *interfaces, unsigned int *pNeeded);
Parameters
rcw
[in]要检索其接口信息的 RCW 的地址。
count
[in]数组可以保存的元素 interfaces 数。
interfaces
[out]接收接口指针数据的 DacpCOMInterfacePointerData 结构的 数组。
pNeeded
[out]指向可用接口指针条目数的指针。
Remarks
提供的方法是接口的 ISOSDacInterface 一部分,对应于虚拟方法表的第 76 个槽。
要求
平台:请参阅系统要求。
页眉: 没有
图书馆: 没有
.NET Framework 版本:自 4.7 起可用