ICorDebugAppDomain2::GetFunctionPointerType 方法
获取一个指向具有给定签名的函数的指针。
HRESULT GetFunctionPointerType (
[in] ULONG32 nTypeArgs,
[in, size_is(nTypeArgs)] ICorDebugType *ppTypeArgs[],
[out] ICorDebugType **ppType
);
参数
nTypeArgs
[in] 函数的类型参数个数。ppTypeArgs
[in] 一个由指针组成的数组,其中每个指针都指向一个 ICorDebugType 对象,该对象表示函数的类型参数。 第一个元素是返回类型;其他各个元素是参数类型。ppType
[out] 一个指向 ICorDebugType 对象地址的指针,该对象表示指向函数的指针。
要求
**平台:**请参见 .NET Framework 系统要求。
头文件: CorDebug.idl、CorDebug.h
**库:**CorGuids.lib
**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0