evntprov.h header

This header is used by Event Tracing. For more information, see:

  • Event Tracing evntprov.h contains the following programming interfaces:

Functions

Title Description
EventActivityIdControl Creates, queries, and sets the current activity identifier used by the EventWriteTransfer function.
EventDataDescCreate Sets the values of an event data descriptor.
EventDescCreate Sets the values of an event descriptor.
EventDescGetChannel Retrieves the channel from the event descriptor.
EventDescGetId Retrieves the event identifier from the event descriptor.
EventDescGetKeyword Retrieves the keyword from the event descriptor.
EventDescGetLevel Retrieves the severity level from the event descriptor.
EventDescGetOpcode Retrieves the operation code from the event descriptor.
EventDescGetTask Retrieves the task from the event descriptor.
EventDescGetVersion Retrieves the version from the event descriptor.
EventDescOrKeyword Adds another keyword to the event descriptor.
EventDescSetChannel Sets the Channel member of the event descriptor.
EventDescSetId Sets the Id member of the event descriptor.
EventDescSetKeyword Sets the Keyword member of the event descriptor.
EventDescSetLevel Sets the Level member of the event descriptor.
EventDescSetOpcode Sets the Opcode member of the event descriptor.
EventDescSetTask Sets the Task member of the event descriptor.
EventDescSetVersion Sets the Version member of the event descriptor.
EventDescZero Initializes an event descriptor to zero.
EventEnabled Determines if the event is enabled for any session.
EventProviderEnabled Determines if the event is enabled for any session.
EventRegister Registers the provider.
EventSetInformation Performs operations on a registration object.
EventUnregister Removes the provider's registration. You must call this function before your process exits.
EventWrite Use this function to write an event.
EventWriteEx Use this function to write an event.
EventWriteString Writes an event that contains a string as its data.
EventWriteTransfer Links events together when tracing events in an end-to-end scenario.

Callback functions

Title Description
PENABLECALLBACK Providers implement this function to receive enable or disable notification requests. The PENABLECALLBACK type defines a pointer to this callback function. EnableCallback is a placeholder for the application-defined function name.

Structures

Title Description
EVENT_DATA_DESCRIPTOR Defines one of the data items of the event data.
EVENT_DESCRIPTOR Contains metadata that defines the event.
EVENT_FILTER_DESCRIPTOR Defines the filter data that a session passes to the provider's enable callback function.
EVENT_FILTER_EVENT_ID Defines event IDs used in an EVENT_FILTER_DESCRIPTOR structure for an event ID or stack walk filter.
EVENT_FILTER_EVENT_NAME Defines event IDs used in an EVENT_FILTER_DESCRIPTOR structure for an event name or stalk walk name filter.
EVENT_FILTER_HEADER Defines the header data that must precede the filter data that is defined in the instrumentation manifest.
EVENT_FILTER_LEVEL_KW Defines event IDs used in an EVENT_FILTER_DESCRIPTOR structure for a stack walk level-keyword filter.

Enumerations

Title Description
EVENT_INFO_CLASS Defines a type of operation to perform on a registration object.