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.

37 lines
1.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__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. #include <atlbase.h>
  15. //You may derive a class from CComModule and use it if you want to override
  16. //something, but do not change the name of _Module
  17. class CExeModule : public CComModule
  18. {
  19. public:
  20. LONG Unlock();
  21. DWORD dwThreadID;
  22. HANDLE hEventShutdown;
  23. void MonitorShutdown();
  24. bool StartMonitor();
  25. bool bActivity;
  26. };
  27. extern CExeModule _Module;
  28. #include <atlcom.h>
  29. //{{AFX_INSERT_LOCATION}}
  30. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  31. #endif // !defined(AFX_STDAFX_H__E8FB8617_588F_11D2_9D61_00C04F79C5FE__INCLUDED)