EVT_VARIANT_TYPE enumeration (winevt.h)

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

 
EvtVarTypeNull
Value: 0
Null content that implies that the element that contains the content does not exist.
EvtVarTypeString
Value: 1
A null-terminated Unicode string.
EvtVarTypeAnsiString
Value: 2
A null-terminated ANSI string.
EvtVarTypeSByte
Value: 3
A signed 8-bit integer value.
EvtVarTypeByte
Value: 4
An unsigned 8-bit integer value.
EvtVarTypeInt16
Value: 5
An signed 16-bit integer value.
EvtVarTypeUInt16
Value: 6
An unsigned 16-bit integer value.
EvtVarTypeInt32
Value: 7
A signed 32-bit integer value.
EvtVarTypeUInt32
Value: 8
An unsigned 32-bit integer value.
EvtVarTypeInt64
Value: 9
A signed 64-bit integer value.
EvtVarTypeUInt64
Value: 10
An unsigned 64-bit integer value.
EvtVarTypeSingle
Value: 11
A single-precision real value.
EvtVarTypeDouble
Value: 12
A double-precision real value.
EvtVarTypeBoolean
Value: 13
A Boolean value.
EvtVarTypeBinary
Value: 14
A hexadecimal binary value.
EvtVarTypeGuid
Value: 15
A GUID value.
EvtVarTypeSizeT
Value: 16
An unsigned 32-bit or 64-bit integer value that contains a pointer address.
EvtVarTypeFileTime
Value: 17
A FILETIME value.
EvtVarTypeSysTime
Value: 18
A SYSTEMTIME value.
EvtVarTypeSid
Value: 19
A security identifier (SID) structure
EvtVarTypeHexInt32
Value: 20
A 32-bit hexadecimal number.
EvtVarTypeHexInt64
Value: 21
A 64-bit hexadecimal number.
EvtVarTypeEvtHandle
Value: 32
An EVT_HANDLE value.
EvtVarTypeEvtXml
Value: 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

See also

EVT_VARIANT