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.

88 lines
2.0 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__1CAEC061_45C2_4EA3_BCA0_B9EB25932A8B__INCLUDED_)
  5. #define AFX_STDAFX_H__1CAEC061_45C2_4EA3_BCA0_B9EB25932A8B__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #define STRICT
  10. #ifndef _WIN32_WINNT
  11. #define _WIN32_WINNT 0x0400
  12. #endif
  13. #define _ATL_APARTMENT_THREADED
  14. #include <nt.h>
  15. #include <ntrtl.h>
  16. #include <nturtl.h>
  17. #undef ASSERT
  18. #include <atlbase.h>
  19. //You may derive a class from CComModule and use it if you want to override
  20. //something, but do not change the name of _Module
  21. extern CComModule _Module;
  22. #include <atlcom.h>
  23. #include <windows.h> // added after atl wizard
  24. // added after atl wizard
  25. #include <comdef.h>
  26. #define _WTL_NO_CSTRING
  27. #include <atlwin.h>
  28. #include <atlapp.h>
  29. #include <atldlgs.h>
  30. #include <atlmisc.h>
  31. #include <atlctrls.h>
  32. #include <atlddx.h>
  33. #include <atlcrack.h>
  34. #include <list>
  35. #include <map>
  36. #include <stack>
  37. #include <set>
  38. #include <memory>
  39. #include <shlwapi.h>
  40. #include "iisdebug.h"
  41. #include "global.h"
  42. #include <lmcons.h>
  43. #ifdef ISOLATION_AWARE_ENABLED
  44. #include <shfusion.h>
  45. class CThemeContextActivator
  46. {
  47. public:
  48. CThemeContextActivator() : m_ulActivationCookie(0)
  49. { SHActivateContext (&m_ulActivationCookie); }
  50. ~CThemeContextActivator()
  51. { SHDeactivateContext (m_ulActivationCookie); }
  52. private:
  53. ULONG_PTR m_ulActivationCookie;
  54. };
  55. #else
  56. class CThemeContextActivator
  57. {
  58. public:
  59. CThemeContextActivator() : m_ulActivationCookie(0)
  60. { }
  61. ~CThemeContextActivator()
  62. { }
  63. private:
  64. ULONG_PTR m_ulActivationCookie;
  65. };
  66. #endif
  67. //{{AFX_INSERT_LOCATION}}
  68. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  69. #endif // !defined(AFX_STDAFX_H__1CAEC061_45C2_4EA3_BCA0_B9EB25932A8B__INCLUDED)