EVT_VARIANT_TYPE enumeration
Applies to: desktop apps only
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
-
Null content that implies that the element that contains the content does not exist.
- EvtVarTypeString
-
A null-terminated Unicode string.
- EvtVarTypeAnsiString
-
A null-terminated ANSI string.
- EvtVarTypeSByte
-
A signed 8-bit integer value.
- EvtVarTypeByte
-
An unsigned 8-bit integer value.
- EvtVarTypeInt16
-
An signed 16-bit integer value.
- EvtVarTypeUInt16
-
An unsigned 16-bit integer value.
- EvtVarTypeInt32
-
A signed 32-bit integer value.
- EvtVarTypeUInt32
-
An unsigned 32-bit integer value.
- EvtVarTypeInt64
-
A signed 64-bit integer value.
- EvtVarTypeUInt64
-
An unsigned 64-bit integer value.
- EvtVarTypeSingle
-
A single-precision real value.
- EvtVarTypeDouble
-
A double-precision real value.
- EvtVarTypeBoolean
-
A Boolean value.
- EvtVarTypeBinary
-
A hexadecimal binary value.
- EvtVarTypeGuid
-
A GUID value.
- EvtVarTypeSizeT
-
An unsigned 32-bit or 64-bit integer value that contains a pointer address.
- EvtVarTypeFileTime
-
A FILETIME value.
- EvtVarTypeSysTime
-
A SYSTEMTIME value.
- EvtVarTypeSid
-
A security identifier (SID) structure
- EvtVarTypeHexInt32
-
A 32-bit hexadecimal number.
- EvtVarTypeHexInt64
-
A 64-bit hexadecimal number.
- EvtVarTypeEvtHandle
-
An EVT_HANDLE value.
- EvtVarTypeEvtXml
-
A null-terminated Unicode string that contains XML.
Requirements
|
Minimum supported client | Windows Vista |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 2/3/2012