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.

50 lines
1.3 KiB

  1. // precomp.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_precomp_H__29EDE425_AA9D_4D61_885A_F8A87EBFE078__INCLUDED_)
  5. #define AFX_precomp_H__29EDE425_AA9D_4D61_885A_F8A87EBFE078__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 <atlbase.h>
  15. #include <uicommon.h>
  16. #include <commctrl.h>
  17. #include <wia.h>
  18. #include <sti.h>
  19. #include <wiavideo.h>
  20. #include <shfusion.h>
  21. #include <shpriv.h>
  22. #include <shlwapi.h>
  23. #include <shlwapip.h>
  24. //You may derive a class from CComModule and use it if you want to override
  25. //something, but do not change the name of _Module
  26. class CExeModule : public CComModule
  27. {
  28. public:
  29. LONG Unlock();
  30. DWORD dwThreadID;
  31. HANDLE hEventShutdown;
  32. void MonitorShutdown();
  33. bool StartMonitor();
  34. bool bActivity;
  35. };
  36. extern CExeModule _Module;
  37. #include <atlcom.h>
  38. extern HINSTANCE g_hInstance;
  39. //{{AFX_INSERT_LOCATION}}
  40. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  41. #endif // !defined(AFX_precomp_H__29EDE425_AA9D_4D61_885A_F8A87EBFE078__INCLUDED)