FUNCDESC FUNCDESC FUNCDESC FUNCDESC Struct

定义

定义函数说明。Defines a function description.

public value class FUNCDESC
public struct FUNCDESC
type FUNCDESC = struct
Public Structure FUNCDESC
继承

注解

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

当本机代码中的 COM 方法返回 HRESULT 时, 公共语言运行时将引发异常。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 有关更多信息,请参见 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.

字段

callconv callconv callconv callconv

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

cParams cParams cParams cParams

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

cParamsOpt cParamsOpt cParamsOpt cParamsOpt

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

cScodes cScodes cScodes cScodes

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

elemdescFunc elemdescFunc elemdescFunc elemdescFunc

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

funckind funckind funckind funckind

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

invkind invkind invkind invkind

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

lprgelemdescParam lprgelemdescParam lprgelemdescParam lprgelemdescParam

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

lprgscode lprgscode lprgscode lprgscode

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

memid memid memid memid

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

oVft oVft oVft oVft

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

wFuncFlags wFuncFlags wFuncFlags wFuncFlags

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

适用于