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.

46 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__E8FB8617_588F_11D2_9D61_00C04F79C5FE__INCLUDED_)
  5. #define AFX_STDAFX_H__E8FB8617_588F_11D2_9D61_00C04F79C5FE__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 0x0500
  12. #endif
  13. #define _ATL_APARTMENT_THREADED
  14. #pragma prefast(push)
  15. #pragma prefast(disable:255 221, "atl error")
  16. #include <atlbase.h>
  17. #pragma prefast(pop)
  18. //You may derive a class from CComModule and use it if you want to override
  19. //something, but do not change the name of _Module
  20. class CExeModule : public CComModule
  21. {
  22. public:
  23. LONG Unlock();
  24. DWORD dwThreadID;
  25. HANDLE hEventShutdown;
  26. void MonitorShutdown();
  27. bool StartMonitor();
  28. bool bActivity;
  29. };
  30. extern CExeModule _Module;
  31. #pragma prefast(push)
  32. #pragma prefast(disable:248 255, "atl error")
  33. #include <atlcom.h>
  34. #pragma prefast(pop)
  35. //{{AFX_INSERT_LOCATION}}
  36. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  37. #endif // !defined(AFX_STDAFX_H__E8FB8617_588F_11D2_9D61_00C04F79C5FE__INCLUDED)