MI_Type enumeration (mi.h)
These values specify the data type of qualifiers, properties, references, parameters, and method return values for the CIM data types.
Syntax
typedef enum _MI_Type {
MI_BOOLEAN = 0,
MI_UINT8 = 1,
MI_SINT8 = 2,
MI_UINT16 = 3,
MI_SINT16 = 4,
MI_UINT32 = 5,
MI_SINT32 = 6,
MI_UINT64 = 7,
MI_SINT64 = 8,
MI_REAL32 = 9,
MI_REAL64 = 10,
MI_CHAR16 = 11,
MI_DATETIME = 12,
MI_STRING = 13,
MI_REFERENCE = 14,
MI_INSTANCE = 15,
MI_BOOLEANA = 16,
MI_UINT8A = 17,
MI_SINT8A = 18,
MI_UINT16A = 19,
MI_SINT16A = 20,
MI_UINT32A = 21,
MI_SINT32A = 22,
MI_UINT64A = 23,
MI_SINT64A = 24,
MI_REAL32A = 25,
MI_REAL64A = 26,
MI_CHAR16A = 27,
MI_DATETIMEA = 28,
MI_STRINGA = 29,
MI_REFERENCEA = 30,
MI_INSTANCEA = 31,
MI_ARRAY = 16
} MI_Type;
Constants
MI_BOOLEAN Value: 0 unsigned char |
MI_UINT8 Value: 1 unsigned char |
MI_SINT8 Value: 2 signed char |
MI_UINT16 Value: 3 unsigned short |
MI_SINT16 Value: 4 signed short |
MI_UINT32 Value: 5 unsigned int |
MI_SINT32 Value: 6 signed int |
MI_UINT64 Value: 7 unsigned __int64 |
MI_SINT64 Value: 8 signed __int64 |
MI_REAL32 Value: 9 float |
MI_REAL64 Value: 10 double |
MI_CHAR16 Value: 11 unsigned short |
MI_DATETIME Value: 12 Structure holding a union of MI_Timestamp or MI_Interval. |
MI_STRING Value: 13 MI_CHAR* |
MI_REFERENCE Value: 14 This is encoded as an MI_Instance, but usually only the key properties are set. |
MI_INSTANCE Value: 15 |
MI_BOOLEANA Value: 16 Array of MI_BOOLEAN types. |
MI_UINT8A Value: 17 Array of MI_UINT8 types. |
MI_SINT8A Value: 18 Array of MI_SINT8 types. |
MI_UINT16A Value: 19 Array of MI_UINT16 types. |
MI_SINT16A Value: 20 Array of MI_SINT16 types. |
MI_UINT32A Value: 21 Array of MI_UINT32 types. |
MI_SINT32A Value: 22 Array of MI_SINT32 types. |
MI_UINT64A Value: 23 Array of MI_UINT64 types. |
MI_SINT64A Value: 24 Array of MI_SINT64 types. |
MI_REAL32A Value: 25 Array of MI_REAL32 types. |
MI_REAL64A Value: 26 Array of MI_REAL64 types. |
MI_CHAR16A Value: 27 Array of MI_CHAR16 types. |
MI_DATETIMEA Value: 28 Array of MI_DATETIME structures. |
MI_STRINGA Value: 29 Array of MI_STRING types. |
MI_REFERENCEA Value: 30 Array of MI_REFERENCE types. |
MI_INSTANCEA Value: 31 Array of MI_INSTANCE types. |
MI_ARRAY Value: 16 MI_ARRAY is not an actual type, rather this is the bit that signifies the type is an array. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Header | mi.h |
Redistributable | Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2 |