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.

107 lines
3.6 KiB

  1. #ifndef _GLOBAL_WEBCLASS_CONSTANTS_
  2. #define _GLOBAL_WEBCLASS_CONSTANTS_
  3. #define WEBITEM_URL_PARAM_NAME "WCI"
  4. #define WEBITEM_URL_PARAM_NAME_LEN sizeof(WEBITEM_URL_PARAM_NAME)
  5. #define WEBITEM_URL_PARAM_NAME_WIDE L"WCI"
  6. #define WEBITEM_URL_PARAM_NAME_WIDE_LEN sizeof(WEBITEM_URL_PARAM_NAME_WIDE)
  7. #define WEBITEM_INTERNAL_URL_PARAM_NAME "WCIID"
  8. #define WEBITEM_INTERNAL_URL_PARAM_NAME_LEN sizeof(WEBITEM_INTERNAL_URL_PARAM_NAME)
  9. #define WEBITEM_INTERNAL_URL_PARAM_NAME_WIDE L"WCIID"
  10. #define WEBITEM_INTERNAL_URL_PARAM_NAME_WIDE_LEN sizeof(WEBITEM_INTERNAL_URL_PARAM_NAME_WIDE)
  11. #define EVENT_URL_PARAM_NAME "WCE"
  12. #define EVENT_URL_PARAM_NAME_LEN sizeof(EVENT_URL_PARAM_NAME)
  13. #define EVENT_URL_PARAM_NAME_WIDE L"WCE"
  14. #define EVENT_URL_PARAM_NAME_WIDE_LEN sizeof(EVENT_URL_PARAM_NAME_WIDE)
  15. #define EVENT_INTERNAL_URL_PARAM_NAME "WCEID"
  16. #define EVENT_INTERNAL_URL_PARAM_NAME_LEN sizeof(EVENT_INTERNAL_URL_PARAM_NAME)
  17. #define EVENT_INTERNAL_URL_PARAM_NAME_WIDE L"WCEID"
  18. #define EVENT_INTERNAL_URL_PARAM_NAME_WIDE_LEN sizeof(EVENT_INTERNAL_URL_PARAM_NAME_WIDE)
  19. #define PAGECLASS_URL_PARAM_NAME_WIDE L"CPC"
  20. #define PAGECLASS_URL_PARAM_NAME "CPC"
  21. #define CONVCLASS_URL_PARAM_NAME_WIDE L"CCC"
  22. #define CONVCLASS_URL_PARAM_NAME "CCC"
  23. #define INTERNAL_PAGENAME_URL_PARAM_NAME_WIDE L"WCIID"
  24. #define INTERNAL_PAGENAME_URL_PARAM_NAME "WCIID"
  25. #define EXTERNAL_PAGENAME_URL_PARAM_NAME_WIDE L"WCI"
  26. #define EXTERNAL_PAGENAME_URL_PARAM_NAME "WCI"
  27. #define CONVNAME_URL_PARAM_NAME_WIDE L"CCN"
  28. #define CONVNAME_URL_PARAM_NAME "CCN"
  29. #define SEQNO_URL_PARAM_NAME "CSN"
  30. #define SEQNO_URL_PARAM_NAME_WIDE L"CSN"
  31. #define NOTRANS_URL_PARAM_NAME "WCNOTRANS"
  32. #define NOTRANS_URL_PARAM_NAME_WIDE L"WCNOTRANS"
  33. #define STACKID_URL_PARAM_NAME_WIDE L"SID"
  34. #define NODEID_URL_PARAM_NAME_WIDE L"ICNODEID"
  35. #define MAX_EVENT_LEN 256
  36. #define EMBEDDED_GET_SENTINEL_WIDE L"ICGET"
  37. #define HYPERLINK_SENTINEL_WIDE L"WCE"
  38. #define INTERNAL_HYPERLINK_SENTINEL_WIDE L"WCEID"
  39. #define EXTERNAL_HYPERLINK_SENTINEL_WIDE L"WCE"
  40. #define SUBMIT_SENTINEL_WIDE L"ICSUBMIT_"
  41. #define CUSTOM_EVENT_SENTINEL_WIDE L"ICEVENT"
  42. #define MAX_ERROR_DESCRIPTION 256
  43. #define MAX_CLASS_SIZE 64
  44. #define MAX_NAME_SIZE 64
  45. #define REGDB_CONVERSATIONS_PATH TEXT("SOFTWARE\\Microsoft\\Visual Basic\\6.0\\WebClass")
  46. #define REGDB_TRACE_MASK_VALUE TEXT("TraceMask")
  47. #define REGDB_DEF_TEMPLATES_DIR_VALUE "DefaultTemplateDirectory"
  48. #define REGDB_DEF_TEMPLATES_DIR_VALUE_WIDE L"DefaultTemplateDirectory"
  49. #define MAX_SEQNO_LEN 16
  50. #define URL_MUNGING_TOKEN "^@^"
  51. #define URL_MUNGING_TOKEN_WIDE L"^@^"
  52. #define URL_MAX_LEN 256 // Max chars in URL
  53. // DEFINE_GUID(CATID_WebClass, );
  54. // {74E7D75E-3826-11d1-9C70-00C04FB987DF}
  55. const GUID CATID_WebClass =
  56. { 0xcbc5d810, 0x1856, 0x11d1, { 0xb8, 0x1, 0x0, 0xa0, 0xd1, 0x0, 0x37, 0xe4 } };
  57. #define WC_DEBUG_START_PARAM "WCDEBUG"
  58. #define WC_DEBUG_START_PARAM_WIDE L"WCDEBUG"
  59. #define ASP_EXT ".ASP"
  60. #define ASP_EXT_LEN sizeof(ASP_EXT)
  61. #define ASP_EXT_WIDE L".ASP"
  62. #define ASP_EXT_WIDE_LEN sizeof(ASP_EXT_WIDE_LEN)
  63. // Note first char must reamin a uniuqe char
  64. //
  65. #define URL_DATA_PARAM_NAME "WCU"
  66. #define URL_DATA_PARAM_NAME_WIDE L"WCU"
  67. #define URL_DATA_PARAM_NAME_LEN sizeof("WCU") - 1
  68. #define MAX_WEBITEMS 512
  69. #define HIAVG_WEBITEMS 64
  70. #endif // _GLOBAL_WEBCLASS_CONSTANTS_