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.

69 lines
1.9 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__2D61FC60_76C0_4B2F_94C7_8C23B1A6CB9E__INCLUDED_)
  5. #define AFX_STDAFX_H__2D61FC60_76C0_4B2F_94C7_8C23B1A6CB9E__INCLUDED_
  6. #include <module.h>
  7. #include <MPC_main.h>
  8. #include <MPC_utils.h>
  9. #include <MPC_COM.h>
  10. #include <MPC_xml.h>
  11. #include <SvcResource.h>
  12. //
  13. // From HelpServiceTypeLib.idl
  14. //
  15. #include <HelpServiceTypeLib.h>
  16. #include <SearchEngineLib.h>
  17. #include "NetSearchConfig.h"
  18. #include "ParamConfig.h"
  19. #include "RemoteConfig.h"
  20. #include "NetSW.h"
  21. #include <msxml2.h>
  22. // Constants for the NetSearchWrapper
  23. #define NSW_TIMEOUT_REMOTECONFIG (15 * 1000)
  24. #define NSW_TIMEOUT_QUERY (30 * 1000)
  25. #define CONTENTTYPE_ERROR_OFFLINE (-2)
  26. #define UPDATE_FREQUENCY 7
  27. // Hardcoded parameters for the query string
  28. #define NSW_PARAM_QUERYSTRING L"QueryString"
  29. #define NSW_PARAM_LCID L"LCID"
  30. #define NSW_PARAM_SKU L"SKU"
  31. #define NSW_PARAM_MAXRESULTS L"MaxResults"
  32. #define NSW_PARAM_PREVQUERY L"PrevQuery"
  33. #define NSW_PARAM_SUBQUERY L"SubQuery"
  34. #define NSW_PARAM_CURRENTQUERY L"CurrentQuery"
  35. // XML tags
  36. #define NSW_TAG_STRING L"string"
  37. // Result list schema tags
  38. #define NSW_TAG_RESULTLIST L"ResultList"
  39. #define NSW_TAG_RESULTITEM L"ResultItem"
  40. #define NSW_TAG_ERRORINFO L"ErrorInfo"
  41. //Configuration data schema tags
  42. #define NSW_TAG_DATA L"DATA"
  43. #define NSW_TAG_CONFIGDATA L"CONFIG_DATA"
  44. #define NSW_TAG_PARAMITEM L"PARAM_ITEM"
  45. // Remote configuration data schema tag
  46. #define NSW_TAG_LASTUPDATED L"LASTUPDATED"
  47. //{{AFX_INSERT_LOCATION}}
  48. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  49. #endif // !defined(AFX_STDAFX_H__2D61FC60_76C0_4B2F_94C7_8C23B1A6CB9E__INCLUDED)