Export (0) Print
Expand All

TYPEKIND enumeration

Specifies a type.

Syntax


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

Constants

TKIND_ENUM

A set of enumerators.

TKIND_RECORD

A structure with no methods.

TKIND_MODULE

A module that can only have static functions and data (for example, a DLL).

TKIND_INTERFACE

A type that has virtual and pure functions.

TKIND_DISPATCH

A set of methods and properties that are accessible through IDispatch::Invoke. By default, dual interfaces return TKIND_DISPATCH.

TKIND_COCLASS

A set of implemented component object interfaces.

TKIND_ALIAS

A type that is an alias for another type.

TKIND_UNION

A union, all of whose members have an offset of zero.

TKIND_MAX

End of enum marker.

Requirements

Header

OaIdl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft