stdafx.h
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 1k
Category:

Windows Kernel

Development Platform:

Visual C++

  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. #define INT32 INT32_NT
  13. #include <windows.h>
  14. #include <windef.h>
  15. #include <tchar.h>
  16. #include <stddef.h>
  17. #include <limits.h>
  18. #include <malloc.h>
  19. #include <new.h>
  20. #undef INT32
  21. #ifdef _DEBUG
  22. void __cdecl TraceProc(DWORD lwLevel, CHAR *pszFormat, ...);
  23. #define Trace TraceProc
  24. #else
  25. #define Trace
  26. #endif
  27. #define TRACE0(sz)              Trace(-1,_T("%s"), _T(sz))
  28. #define TRACE1(sz, p1)          Trace(-1,_T(sz), p1)
  29. #define TRACE2(sz, p1, p2)      Trace(-1,_T(sz), p1, p2)
  30. #define TRACE3(sz, p1, p2, p3)  Trace(-1,_T(sz), p1, p2, p3)
  31. #ifndef EXPORT
  32. #define EXPORT
  33. #endif