Listing 1: Typical function prototype for tracing “the old way”

#ifndef _DEBUG_H
#define _DEBUG_H

HWND CreateDebugWindow( char *name );
void DestroyDebugWindow( HWND handle );
int SendDebugText( HWND, char *fmt, ... )

#endif /* #ifndef _DEBUG_H */

— End of Listing —