EventDescSetVersion function

Sets the Version member of the event descriptor.

Syntax

EVNTPROV_PFORCEINLINE PEVENT_DESCRIPTOR EventDescSetVersion(
  PEVENT_DESCRIPTOR EventDescriptor,
  UCHAR             Version
);

Parameters

EventDescriptor

Event descriptor to modify. See EVENT_DESCRIPTOR.

Version

Version that identifies the revision level of the event definition. The first version of an event is zero.

Return Value

The modified event descriptor.

Remarks

This is a convenience macro for setting the member of the EVENT_DESCRIPTOR structure.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header evntprov.h

See Also

EVENT_DESCRIPTOR