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.

50 lines
1.4 KiB

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1995 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10. // STDAFX.H is the header that includes the standard includes that are used
  11. // for most of the project. These are compiled into a pre-compiled header
  12. #include "w4warn.h"
  13. #pragma warning (disable:4706) // assignment within conditional expression
  14. #define _SHELL32_
  15. #include <windows.h>
  16. #include <windef.h>
  17. #include <tchar.h>
  18. #include <stddef.h>
  19. #include <limits.h>
  20. #include <malloc.h>
  21. #include <new.h>
  22. #include "ddraw.h"
  23. #include <atlbase.h>
  24. extern CComModule _Module;
  25. #include <atlcom.h>
  26. #include "ImgUtil.h"
  27. #include "ocmm.h"
  28. #include "ctngen.h"
  29. #include "shlwapi.h"
  30. #include "objbase.h"
  31. #ifdef _DEBUG
  32. void __cdecl TraceProc(DWORD lwLevel, CHAR *pszFormat, ...);
  33. #define Trace TraceProc
  34. #else
  35. #define Trace
  36. #endif
  37. #define TRACE0(sz) Trace(-1,_T("%s"), _T(sz))
  38. #define TRACE1(sz, p1) Trace(-1,_T(sz), p1)
  39. #define TRACE2(sz, p1, p2) Trace(-1,_T(sz), p1, p2)
  40. #define TRACE3(sz, p1, p2, p3) Trace(-1,_T(sz), p1, p2, p3)
  41. #ifndef EXPORT
  42. #define EXPORT
  43. #endif