EventDescSetId function

Sets the Id member of the event descriptor.

Syntax

EVNTPROV_PFORCEINLINE PEVENT_DESCRIPTOR EventDescSetId(
  PEVENT_DESCRIPTOR EventDescriptor,
  USHORT            Id
);

Parameters

EventDescriptor

Event descriptor to modify. See EVENT_DESCRIPTOR.

Id

The event identifier.

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