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.

54 lines
1.2 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. // stdafx.h : include file for standard system include files,
  3. // or project specific include files that are used frequently,
  4. // but are changed infrequently
  5. #if !defined(AFX_STDAFX_H__BB0D717D_3C44_11D2_BB98_3078302C2030__INCLUDED_)
  6. #define AFX_STDAFX_H__BB0D717D_3C44_11D2_BB98_3078302C2030__INCLUDED_
  7. #if _MSC_VER >= 1000
  8. #pragma once
  9. #endif // _MSC_VER >= 1000
  10. #define STRICT
  11. //#define _WIN32_WINNT 0x0400
  12. #define _ATL_APARTMENT_THREADED
  13. #include <atlbase.h>
  14. //You may derive a class from CComModule and use it if you want to override
  15. //something, but do not change the name of _Module
  16. extern CComModule _Module;
  17. #include <atlcom.h>
  18. #ifdef DBG
  19. extern bool g_fDebug;
  20. #define ODS( x ) \
  21. if( g_fDebug ) OutputDebugString( x ); \
  22. #define DBGMSG( x , y ) \
  23. {\
  24. TCHAR tchErr[80]; \
  25. if( g_fDebug ) {\
  26. wsprintf( tchErr , x , y ); \
  27. ODS( tchErr ); \
  28. }\
  29. }
  30. #else
  31. #define ODS
  32. #define DBGMSG
  33. #endif
  34. //{{AFX_INSERT_LOCATION}}
  35. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  36. #endif // !defined(AFX_STDAFX_H__BB0D717D_3C44_11D2_BB98_3078302C2030__INCLUDED)