Leaked source code of windows server 2003
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.

19 lines
352 B

  1. // dutils.h
  2. #pragma once
  3. extern "C" void MBTrace(LPCTSTR szFormat, ...);
  4. extern "C" void FTrace(LPCTSTR szFormat, ...);
  5. extern "C" void Trace(LPCTSTR szFormat, ...);
  6. #ifdef USE_FTRACE
  7. #define TRACE FTrace
  8. #else
  9. #ifndef _DEBUG
  10. #define TRACE 1 ? (void)0 : ::Trace
  11. #else
  12. #define TRACE ::Trace
  13. #endif
  14. #endif // #ifdef USE_FTRACE