mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
813 B
29 lines
813 B
`**********************************************************************`
|
|
`* This is an include template file for tracewpp preprocessor. *`
|
|
`* *`
|
|
`* Copyright 1999-2000 Microsoft Corporation. All Rights Reserved. *`
|
|
`**********************************************************************`
|
|
|
|
// template `TemplateFile`
|
|
|
|
`FORALL f IN Funcs`
|
|
#define WPP`f.GooId`_LOGGER(`f.GooArgs`) // `f.Name`
|
|
`ENDFOR`
|
|
|
|
#ifndef WPP_LOGGER_ARG
|
|
# define WPP_LOGGER_ARG
|
|
#endif
|
|
|
|
#ifndef WPP_GET_LOGGER
|
|
#define WPP_GET_LOGGER WppGetLogger()
|
|
__inline TRACEHANDLE WppGetLogger()
|
|
{
|
|
static TRACEHANDLE Logger;
|
|
if (Logger) {return Logger;}
|
|
return Logger = WppQueryLogger(0);
|
|
}
|
|
#endif
|
|
|
|
#ifndef WPP_ENABLED
|
|
# define WPP_ENABLED() 1
|
|
#endif
|