Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Retrieves the task from the event descriptor.
Syntax
EVNTPROV_PFORCEINLINE USHORT EventDescGetTask(
[in] PCEVENT_DESCRIPTOR EventDescriptor
);
Parameters
[in] EventDescriptor
Event descriptor from which to retrieve the task. See EVENT_DESCRIPTOR.
Return value
Task that identifies the logical component of the application whose events you want to enable.
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 |