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.

67 lines
1.6 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__78FFB015_E0E1_11D0_8A81_00C0F00910F9__INCLUDED_)
  5. #define AFX_STDAFX_H__78FFB015_E0E1_11D0_8A81_00C0F00910F9__INCLUDED_
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. #define STRICT
  10. //#define _ATL_APARTMENT_THREADED
  11. #pragma warning( disable : 4786 )
  12. #include <atlbase.h>
  13. #include <mtx.h>
  14. #include <comdef.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 CMonitor;
  18. class CCapMap;
  19. class CBrwCapModule : public CComModule
  20. {
  21. public:
  22. CBrwCapModule();
  23. // CComModule methods
  24. void Init( _ATL_OBJMAP_ENTRY*, HINSTANCE );
  25. void Term();
  26. LONG Lock();
  27. LONG Unlock();
  28. // CPgCntModule methods
  29. CMonitor* Monitor();
  30. CCapMap* CapMap();
  31. private:
  32. CComAutoCriticalSection m_cs;
  33. CMonitor* m_pMonitor;
  34. CCapMap* m_pCapMap;
  35. };
  36. extern CBrwCapModule _Module;
  37. #include <atlcom.h>
  38. //#include <list>
  39. //#include <vector>
  40. #include <algorithm>
  41. using namespace std;
  42. #include "myvector.h"
  43. #include "strmap.h"
  44. #include "MyDebug.h"
  45. #include "MyString.h"
  46. //{{AFX_INSERT_LOCATION}}
  47. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  48. #endif // !defined(AFX_STDAFX_H__78FFB015_E0E1_11D0_8A81_00C0F00910F9__INCLUDED)