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.

43 lines
888 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // File: private.h
  4. //
  5. // Contents: Private header for simx project.
  6. //
  7. //----------------------------------------------------------------------------
  8. #ifndef _PRIVATE_H_
  9. #define _PRIVATE_H_
  10. #if _MSC_VER > 1000
  11. #pragma once
  12. #endif // _MSC_VER > 1000
  13. #define STRICT
  14. #ifndef _WIN32_WINNT
  15. #define _WIN32_WINNT 0x0400
  16. #endif
  17. #define _OLEAUT32_
  18. #define _ATL_APARTMENT_THREADED
  19. #include <atlbase.h>
  20. //You may derive a class from CComModule and use it if you want to override
  21. //something, but do not change the name of _Module
  22. extern CComModule _Module;
  23. #include <atlcom.h>
  24. #ifdef _ATL_STATIC_REGISTRY
  25. #include <statreg.h>
  26. #include <statreg.cpp>
  27. #endif
  28. #include <atlimpl.cpp>
  29. #define STRSAFE_NO_DEPRECATE
  30. #include "strsafe.h"
  31. #endif // _PRIVATE_H_