ICorDebugAppDomain2::GetFunctionPointerType 方法

获取指向具有给定签名的函数的指针。

语法

HRESULT GetFunctionPointerType (  
    [in] ULONG32                             nTypeArgs,  
    [in, size_is(nTypeArgs)] ICorDebugType   *ppTypeArgs[],  
    [out] ICorDebugType                      **ppType  
);  

参数

nTypeArgs
[in] 函数类型参数的数目。

ppTypeArgs
[in] 指针数组,其中每个指针指向表示函数类型参数的 ICorDebugType 对象。 第一个元素是返回类型;其他每个元素都是参数类型。

ppType
[out] 指向 ICorDebugType 对象地址的指针,该对象表示指向函数的指针。

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 2.0 起可用