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.

118 lines
5.6 KiB

  1. #ifndef _INETPROP_H
  2. #define _INETPROP_H
  3. //---[ INETPROP.H ]--------------------------------------------------------
  4. //
  5. // Definitions used by the the Inet transports, address books
  6. // and other Inet providers for service entry calls.
  7. //
  8. // $$REVIEW This was stolen from Blade's MSFS.H (stolen from somewhere else)
  9. //
  10. // The following INET-defined properties are settable in service entry
  11. // calls. They are grouped by function. I've tried to maintain as much compatibility
  12. // with the Blade proptags, just to keep things easy.
  13. //
  14. //-------------------------------------------------------------------------
  15. // $$REVIEW: What is this RAS_MaxEntryName doing in here?
  16. #ifdef WIN32
  17. #include <ras.h>
  18. #else
  19. #define RAS_MaxEntryName 20
  20. #endif
  21. #define MAIL_PROP_COUNT 42 // Not including the sess one.
  22. #define NEWS_PROP_COUNT 19 // Not including the sess one.
  23. //---[ Generic Connection Properties ]-------------------------------------
  24. #define PR_CFG_SERVER_PATH PROP_TAG (PT_TSTRING, 0x6600)
  25. #define PR_CFG_CONN_TYPE PROP_TAG (PT_LONG, 0x6601)
  26. #define PR_CFG_SESSION_LOG PROP_TAG (PT_LONG, 0x6602)
  27. #define PR_CFG_SESSION_LOG_FILE PROP_TAG (PT_TSTRING, 0x6603)
  28. #define PR_CFG_SESSION_LOG_FILTER_INDEX PROP_TAG (PT_LONG, 0x6604)
  29. //---[ IMail Connection Properties ]---------------------------------------
  30. #define PR_CFG_EMAIL_ADDRESS PROP_TAG (PT_TSTRING, 0x6605)
  31. #define PR_CFG_EMAIL_ACCOUNT PROP_TAG (PT_TSTRING, 0x6606)
  32. #define PR_CFG_EMAIL_DISPLAY_NAME PROP_TAG (PT_TSTRING, 0x6607)
  33. //#define PR_CFG_PASSWORD PROP_TAG (PT_TSTRING, 0x6608)
  34. #define PR_CFG_PASSWORD PROP_TAG (PT_TSTRING, PROP_ID_SECURE_MIN)
  35. #define PR_CFG_REMEMBER PROP_TAG (PT_BOOLEAN, 0x6610)
  36. #define PR_CFG_OUTBOUND_MAIL_HOST PROP_TAG (PT_TSTRING, 0x6611)
  37. //---[ INews Connection Properties ]---------------------------------------
  38. #define PR_CFG_NEWS_EMAIL_ADDRESS PROP_TAG (PT_TSTRING, 0x6600)
  39. #define PR_CFG_NEWS_DISPLAY_NAME PROP_TAG (PT_TSTRING, 0x6601)
  40. #define PR_CFG_NEWS_SERVER_NAME PROP_TAG (PT_TSTRING, 0x6610)
  41. #define PR_CFG_CONNECTION_TYPE PROP_TAG (PT_LONG, 0x6603)
  42. #define PR_CFG_CONNECTION_PROFILE PROP_TAG (PT_TSTRING, 0x6604)
  43. //---[ Advanced Properties ]-----------------------------------------------
  44. #define PR_CFG_BODY_FORMAT PROP_TAG (PT_LONG, 0x6620)
  45. #define PR_CFG_TEXT_CHAR_SET PROP_TAG (PT_TSTRING, 0x6621)
  46. #define PR_CFG_MIME_CHAR_SET PROP_TAG (PT_TSTRING, 0x6622)
  47. #define PR_CFG_ENCODING_MINIMUM PROP_TAG (PT_LONG, 0x6623)
  48. #define PR_CFG_ENCODE_LINES PROP_TAG (PT_BOOLEAN, 0x6624)
  49. //---[ Remote Config Properties ]------------------------------------------
  50. #define PR_CFG_SESSION_START_TYPE PROP_TAG (PT_LONG, 0x6630)
  51. #define PR_CFG_RNA_PROFILE PROP_TAG (PT_TSTRING, 0x6631)
  52. #define PR_CFG_RNA_PROFILE_ALWAYS PROP_TAG (PT_BOOLEAN, 0x6632)
  53. #define PR_CFG_RNA_CONFIRM PROP_TAG (PT_LONG, 0x6633)
  54. #define PR_CFG_REMOTE_CONNECT_TIMEOUT PROP_TAG (PT_LONG, 0x6634)
  55. #define PR_CFG_REMOTE_USERNAME PROP_TAG (PT_TSTRING, 0x6635)
  56. //#define PR_CFG_REMOTE_PASSWORD PROP_TAG (PT_TSTRING, 0x6636)
  57. #define PR_CFG_REMOTE_PASSWORD PROP_TAG (PT_TSTRING, PROP_ID_SECURE_MIN+1)
  58. #define PR_CFG_NEWS_REMOTE_USERNAME PROP_TAG (PT_TSTRING, 0x6620)
  59. #define PR_CFG_NEWS_REMOTE_PASSWORD PROP_TAG (PT_TSTRING, 0x6621)
  60. //---[ Generic Delivery Options ]------------------------------------------
  61. #define PR_CFG_DELIVERY_OPTIONS PROP_TAG (PT_LONG, 0x6640)
  62. #define PR_CFG_MSG_CHECK_WAIT PROP_TAG (PT_LONG, 0x6641)
  63. //---[ News Delivery Options ]---------------------------------------------
  64. #define PR_CFG_NEW_GROUP_NOTIFY PROP_TAG (PT_BOOLEAN, 0x6642)
  65. #define PR_CFG_DEAD_GROUP_NOTIFY PROP_TAG (PT_BOOLEAN, 0x6643)
  66. #define PR_CFG_NEW_MESSAGE_NOTIFY PROP_TAG (PT_BOOLEAN, 0x6644)
  67. //---[ Other data ]--------------------------------------------------------
  68. #define PR_CFG_SMTP_PORT PROP_TAG (PT_LONG, 0x6650)
  69. #define PR_CFG_POP3_PORT PROP_TAG (PT_LONG, 0x6651)
  70. #define PR_CFG_SMTP_TIMEOUT_CONNECT PROP_TAG (PT_LONG, 0x6660)
  71. #define PR_CFG_SMTP_TIMEOUT_HELO PROP_TAG (PT_LONG, 0x6661)
  72. #define PR_CFG_SMTP_TIMEOUT_MAILFROM PROP_TAG (PT_LONG, 0x6662)
  73. #define PR_CFG_SMTP_TIMEOUT_RCPT PROP_TAG (PT_LONG, 0x6663)
  74. #define PR_CFG_SMTP_TIMEOUT_DATAINIT PROP_TAG (PT_LONG, 0x6664)
  75. #define PR_CFG_SMTP_TIMEOUT_DATABLOK PROP_TAG (PT_LONG, 0x6665)
  76. #define PR_CFG_SMTP_TIMEOUT_RSET PROP_TAG (PT_LONG, 0x6666)
  77. #define PR_CFG_SMTP_TIMEOUT_QUIT PROP_TAG (PT_LONG, 0x6667)
  78. #define PR_CFG_SMTP_TIMEOUT_CLOSE PROP_TAG (PT_LONG, 0x6668)
  79. #define PR_CFG_POP3_TIMEOUT_CONNECT PROP_TAG (PT_LONG, 0x6669)
  80. #define PR_CFG_POP3_TIMEOUT_SEND PROP_TAG (PT_LONG, 0x6670)
  81. #define PR_CFG_POP3_TIMEOUT_RECEIVE PROP_TAG (PT_LONG, 0x6671)
  82. #define PR_CFG_SMTP_TIMEOUT_DATAACPT PROP_TAG (PT_LONG, 0x6672)
  83. //---[ Remote Header Cache Props ]-----------------------------------------
  84. #define PR_CFG_REMOTE_CACHE_TIMEOUT PROP_TAG (PT_LONG, 0x6673)
  85. #define PR_CFG_REMOTE_CACHE_NAME PROP_TAG (PT_TSTRING, 0x6674)
  86. //---[ INews PST Properties ]----------------------------------------------
  87. #define PR_CFG_PST_PATH PROP_TAG (PT_TSTRING, 0x6680)
  88. //---[ IMail Message Class String ]----------------------------------------
  89. // The strings themselves are defined in mapiopt.h
  90. extern WCHAR lpstrMsgClassRFC822[];
  91. extern WCHAR lpstrMsgClassRFCMIME[];
  92. #endif // _INETPROP_H