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.

37 lines
1.1 KiB

  1. // This is a part of the Active Template Library.
  2. // Copyright (C) 1996-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Active Template Library Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Active Template Library product.
  10. #ifndef __ATLWIN21_H__
  11. #error atlwin21.cpp requires atlwin21.h to be included first
  12. #endif
  13. #if (_ATL_VER < 0x0200) && (_ATL_VER >= 0x0300)
  14. #error atlwin21.cpp should be used only with ATL 2.0/2.1
  15. #endif //(_ATL_VER < 0x0200) && (_ATL_VER >= 0x0300)
  16. // Redefine class names and include old atlwin.cpp
  17. #define CWindow CWindowOld
  18. #define _WndProcThunk _WndProcThunkOld
  19. #define CWndProcThunk CWndProcThunkOld
  20. #define CWindowImplBase CWindowImplBaseOld
  21. #define CWindowImpl CWindowImplOld
  22. #define CDialogImplBase CDialogImplBaseOld
  23. #define CDialogImpl CDialogImplOld
  24. #include <atlwin.cpp>
  25. #undef CWindow
  26. #undef _WndProcThunk
  27. #undef CWndProcThunk
  28. #undef CWindowImplBase
  29. #undef CWindowImpl
  30. #undef CDialogImplBase
  31. #undef CDialogImpl