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 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
EvtFormatMessageEventValue: 1 Format the event's message string. |
EvtFormatMessageLevelFormat the message string of the level specified in the event. |
EvtFormatMessageTaskFormat the message string of the task specified in the event. |
EvtFormatMessageOpcodeFormat the message string of the opcode specified in the event. |
EvtFormatMessageKeywordFormat 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. |
EvtFormatMessageChannelFormat the message string of the channel specified in the event. |
EvtFormatMessageProviderFormat the provider's message string. |
EvtFormatMessageIdFormat 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. |
EvtFormatMessageXmlFormat 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 |