Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventDescSetOpcode macro

Sets the Opcode member of the event descriptor.

Syntax


PEVENT_DESCRIPTOR EventDescSetOpcode(
  [in] PEVENT_DESCRIPTOR EventDescriptor,
  [in] UCHAR             Opcode
);

Parameters

EventDescriptor [in]

Event descriptor to modify. See EVENT_DESCRIPTOR.

Opcode [in]

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

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:
© 2017 Microsoft