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.

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


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


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


The name for the given object.

Header: agents.h

Namespace: concurrency

© 2014 Microsoft