Condividi tramite


WPP_LOGPAIR

The WPP_LOGPAIR macro arranges the length and address parameters that are passed to the TraceMessage. function.

# define WPP_LOGPAIR(_Size, _Addr)  (_Addr), ((SIZE_T)_Size);

Headers

Defined in a source file's trace message header file.

The WPP preprocessor generates the trace message header file and saves it in the output directory for the build process.

Comments

WPP_LOGPAIR properly arranges the parameters to the TraceMessage function for event data that is specific to the trace provider. Typically, you use the WPP_LOGPAIR macro when defining a complex data type through the DEFINE_CPLX_TYPE macro.

For more information about the DEFINE_CPLX_TYPE macro, see What is the syntax of the complex types definition?. For examples about how to use WPP_LOGPAIR, see How do I create custom WPP extended format specification strings?.

 

 

Send comments about this topic to Microsoft