FUNCDESC 结构

定义

警告

此 API 现已过时。

请改用 FUNCDESCUse FUNCDESC instead.

public value class FUNCDESC
[System.Runtime.InteropServices.ComVisible(false)]
public struct FUNCDESC
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.FUNCDESC instead. https://go.microsoft.com/fwlink/?linkid=14202", false)]
public struct FUNCDESC
[System.Obsolete]
public struct FUNCDESC
type FUNCDESC = struct
Public Structure FUNCDESC
继承
FUNCDESC
属性

注解

有关 FUNCDESC的其他信息,请参阅 MSDN Library。For additional information about FUNCDESC, see the MSDN Library.

字段

callconv

指定函数的调用约定。Specifies the calling convention of a function.

cParams

计算参数的总数。Counts the total number of parameters.

cParamsOpt

计算可选参数。Counts the optional parameters.

cScodes

计算允许的返回值。Counts the permitted return values.

elemdescFunc

包含函数的返回类型。Contains the return type of the function.

funckind

指定函数是虚拟的、静态的还是仅支持调度的。Specifies whether the function is virtual, static, or dispatch-only.

invkind

指定属性函数的类型。Specifies the type of a property function.

lprgelemdescParam

指示 cParams 的大小。Indicates the size of cParams.

lprgscode

存储函数可在 16 位系统中返回的错误的计数。Stores the count of errors a function can return on a 16-bit system.

memid

标识函数成员 ID。Identifies the function member ID.

oVft

指定 FUNC_VIRTUAL 在 VTBL 中的偏移量。Specifies the offset in the VTBL for FUNC_VIRTUAL.

wFuncFlags

指示函数的 FUNCFLAGSIndicates the FUNCFLAGS of a function.

适用于