FUNCDESC Structure
.NET Framework 4.5
Defines a function description.
Namespace: System.Runtime.InteropServices.ComTypes
Assembly: mscorlib (in mscorlib.dll)
The FUNCDESC type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() ![]() ![]() | GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() ![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() ![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | 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 | Indicates the size of cParams. |
![]() ![]() ![]() | lprgscode | Stores the count of errors a function can return on a 16-bit system. |
![]() ![]() ![]() | memid | Identifies the function member ID. |
![]() ![]() ![]() | oVft | Specifies the offset in the VTBL for FUNC_VIRTUAL. |
![]() ![]() ![]() | wFuncFlags | Indicates the FUNCFLAGS of a function. |
For additional information about FUNCDESC, see the MSDN Library.
The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.gif?cs-save-lang=1&cs-lang=cpp)
.png?cs-save-lang=1&cs-lang=cpp)
.png?cs-save-lang=1&cs-lang=cpp)
.gif?cs-save-lang=1&cs-lang=cpp)