EventDescSetLevel function (evntprov.h)

Sets the Level member of the event descriptor.

Syntax

EVNTPROV_PFORCEINLINE PEVENT_DESCRIPTOR EventDescSetLevel(
  [in] PEVENT_DESCRIPTOR EventDescriptor,
  [in] UCHAR             Level
);

Parameters

[in] EventDescriptor

Event descriptor to modify. See EVENT_DESCRIPTOR.

[in] Level

Severity level that indicates the verboseness with which to log the event. For details, see the Level parameter of EnableTraceEx.

Return value

The modified event descriptor.

Remarks

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

Requirements

Requirement Value
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