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.

39 lines
817 B

  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. #pragma once
  5. #ifndef _STDAFX_H_
  6. #define _STDAFX_H_
  7. #define STRICT
  8. #include <atlbase.h>
  9. #include <mtx.h>
  10. //You may derive a class from CComModule and use it if you want to override
  11. //something, but do not change the name of _Module
  12. class CContRotModule : public CComModule
  13. {
  14. public:
  15. LONG Lock();
  16. LONG Unlock();
  17. private:
  18. CComAutoCriticalSection m_cs;
  19. };
  20. extern CContRotModule _Module;
  21. #include <algorithm>
  22. using namespace std;
  23. #include <atlcom.h>
  24. #include "mystring.h"
  25. #include "strmap.h"
  26. #include "myvector.h"
  27. #include "mydebug.h"
  28. #define ARRAYSIZE(a) (sizeof(a)/sizeof(*(a)))
  29. #endif // !_STDAFX_H_