EventDescCreate function (evntprov.h)
Sets the values of an event descriptor.
EVNTPROV_PFORCEINLINE VOID EventDescCreate( PEVENT_DESCRIPTOR EventDescriptor, USHORT Id, UCHAR Version, UCHAR Channel, UCHAR Level, USHORT Task, UCHAR Opcode, ULONGLONG Keyword );
Event descriptor whose member values are set to those of the remaining parameters. For details, see EVENT_DESCRIPTOR.
Event identifier. The value is used to set the Id member of EVENT_DESCRIPTOR.
Version of the event. The value is used to set the Version member of EVENT_DESCRIPTOR.
The category of events to which this event belongs. The value is used to set the Channel member of EVENT_DESCRIPTOR.
Specifies the severity of the event. The value is used to set the Level member of EVENT_DESCRIPTOR.
Identifies a logical component of the application whose events you want to enable. The value is used to set the Task member of EVENT_DESCRIPTOR.
Operation being performed at the time the event was written. The value is used to set the Opcode member of EVENT_DESCRIPTOR.
Bitmask that further defines the category of events to which the event belongs. The value is used to set the Keyword member of EVENT_DESCRIPTOR.
This function does not return a value.
This is a convenience macro for setting the members of the EVENT_DESCRIPTOR structure.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|