MEITraceFunction meiPlatformTraceFunction(MEITraceFunction traceFunction)
Required Header stdmei.h

PlatformTraceFunction displays the trace output using traceFunction, and replaces the internal function that was called by meiPlatformTrace(...) to display the trace output. Use PlatformTraceFunction to enable your application to take control of the display of trace output.

Return Values
the previous traceFunction if there is a previous function
NULL if no traceFunction has been specified (the default trace function is used)
See Also meiPlatformTrace