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 identifiers that identify the metadata properties of a provider.
Syntax
typedef enum _EVT_PUBLISHER_METADATA_PROPERTY_ID {
EvtPublisherMetadataPublisherGuid = 0,
EvtPublisherMetadataResourceFilePath,
EvtPublisherMetadataParameterFilePath,
EvtPublisherMetadataMessageFilePath,
EvtPublisherMetadataHelpLink,
EvtPublisherMetadataPublisherMessageID,
EvtPublisherMetadataChannelReferences,
EvtPublisherMetadataChannelReferencePath,
EvtPublisherMetadataChannelReferenceIndex,
EvtPublisherMetadataChannelReferenceID,
EvtPublisherMetadataChannelReferenceFlags,
EvtPublisherMetadataChannelReferenceMessageID,
EvtPublisherMetadataLevels,
EvtPublisherMetadataLevelName,
EvtPublisherMetadataLevelValue,
EvtPublisherMetadataLevelMessageID,
EvtPublisherMetadataTasks,
EvtPublisherMetadataTaskName,
EvtPublisherMetadataTaskEventGuid,
EvtPublisherMetadataTaskValue,
EvtPublisherMetadataTaskMessageID,
EvtPublisherMetadataOpcodes,
EvtPublisherMetadataOpcodeName,
EvtPublisherMetadataOpcodeValue,
EvtPublisherMetadataOpcodeMessageID,
EvtPublisherMetadataKeywords,
EvtPublisherMetadataKeywordName,
EvtPublisherMetadataKeywordValue,
EvtPublisherMetadataKeywordMessageID,
EvtPublisherMetadataPropertyIdEND
} EVT_PUBLISHER_METADATA_PROPERTY_ID;
Constants
EvtPublisherMetadataPublisherGuidValue: 0 Identifies the guid attribute of the provider. The variant type for this property is EvtVarTypeGuid. |
EvtPublisherMetadataResourceFilePathIdentifies the resourceFilePath attribute of the provider. The variant type for this property is EvtVarTypeString. |
EvtPublisherMetadataParameterFilePathIdentifies the parameterFilePath attribute of the provider. The variant type for this property is EvtVarTypeString. |
EvtPublisherMetadataMessageFilePathIdentifies the messageFilePath attribute of the provider. The variant type for this property is EvtVarTypeString. |
EvtPublisherMetadataHelpLinkIdentifies the helpLink attribute of the provider. The variant type for this property is EvtVarTypeString. |
EvtPublisherMetadataPublisherMessageIDIdentifies the message attribute of the provider. The metadata is the resource identifier assigned to the message string. To get the message string, call the EvtFormatMessage function. The variant type for this property is EvtVarTypeUInt32. If the provider does not specify a message, the value is –1. |
EvtPublisherMetadataChannelReferencesIdentifies the channels child element of the provider. The variant type for this property is EvtVarTypeEvtHandle. To access the metadata of the channels that the provider defines or imports, use this handle when calling the EvtGetObjectArrayProperty function. For details, see Remarks. When you are done with the handle, call the EvtClose function. |
EvtPublisherMetadataChannelReferencePathIdentifies the name attribute of the channel. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. The variant type for this property is EvtVarTypeString. |
EvtPublisherMetadataChannelReferenceIndexIdentifies the zero-based index value of the channel in the list of channels. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. The variant type for this property is EvtVarTypeUInt32. |
EvtPublisherMetadataChannelReferenceIDIdentifies the value attribute of the channel. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. The variant type for this property is EvtVarTypeUInt32. |
EvtPublisherMetadataChannelReferenceFlagsIdentifies the flags value that indicates whether this channel is imported from another provider. The channel is imported if the EvtChannelReferenceImported flag value is set. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. The variant type for this property is EvtVarTypeUInt32. |
EvtPublisherMetadataChannelReferenceMessageIDIdentifies the message attribute of the channel. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. 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 channel does not specify a message, the value is –1. |
EvtPublisherMetadataLevelsIdentifies the levels child element of the provider. The variant type for this property is EvtVarTypeEvtHandle. To access the metadata of the levels that the provider defines or references, use this handle when calling the EvtGetObjectArrayProperty function. For details, see Remarks. When you are done with the handle, call the EvtClose function. |
EvtPublisherMetadataLevelNameIdentifies the name attribute of the level. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. The variant type for this property is EvtVarTypeString. |
EvtPublisherMetadataLevelValueIdentifies the value attribute of the level. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. The variant type for this property is EvtVarTypeUInt32. |
EvtPublisherMetadataLevelMessageIDIdentifies the message attribute of the level. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. 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 level does not specify a message, the value is –1. |
EvtPublisherMetadataTasksIdentifies the tasks child element of the provider. The variant type for this property is EvtVarTypeEvtHandle. To access the metadata of the tasks that the provider defines, use this handle when calling the EvtGetObjectArrayProperty function. For details, see Remarks. When you are done with the handle, call the EvtClose function. |
EvtPublisherMetadataTaskNameIdentifies the name attribute of the task. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. The variant type for this property is EvtVarTypeString. |
EvtPublisherMetadataTaskEventGuidIdentifies the eventGuid attribute of the task. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. The variant type for this property is EvtVarTypeString. |
EvtPublisherMetadataTaskValueIdentifies the value attribute of the task. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. The variant type for this property is EvtVarTypeUInt32. |
EvtPublisherMetadataTaskMessageIDIdentifies the message attribute of the task. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. 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 task does not specify a message, the value is –1. |
EvtPublisherMetadataOpcodesIdentifies the opcodes child element of the provider. The variant type for this property is EvtVarTypeEvtHandle. To access the metadata of the opcodes that the provider defines or references, use this handle when calling the EvtGetObjectArrayProperty function. For details, see Remarks. When you are done with the handle, call the EvtClose function. |
EvtPublisherMetadataOpcodeNameIdentifies the name attribute of the opcode. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. The variant type for this property is EvtVarTypeString. |
EvtPublisherMetadataOpcodeValueIdentifies the value attribute of the opcode. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. The variant type for this property is EvtVarTypeUInt32. The high word contains the opcode value and the low word contains the task to which it belongs. If the low word is zero, the opcode is defined globally; otherwise, the opcode is task specific. Use the low word value to determine the task that defines the opcode. |
EvtPublisherMetadataOpcodeMessageIDIdentifies the message attribute of the opcode. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. 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 opcode does not specify a message, the value is –1. |
EvtPublisherMetadataKeywordsIdentifies the keywords child element of the provider. The variant type for this property is EvtVarTypeEvtHandle. To access the metadata of the keywords that the provider defines, use this handle when calling the EvtGetObjectArrayProperty function. For details, see Remarks. When you are done with the handle, call the EvtClose function. |
EvtPublisherMetadataKeywordNameIdentifies the name attribute of the keyword. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. The variant type for this property is EvtVarTypeString. |
EvtPublisherMetadataKeywordValueIdentifies the mask attribute of the keyword. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. The variant type for this property is EvtVarTypeUInt64. |
EvtPublisherMetadataKeywordMessageIDIdentifies the message attribute of the keyword. Use this identifier when calling the EvtGetObjectArrayProperty function. For details, see Remarks. 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 keyword does not specify a message, the value is –1. |
EvtPublisherMetadataPropertyIdENDThis enumeration value marks the end of the enumeration values. |
Remarks
This list of identifiers in this enumeration are for those properties that cannot change. To get the configuration for a channel, call the EvtGetChannelConfigProperty function.
You cannot use the following property identifiers when calling the EvtGetPublisherMetadataProperty function:
- EvtPublisherMetadataChannelReferencePath
- EvtPublisherMetadataChannelReferenceIndex
- EvtPublisherMetadataChannelReferenceID
- EvtPublisherMetadataChannelReferenceFlags
- EvtPublisherMetadataChannelReferenceMessageID
- EvtPublisherMetadataLevelName
- EvtPublisherMetadataLevelValue
- EvtPublisherMetadataLevelMessageID
- EvtPublisherMetadataTaskName
- EvtPublisherMetadataTaskEventGuid
- EvtPublisherMetadataTaskValue
- EvtPublisherMetadataTaskMessageID
- EvtPublisherMetadataOpcodeName
- EvtPublisherMetadataOpcodeValue
- EvtPublisherMetadataOpcodeMessageID
- EvtPublisherMetadataKeywordName
- EvtPublisherMetadataKeywordValue
- EvtPublisherMetadataKeywordMessageID
The handle points to an array of objects that contain the metadata for child type that the provider defines. To determine how many objects are in the array, call the EvtGetObjectArraySize function. To access a property of one of the objects, call the EvtGetObjectArrayProperty function and specify the identifier of the property that you want to retrieve.
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
EVT_EVENT_METADATA_PROPERTY_ID