Partager via


TYPEKIND

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This enumeration specifies various types of data and functions.

Syntax

typedef enum tagTYPEKIND {
  TKIND_ENUM = 0,
  TKIND_RECORD,
  TKIND_MODULE,
  TKIND_INTERFACE,
  TKIND_DISPATCH,
  TKIND_COCLASS,
  TKIND_ALIAS,
  TKIND_UNION,
  TKIND_MAX
} TYPEKIND;

Elements

  • TKIND_ALIAS
    Specifies a type that is an alias for another type.
  • TKIND_COCLASS
    Specifies a set of implemented component object interfaces.
  • TKIND_DISPATCH
    Specifies a set of methods and properties that are accessible through IDispatch::Invoke. By default, dual interfaces return TKIND_DISPATCH.
  • TKIND_ENUM
    Specifies a set of enumerators.
  • TKIND_INTERFACE
    Specifies a type that has virtual functions, all of which are pure.
  • TKIND_MODULE
    Specifies a module that can only have static functions and data (for example, a DLL).
  • TKIND_RECORD
    Specifies a structure with no methods.
  • TKIND_UNION
    Specifies a union, all of whose members have an offset of zero.
  • TKIND_MAX
    Specifies the end of ENUM marker.

Requirements

Header oaidl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Automation Enumerations
IDispatch::Invoke