Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the possible data types of a variant data item.
Syntax
typedef enum _EVT_VARIANT_TYPE {
EvtVarTypeNull = 0,
EvtVarTypeString = 1,
EvtVarTypeAnsiString = 2,
EvtVarTypeSByte = 3,
EvtVarTypeByte = 4,
EvtVarTypeInt16 = 5,
EvtVarTypeUInt16 = 6,
EvtVarTypeInt32 = 7,
EvtVarTypeUInt32 = 8,
EvtVarTypeInt64 = 9,
EvtVarTypeUInt64 = 10,
EvtVarTypeSingle = 11,
EvtVarTypeDouble = 12,
EvtVarTypeBoolean = 13,
EvtVarTypeBinary = 14,
EvtVarTypeGuid = 15,
EvtVarTypeSizeT = 16,
EvtVarTypeFileTime = 17,
EvtVarTypeSysTime = 18,
EvtVarTypeSid = 19,
EvtVarTypeHexInt32 = 20,
EvtVarTypeHexInt64 = 21,
EvtVarTypeEvtHandle = 32,
EvtVarTypeEvtXml = 35
} EVT_VARIANT_TYPE;
Constants
EvtVarTypeNullValue: 0 Null content that implies that the element that contains the content does not exist. |
EvtVarTypeStringValue: 1 A null-terminated Unicode string. |
EvtVarTypeAnsiStringValue: 2 A null-terminated ANSI string. |
EvtVarTypeSByteValue: 3 A signed 8-bit integer value. |
EvtVarTypeByteValue: 4 An unsigned 8-bit integer value. |
EvtVarTypeInt16Value: 5 An signed 16-bit integer value. |
EvtVarTypeUInt16Value: 6 An unsigned 16-bit integer value. |
EvtVarTypeInt32Value: 7 A signed 32-bit integer value. |
EvtVarTypeUInt32Value: 8 An unsigned 32-bit integer value. |
EvtVarTypeInt64Value: 9 A signed 64-bit integer value. |
EvtVarTypeUInt64Value: 10 An unsigned 64-bit integer value. |
EvtVarTypeSingleValue: 11 A single-precision real value. |
EvtVarTypeDoubleValue: 12 A double-precision real value. |
EvtVarTypeBooleanValue: 13 A Boolean value. |
EvtVarTypeBinaryValue: 14 A hexadecimal binary value. |
EvtVarTypeGuidValue: 15 A GUID value. |
EvtVarTypeSizeTValue: 16 An unsigned 32-bit or 64-bit integer value that contains a pointer address. |
EvtVarTypeFileTimeValue: 17 A FILETIME value. |
EvtVarTypeSysTimeValue: 18 A SYSTEMTIME value. |
EvtVarTypeSidValue: 19 A security identifier (SID) structure |
EvtVarTypeHexInt32Value: 20 A 32-bit hexadecimal number. |
EvtVarTypeHexInt64Value: 21 A 64-bit hexadecimal number. |
EvtVarTypeEvtHandleValue: 32 An EVT_HANDLE value. |
EvtVarTypeEvtXmlValue: 35 A null-terminated Unicode string that contains XML. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | winevt.h |