EventDescGetLevel function (evntprov.h)

Retrieves the severity level from the event descriptor.

Syntax

EVNTPROV_PFORCEINLINE UCHAR EventDescGetLevel(
  [in] PCEVENT_DESCRIPTOR EventDescriptor
);

Parameters

[in] EventDescriptor

Event descriptor from which to retrieve the severity level. See EVENT_DESCRIPTOR.

Return value

Severity level that indicates the verboseness with which to log the event.

Remarks

This is a convenience macro for retrieving 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