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.

適用於