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.

47 lines
1.2 KiB

  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. #if !defined(AFX_STDAFX_H__338F1415_C40E_478D_AF8E_AC21CF4D0E0C__INCLUDED_)
  5. #define AFX_STDAFX_H__338F1415_C40E_478D_AF8E_AC21CF4D0E0C__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #ifndef STRICT
  10. #define STRICT
  11. #endif
  12. #ifndef _WIN32_WINNT
  13. #define _WIN32_WINNT 0x0400
  14. #endif
  15. #include <atlbase.h>
  16. //You may derive a class from CComModule and use it if you want to override
  17. //something, but do not change the name of _Module
  18. extern CComModule _Module;
  19. #include <atlcom.h>
  20. #include <math.h>
  21. #include <tchar.h>
  22. #include <SPDDKHlp.h>
  23. #include <SPCollec.h>
  24. #include <spunicode.h>
  25. //
  26. // String handling and conversion classes
  27. //
  28. /*** SPLSTR
  29. * This structure is for managing strings with known lengths
  30. */
  31. struct SPLSTR
  32. {
  33. WCHAR* pStr;
  34. int Len;
  35. };
  36. #define DEF_SPLSTR( s ) { L##s , sp_countof( s ) - 1 }
  37. //{{AFX_INSERT_LOCATION}}
  38. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  39. #endif // !defined(AFX_STDAFX_H__338F1415_C40E_478D_AF8E_AC21CF4D0E0C__INCLUDED)