EventDescGetOpcode function (evntprov.h)

Retrieves the operation code from the event descriptor.

Syntax

EVNTPROV_PFORCEINLINE UCHAR EventDescGetOpcode(
  [in] PCEVENT_DESCRIPTOR EventDescriptor
);

Parameters

[in] EventDescriptor

Event descriptor from which to retrieve the operation code. See EVENT_DESCRIPTOR.

Return value

Operation code that identifies the operation being performed at the time the event was written.

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