FUNCDESC Structure
Defines a function description.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | 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() | |
![]() | 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.
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

