Windows Event Log Constants

Windows Event Log defines the following constants:

EVT_VARIANT_TYPE_MASK

0x7f

A bitmask that you use to mask out the array bit of the variant type, so you can determine the data type of the variant value that the EVT_VARIANT structure contains.

EVT_VARIANT_TYPE_ARRAY

128

The Type member of the EVT_VARIANT structure has this bit set if the variant contains a pointer to an array of values, rather than the value itself.

EVT_READ_ACCESS

0x1

Read access control permission that allows information to be read from an event log.

EVT_WRITE_ACCESS

0x2

Write access control permission that allows information to be written to an event log.

EVT_CLEAR_ACCESS

0x4

Clear access control permission that allows all information to be cleared from an event log.

EVT_ALL_ACCESS

0x7

All (read, write, clear, and delete) access control permission.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
WinEvt.h