Source code of Windows XP (NT5)
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
1.2 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__59C98118_C29C_11D2_A1E0_00A0C9AFE114__INCLUDED_)
  5. #define AFX_STDAFX_H__59C98118_C29C_11D2_A1E0_00A0C9AFE114__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_FREE_THREADED
  14. #ifdef _DEBUG
  15. #define _CRTDBG_MAP_ALLOC
  16. //#define _ATL_DEBUG_INTERFACES
  17. #define DEBUG_NEW new(_NORMAL_BLOCK, THIS_FILE, __LINE__)
  18. #endif
  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. class CExeModule : public CComModule
  23. {
  24. public:
  25. LONG Unlock();
  26. DWORD dwThreadID;
  27. HANDLE hEventShutdown;
  28. void MonitorShutdown();
  29. bool StartMonitor();
  30. bool bActivity;
  31. };
  32. extern CExeModule _Module;
  33. #include <atlcom.h>
  34. //{{AFX_INSERT_LOCATION}}
  35. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  36. #endif // !defined(AFX_STDAFX_H__59C98118_C29C_11D2_A1E0_00A0C9AFE114__INCLUDED)