Share via


Trace_agents_register_name Function

Associates the given name to the message block or agent in the ETW trace.

template <
   class _Type
>
void Trace_agents_register_name(
   _Inout_ _Type * _PObject,
   _In_z_ const wchar_t * _Name
);

Parameters

  • _Type
    The type of the object. This is typically a message block or an agent.

  • _PObject
    A pointer to the message block or agent that is being named in the trace.

  • _Name
    The name for the given object.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

concurrency Namespace