ICorDebugComObjectValue::GetCachedInterfacePointers 方法
获取在当前运行时可调用包装器 (RCW) 上缓存的原始接口指针。
语法
HRESULT GetCachedInterfacePointers(
[in] BOOL bIInspectableOnly,
[in] ULONG32 celt,
[out] ULONG32 *pceltFetched,
[out, size_is(celt), length_is(*pceltFetched) CORDB_ADDRESS *ptrs);
参数
bIInspectableOnly
[in]一个值,该值指示该方法是否仅返回Windows 运行时接口(IInspectable
接口)或运行时可调用包装器(RCW)缓存的所有 COM 接口。
celt
[in]要检索其地址的对象数。
pceltFetched
[out]指向实际返回ptrs
的值数的CORDB_ADDRESS
指针。
ptrs
指向包含缓存接口对象的地址的值数组 CORDB_ADDRESS
的起始地址的指针。
注解
要求
平台:请参阅系统要求。
标头:CorDebug.idl、CorDebug.h
库:CorGuids.lib
.NET Framework 版本:自 4.5 起可用