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.

50 lines
1.3 KiB

  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently,
  3. // but are changed infrequently
  4. #if !defined(AFX_STDAFX_H__3C90D0D6_5F80_11D1_AA64_00C04FC9B202__INCLUDED_)
  5. #define AFX_STDAFX_H__3C90D0D6_5F80_11D1_AA64_00C04FC9B202__INCLUDED_
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. //#define STRICT
  10. //#define _ATL_STATIC_REGISTRY
  11. #ifndef WIN32
  12. #define WIN32
  13. #endif
  14. #ifndef _WIN32_WINNT
  15. #define _WIN32_WINNT 0x0400
  16. #endif
  17. #define _ATL_APARTMENT_THREADED
  18. #include "rrcm.h"
  19. // We should really only put this in for w2k
  20. #define _ATL_NO_DEBUG_CRT
  21. #define _ASSERTE(expr) ASSERT(expr)
  22. #include <atlbase.h>
  23. //You may derive a class from CComModule and use it if you want to override
  24. //something, but do not change the name of _Module
  25. extern CComModule _Module;
  26. extern CRITICAL_SECTION g_CritSect;
  27. #include <atlcom.h>
  28. //#include "log.h"
  29. // temp. debug defns.
  30. #define DEBUGMSG(x,y) ATLTRACE y
  31. #define RETAILMSG(x) ATLTRACE x
  32. #ifdef _DEBUG
  33. #define FX_ENTRY(s) static CHAR _fx_ [] = (s);
  34. #else
  35. #define FX_ENTRY(s)
  36. #endif
  37. //{{AFX_INSERT_LOCATION}}
  38. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  39. #endif // !defined(AFX_STDAFX_H__3C90D0D6_5F80_11D1_AA64_00C04FC9B202__INCLUDED)