WbemCimtypeEnum enumeration (wbemdisp.h)

The WbemCimtypeEnum constants define the valid CIM types of a property value.

The WMI scripting type library, wbemdisp.tlb, defines these constants. Visual Basic applications can access this library; script languages must use the value of the constant directly, unless they use the Windows Script Host (WSH) XML file format. For more information, see Using the WMI Scripting Type Library.

Syntax

typedef enum WbemCimtypeEnum {
  wbemCimtypeSint8 = 16,
  wbemCimtypeUint8 = 17,
  wbemCimtypeSint16 = 2,
  wbemCimtypeUint16 = 18,
  wbemCimtypeSint32 = 3,
  wbemCimtypeUint32 = 19,
  wbemCimtypeSint64 = 20,
  wbemCimtypeUint64 = 21,
  wbemCimtypeReal32 = 4,
  wbemCimtypeReal64 = 5,
  wbemCimtypeBoolean = 11,
  wbemCimtypeString = 8,
  wbemCimtypeDatetime = 101,
  wbemCimtypeReference = 102,
  wbemCimtypeChar16 = 103,
  wbemCimtypeObject = 13
} ;

Constants

 
wbemCimtypeSint8
Value: 16
Signed 8-bit integer
wbemCimtypeUint8
Value: 17
Unsigned 8-bit integer
wbemCimtypeSint16
Value: 2
Signed 16-bit integer
wbemCimtypeUint16
Value: 18
Unsigned 16-bit integer
wbemCimtypeSint32
Value: 3
Signed 32-bit integer
wbemCimtypeUint32
Value: 19
Unsigned 32-bit integer
wbemCimtypeSint64
Value: 20
Signed 64-bit integer
wbemCimtypeUint64
Value: 21
Unsigned 64-bit integer
wbemCimtypeReal32
Value: 4
32-bit real number
wbemCimtypeReal64
Value: 5
64-bit real number
wbemCimtypeBoolean
Value: 11
Boolean value
wbemCimtypeString
Value: 8
String
wbemCimtypeDatetime
Value: 101
Date/time value
wbemCimtypeReference
Value: 102
Reference to a CIM object
wbemCimtypeChar16
Value: 103
16-bit character
wbemCimtypeObject
Value: 13
CIM object

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header wbemdisp.h

See also

CIMTYPE_ENUMERATION

Scripting API Constants