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.

46 lines
903 B

  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently, but
  3. // are changed infrequently
  4. //
  5. #if !defined(_STDAFX_H_)
  6. #define _STDAFX_H_
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
  11. // Windows Header Files:
  12. #include <windows.h>
  13. // C RunTime Header Files
  14. #include <stdlib.h>
  15. #include <stdio.h>
  16. #include <malloc.h>
  17. #include <memory.h>
  18. #include <tchar.h>
  19. #ifndef _WIN32_WINNT
  20. #define _WIN32_WINNT 0x0400
  21. #endif
  22. #ifdef UNIWRAP
  23. //Unicode wrap replace
  24. #include "uwrap.h"
  25. #endif //UNIWRAP
  26. #define CHECK_RET_HR(f) \
  27. hr = f; \
  28. TRC_ASSERT(SUCCEEDED(hr), (TB, "ts control method failed: " #f )); \
  29. if(FAILED(hr)) return FALSE;
  30. #include <adcgbase.h>
  31. #endif // !defined(_STDAFX_H_)