EventDescSetLevel macro

Sets the Level member of the event descriptor.

Syntax


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

Parameters

EventDescriptor [in]

Event descriptor to modify. See EVENT_DESCRIPTOR.

Level [in]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Evntprov.h

See also

EVENT_DESCRIPTOR

 

 

Show: