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.

57 lines
1.5 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: stdafx.h
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. //
  8. //
  9. //-----------------------------------------------------------------------------
  10. // stdafx.h : include file for standard system include files,
  11. // or project specific include files that are used frequently, but
  12. // are changed infrequently
  13. //
  14. #pragma warning(disable : 4244 4310 4100 4786)
  15. #pragma warning(disable : 4663 4244)
  16. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  17. #include <afxwin.h> // MFC core and standard components
  18. #include <afxext.h> // MFC extensions
  19. #include <afxdisp.h> // MFC Automation classes
  20. #ifndef _AFX_NO_AFXCMN_SUPPORT
  21. #include <afxcmn.h> // MFC support for Windows Common Controls
  22. #endif // _AFX_NO_AFXCMN_SUPPORT
  23. #include <afxrich.h> // MFC rich edit classes
  24. #pragma warning(disable : 4310)
  25. #include <comdef.h> // COM
  26. #include <afxpriv.h> // for USE_CONVERSIONS stuff
  27. #include <..\src\AfxImpl.h>
  28. #include <afxtempl.h>
  29. #include <map>
  30. #include <list>
  31. #define _ATL_APARTMENT_THREADED
  32. #include <atlbase.h>
  33. //You may derive a class from CComModule and use it if you want to override
  34. //something, but do not change the name of _Module
  35. class CLtaModule : public CComModule
  36. {
  37. public:
  38. LONG Unlock();
  39. LONG Lock();
  40. DWORD dwThreadID;
  41. };
  42. extern CLtaModule _Module;
  43. #include <atlcom.h>
  44. #include <mitutil.h>
  45. #include <locutil.h>
  46. #pragma warning(disable : 4786)