EventDescSetTask macro

Sets the Task member of the event descriptor.

Syntax


PEVENT_DESCRIPTOR EventDescSetTask(
  [in]  PEVENT_DESCRIPTOR EventDescriptor,
  [in]  USHORT Task
);

Parameters

EventDescriptor [in]

Event descriptor to modify. See EVENT_DESCRIPTOR.

Task [in]

Task that identifies the logical component of the application whose events you want to enable.

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft