EventDescSetChannel function

Sets the Channel member of the event descriptor.

Syntax

EVNTPROV_PFORCEINLINE PEVENT_DESCRIPTOR EventDescSetChannel(
  PEVENT_DESCRIPTOR EventDescriptor,
  UCHAR             Channel
);

Parameters

EventDescriptor

Event descriptor to modify. See EVENT_DESCRIPTOR.

Channel

Channel that defines the category of events to which this event belongs.

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