This documentation is archived and is not being maintained.
FUNCDESC Structure
Visual Studio 2010
Defines a function description.
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.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (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 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
