Skip to content

Latest commit

 

History

History
109 lines (77 loc) · 7.04 KB

ne-winevt-evt_event_metadata_property_id.md

File metadata and controls

109 lines (77 loc) · 7.04 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:winevt._EVT_EVENT_METADATA_PROPERTY_ID
EVT_EVENT_METADATA_PROPERTY_ID (winevt.h)
Defines the identifiers that identify the metadata properties of an event definition.
EVT_EVENT_METADATA_PROPERTY_ID
EVT_EVENT_METADATA_PROPERTY_ID enumeration [EventLog]
EventMetadataEventChannel
EventMetadataEventID
EventMetadataEventKeyword
EventMetadataEventLevel
EventMetadataEventMessageID
EventMetadataEventOpcode
EventMetadataEventTask
EventMetadataEventTemplate
EventMetadataEventVersion
EvtEventMetadataPropertyIdEND
wes.evt_event_metadata_property_id
winevt/EVT_EVENT_METADATA_PROPERTY_ID
winevt/EventMetadataEventChannel
winevt/EventMetadataEventID
winevt/EventMetadataEventKeyword
winevt/EventMetadataEventLevel
winevt/EventMetadataEventMessageID
winevt/EventMetadataEventOpcode
winevt/EventMetadataEventTask
winevt/EventMetadataEventTemplate
winevt/EventMetadataEventVersion
winevt/EvtEventMetadataPropertyIdEND
wes\evt_event_metadata_property_id.htm
wes
d5a71e51-c080-4976-9f33-fe24b523ae81
12/05/2018
EVT_EVENT_METADATA_PROPERTY_ID, EVT_EVENT_METADATA_PROPERTY_ID enumeration [EventLog], EventMetadataEventChannel, EventMetadataEventID, EventMetadataEventKeyword, EventMetadataEventLevel, EventMetadataEventMessageID, EventMetadataEventOpcode, EventMetadataEventTask, EventMetadataEventTemplate, EventMetadataEventVersion, EvtEventMetadataPropertyIdEND, wes.evt_event_metadata_property_id, winevt/EVT_EVENT_METADATA_PROPERTY_ID, winevt/EventMetadataEventChannel, winevt/EventMetadataEventID, winevt/EventMetadataEventKeyword, winevt/EventMetadataEventLevel, winevt/EventMetadataEventMessageID, winevt/EventMetadataEventOpcode, winevt/EventMetadataEventTask, winevt/EventMetadataEventTemplate, winevt/EventMetadataEventVersion, winevt/EvtEventMetadataPropertyIdEND
winevt.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
EVT_EVENT_METADATA_PROPERTY_ID
19H1
_EVT_EVENT_METADATA_PROPERTY_ID
winevt/_EVT_EVENT_METADATA_PROPERTY_ID
EVT_EVENT_METADATA_PROPERTY_ID
winevt/EVT_EVENT_METADATA_PROPERTY_ID
c++
APIRef
kbSyntax
HeaderDef
WinEvt.h
EVT_EVENT_METADATA_PROPERTY_ID

EVT_EVENT_METADATA_PROPERTY_ID enumeration

-description

Defines the identifiers that identify the metadata properties of an event definition.

-enum-fields

-field EventMetadataEventID

Identifies the value attribute of the event definition. The variant type for this property is EvtVarTypeUInt32.

-field EventMetadataEventVersion

Identifies the version attribute of the event definition. The variant type for this property is EvtVarTypeUInt32.

-field EventMetadataEventChannel

Identifies the channel attribute of the event definition. The variant type for this property is EvtVarTypeUInt32. This property does not contain the channel identifier that you specified in the event definition but instead contains the value attribute of the channel. The value is zero if the event definition does not specify a channel.

-field EventMetadataEventLevel

Identifies the level attribute of the event definition. The variant type for this property is EvtVarTypeUInt32. This property does not contain the level name that you specified in the event definition but instead contains the value attribute of the level. The value is zero if the event definition does not specify a level.

-field EventMetadataEventOpcode

Identifies the opcode attribute of the event definition. The variant type for this property is EvtVarTypeUInt32. This property does not contain the opcode name that you specified in the event definition but instead contains the value attribute of the opcode. The value is zero if the event definition does not specify an opcode.

-field EventMetadataEventTask

Identifies the task attribute of the event definition. The variant type for this property is EvtVarTypeUInt32. This property does not contain the task name that you specified in the event definition but instead contains the value attribute of the task. The value is zero if the event definition does not specify a task.

-field EventMetadataEventKeyword

Identifies the keyword attribute of the event definition. The variant type for this property is EvtVarTypeUInt64. This property does not contain the list of keyword names that you specified in the event definition but instead contains a 64-bitmask of all the keywords. The top 16 bits of the mask are reserved for internal use and should be ignored when determining the keyword bits that the event definition set.

-field EventMetadataEventMessageID

Identifies the message attribute of the event definition. The variant type for this property is EvtVarTypeUInt32. The property contains the resource identifier that is assigned to the message string. To get the message string, call the EvtFormatMessage function. If the event definition does not specify a message, the value is –1.

-field EventMetadataEventTemplate

Identifies the template attribute of the event definition. The variant type for this property is EvtVarTypeString. This property does not contain the template name that you specified in the event definition but instead contains an XML string that includes the template node and each data node; the string does not include the UserData. The value is an empty string if the event definition does not specify a template.

-field EvtEventMetadataPropertyIdEND

This enumeration value marks the end of the enumeration values.

-remarks

The channel, level, opcode, task, and keyword properties return the value of the value attribute. To get the metadata for a property whose value is not zero, call the EvtGetPublisherMetadataProperty function for the property. For example, to get the metadata for the task property, call EvtGetPublisherMetadataProperty using the EvtPublisherMetadataTasks provider property identifier. The function returns an array of task objects that you enumerate. For each object, compare the value of the object's value property to the value specified in the event. If the values match, use the metadata from that object.

-see-also

EventDefinitionType Complex Type

EvtGetEventMetadataProperty