Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FUNCKIND Enumeration

 

Defines how to access a function.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

[SerializableAttribute]
public enum FUNCKIND

Member nameDescription
FUNC_DISPATCH

The function can be accessed only through IDispatch.

FUNC_NONVIRTUAL

The function is accessed by static address and takes an implicit this pointer.

FUNC_PUREVIRTUAL

The function is accessed through the virtual function table (VTBL), and takes an implicit this pointer.

FUNC_STATIC

The function is accessed by static address and does not take an implicit this pointer.

FUNC_VIRTUAL

The function is accessed in the same way as FUNC_PUREVIRTUAL, except the function has an implementation.

For additional information about FUNCKIND, 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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft