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.

66 lines
1.9 KiB

  1. ////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // File: stdafx.h
  4. //
  5. // History: 19-Nov-99 markder Created.
  6. //
  7. // Desc: Include file for standard system include files,
  8. //
  9. ////////////////////////////////////////////////////////////////////////////////////
  10. #if !defined(AFX_STDAFX_H__237011AC_FA3E_4B43_843F_76DC71B6AD16__INCLUDED_)
  11. #define AFX_STDAFX_H__237011AC_FA3E_4B43_843F_76DC71B6AD16__INCLUDED_
  12. #if _MSC_VER > 1000
  13. #pragma once
  14. #endif // _MSC_VER > 1000
  15. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  16. #include <afx.h>
  17. #include <afxwin.h> // MFC core and standard components
  18. #include <afxext.h> // MFC extensions
  19. #include <afxdisp.h>
  20. #include <afxpriv.h>
  21. #include <afxtempl.h>
  22. #include <comdef.h>
  23. #include <msxml.h>
  24. #include <shlwapi.h>
  25. extern "C" {
  26. #include "shimdb.h"
  27. }
  28. #define STRSAFE_NO_CB_FUNCTIONS
  29. #include <strsafe.h>
  30. extern TCHAR g_szVersion[];
  31. #define SDBERROR_PROPOGATE()
  32. #define SDBERROR_CLEAR() g_rgErrors.RemoveAll();
  33. #define SDBERROR(text) g_rgErrors.Add( text );
  34. #define SDBERROR_FORMAT(__x__) \
  35. { \
  36. CString __csError; \
  37. __csError.Format __x__ ; \
  38. SDBERROR(__csError); \
  39. }
  40. _COM_SMARTPTR_TYPEDEF(IXMLDOMNode, __uuidof(IXMLDOMNode));
  41. _COM_SMARTPTR_TYPEDEF(IXMLDOMNodeList, __uuidof(IXMLDOMNodeList));
  42. _COM_SMARTPTR_TYPEDEF(IXMLDOMNamedNodeMap, __uuidof(IXMLDOMNamedNodeMap));
  43. _COM_SMARTPTR_TYPEDEF(IXMLDOMParseError, __uuidof(IXMLDOMParseError));
  44. _COM_SMARTPTR_TYPEDEF(IXMLDOMDocument, __uuidof(IXMLDOMDocument));
  45. #include "obj.h"
  46. #include "globals.h"
  47. // TODO: reference additional headers your program requires here
  48. //{{AFX_INSERT_LOCATION}}
  49. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  50. #endif // !defined(AFX_STDAFX_H__237011AC_FA3E_4B43_843F_76DC71B6AD16__INCLUDED_)