EVT_FORMAT_MESSAGE_FLAGS enumeration (winevt.h)

Defines the values that specify the message string from the event to format.

Syntax

typedef enum _EVT_FORMAT_MESSAGE_FLAGS {
  EvtFormatMessageEvent = 1,
  EvtFormatMessageLevel,
  EvtFormatMessageTask,
  EvtFormatMessageOpcode,
  EvtFormatMessageKeyword,
  EvtFormatMessageChannel,
  EvtFormatMessageProvider,
  EvtFormatMessageId,
  EvtFormatMessageXml
} EVT_FORMAT_MESSAGE_FLAGS;

Constants

 
EvtFormatMessageEvent
Value: 1
Format the event's message string.
EvtFormatMessageLevel
Format the message string of the level specified in the event.
EvtFormatMessageTask
Format the message string of the task specified in the event.
EvtFormatMessageOpcode
Format the message string of the opcode specified in the event.
EvtFormatMessageKeyword
Format the message string of the keywords specified in the event. If the event specifies multiple keywords, the formatted string is a list of null-terminated strings. Increment through the strings until your pointer points past the end of the used buffer.
EvtFormatMessageChannel
Format the message string of the channel specified in the event.
EvtFormatMessageProvider
Format the provider's message string.
EvtFormatMessageId
Format the message string associated with a resource identifier. The provider's metadata contains the resource identifiers; the message compiler assigns a resource identifier to each string when it compiles the manifest.
EvtFormatMessageXml
Format all the message strings in the event. The formatted message is an XML string that contains the event details and the message strings. The message strings are included in the RenderingInfo section of the event details.

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

EvtFormatMessage