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.

48 lines
1.6 KiB

  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently, but
  3. // are changed infrequently
  4. //
  5. #if !defined(AFX_STDAFX_H__8509634C_D0D8_4FF8_BAD1_5FA95312BEDC__INCLUDED_)
  6. #define AFX_STDAFX_H__8509634C_D0D8_4FF8_BAD1_5FA95312BEDC__INCLUDED_
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  11. #include <afxwin.h> // MFC core and standard components
  12. #include <afxext.h> // MFC extensions
  13. #include <afxdisp.h> // MFC Automation classes
  14. #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
  15. #ifndef _AFX_NO_AFXCMN_SUPPORT
  16. #include <afxcmn.h> // MFC support for Windows Common Controls
  17. #endif // _AFX_NO_AFXCMN_SUPPORT
  18. #define _ATL_APARTMENT_THREADED
  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 CMSConfigModule : public CComModule
  23. {
  24. public:
  25. LONG Unlock();
  26. LONG Lock();
  27. LPCTSTR FindOneOf(LPCTSTR p1, LPCTSTR p2);
  28. DWORD dwThreadID;
  29. };
  30. extern CMSConfigModule _Module;
  31. #include <atlcom.h>
  32. #include <atlwin.h>
  33. #ifndef ListView_SetCheckState
  34. #define ListView_SetCheckState(hwndLV, i, fCheck) \
  35. ListView_SetItemState(hwndLV, i, \
  36. INDEXTOSTATEIMAGEMASK((fCheck)+1), LVIS_STATEIMAGEMASK)
  37. #endif
  38. //{{AFX_INSERT_LOCATION}}
  39. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  40. #endif // !defined(AFX_STDAFX_H__8509634C_D0D8_4FF8_BAD1_5FA95312BEDC__INCLUDED_)