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.

790 lines
42 KiB

  1. import "oaidl.idl";
  2. import "ocidl.idl";
  3. import "msado15.idl";
  4. midl_pragma warning (disable: 2461 )
  5. interface IMessage;
  6. interface IMessages;
  7. interface IBodyPart;
  8. interface IConfiguration;
  9. interface IBodyParts;
  10. interface IDataSource;
  11. typedef enum CdoConfigSource
  12. {
  13. cdoDefaults = -1,
  14. cdoIIS = 1,
  15. cdoOutlookExpress = 2,
  16. } CdoConfigSource;
  17. typedef enum CdoDSNOptions
  18. {
  19. cdoDSNDefault = 0,
  20. cdoDSNNever = 1,
  21. cdoDSNFailure = 2,
  22. cdoDSNSuccess = 4,
  23. cdoDSNDelay = 8,
  24. cdoDSNSuccessFailOrDelay = 14,
  25. } CdoDSNOptions;
  26. typedef enum CdoEventStatus
  27. {
  28. cdoRunNextSink = 0,
  29. cdoSkipRemainingSinks = 1,
  30. } CdoEventStatus;
  31. typedef enum CdoEventType
  32. {
  33. cdoSMTPOnArrival = 1,
  34. cdoNNTPOnPostEarly = 2,
  35. cdoNNTPOnPost = 3,
  36. cdoNNTPOnPostFinal = 4,
  37. } CdoEventType;
  38. typedef enum CdoMessageStat
  39. {
  40. cdoStatSuccess = 0,
  41. cdoStatAbortDelivery = 2,
  42. cdoStatBadMail = 3,
  43. } CdoMessageStat;
  44. typedef enum CdoMHTMLFlags
  45. {
  46. cdoSuppressNone = 0,
  47. cdoSuppressImages = 1,
  48. cdoSuppressBGSounds = 2,
  49. cdoSuppressFrames = 4,
  50. cdoSuppressObjects = 8,
  51. cdoSuppressStyleSheets = 16,
  52. cdoSuppressAll = 31,
  53. } CdoMHTMLFlags;
  54. typedef enum CdoNNTPProcessingField
  55. {
  56. cdoPostMessage = 1,
  57. cdoProcessControl = 2,
  58. cdoProcessModerator = 4,
  59. } CdoNNTPProcessingField;
  60. typedef enum CdoPostUsing
  61. {
  62. cdoPostUsingPickup = 1,
  63. cdoPostUsingPort = 2,
  64. } CdoPostUsing;
  65. typedef enum CdoProtocolsAuthentication
  66. {
  67. cdoAnonymous = 0,
  68. cdoBasic = 1,
  69. cdoNTLM = 2,
  70. } CdoProtocolsAuthentication;
  71. typedef enum CdoReferenceType
  72. {
  73. cdoRefTypeId = 0,
  74. cdoRefTypeLocation = 1,
  75. } CdoReferenceType;
  76. typedef enum CdoSendUsing
  77. {
  78. cdoSendUsingPickup = 1,
  79. cdoSendUsingPort = 2,
  80. } CdoSendUsing;
  81. typedef enum CdoTimeZoneId
  82. {
  83. [helpstring("(UTC) Universal Coordinated Time")] cdoUTC = 0,
  84. [helpstring("(GMT) Greenwich Mean Time; Dublin, Edinburgh, London")] cdoGMT = 1,
  85. [helpstring("(GMT+01:00) Lisbon, Warsaw")] cdoLisbon = 2,
  86. [helpstring("(GMT+01:00) Paris, Madrid")] cdoParis = 3,
  87. [helpstring("(GMT+01:00) Berlin, Stockholm, Rome, Bern, Brussels, Vienna")] cdoBerlin = 4,
  88. [helpstring("(GMT+02:00) Eastern Europe")] cdoEasternEurope = 5,
  89. [helpstring("(GMT+01:00) Prague")] cdoPrague = 6,
  90. [helpstring("(GMT+02:00) Athens, Helsinki, Istanbul")] cdoAthens = 7,
  91. [helpstring("(GMT-03:00) Brasilia")] cdoBrasilia = 8,
  92. [helpstring("(GMT-04:00) Atlantic Time (Canada)")] cdoAtlanticCanada = 9,
  93. [helpstring("(GMT-05:00) Eastern Time (US & Canada)")] cdoEastern = 10,
  94. [helpstring("(GMT-06:00) Central Time (US & Canada)")] cdoCentral = 11,
  95. [helpstring("(GMT-07:00) Mountain Time (US & Canada)")] cdoMountain = 12,
  96. [helpstring("(GMT-08:00) Pacific Time (US & Canada); Tijuana")] cdoPacific = 13,
  97. [helpstring("(GMT-09:00) Alaska")] cdoAlaska = 14,
  98. [helpstring("(GMT-10:00) Hawaii")] cdoHawaii = 15,
  99. [helpstring("(GMT-11:00) Midway Island, Samoa")] cdoMidwayIsland = 16,
  100. [helpstring("(GMT+12:00) Wellington, Auckland")] cdoWellington = 17,
  101. [helpstring("(GMT+10:00) Brisbane, Melbourne, Sydney")] cdoBrisbane = 18,
  102. [helpstring("(GMT+09:30) Adelaide")] cdoAdelaide = 19,
  103. [helpstring("(GMT+09:00) Tokyo, Osaka, Sapporo, Seoul, Yakutsk")] cdoTokyo = 20,
  104. [helpstring("(GMT+08:00) Hong Kong, Perth, Singapore, Taipei")] cdoHongKong = 21,
  105. [helpstring("(GMT+07:00) Bangkok, Jakarta, Hanoi")] cdoBangkok = 22,
  106. [helpstring("(GMT+05:30) Bombay, Calcutta, Madras, New Delhi, Colombo")] cdoBombay = 23,
  107. [helpstring("(GMT+04:00) Abu Dhabi, Muscat, Tbilisi, Kazan, Volgograd")] cdoAbuDhabi = 24,
  108. [helpstring("(GMT+03:30) Tehran")] cdoTehran = 25,
  109. [helpstring("(GMT+03:00) Baghdad, Kuwait, Nairobi, Riyadh")] cdoBaghdad = 26,
  110. [helpstring("(GMT+02:00) Israel")] cdoIsrael = 27,
  111. [helpstring("(GMT-03:30) Newfoundland")] cdoNewfoundland = 28,
  112. [helpstring("(GMT-01:00) Azores, Cape Verde Is.")] cdoAzores = 29,
  113. [helpstring("(GMT-02:00) Mid-Atlantic")] cdoMidAtlantic = 30,
  114. [helpstring("(GMT) Monrovia, Casablanca")] cdoMonrovia = 31,
  115. [helpstring("(GMT-03:00) Buenos Aires, Georgetown")] cdoBuenosAires = 32,
  116. [helpstring("(GMT-04:00) Caracas, La Paz")] cdoCaracas = 33,
  117. [helpstring("(GMT-05:00) Indiana (East)")] cdoIndiana = 34,
  118. [helpstring("(GMT-05:00) Bogota, Lima")] cdoBogota = 35,
  119. [helpstring("(GMT-06:00) Saskatchewan")] cdoSaskatchewan = 36,
  120. [helpstring("(GMT-06:00) Mexico City, Tegucigalpa")] cdoMexicoCity = 37,
  121. [helpstring("(GMT-07:00) Arizona")] cdoArizona = 38,
  122. [helpstring("(GMT-12:00) Eniwetok, Kwajalein")] cdoEniwetok = 39,
  123. [helpstring("(GMT+12:00) Fiji, Kamchatka, Marshall Is.")] cdoFiji = 40,
  124. [helpstring("(GMT+11:00) Magadan, Solomon Is., New Caledonia")] cdoMagadan = 41,
  125. [helpstring("(GMT+10:00) Hobart")] cdoHobart = 42,
  126. [helpstring("(GMT+10:00) Guam, Port Moresby, Vladivostok")] cdoGuam = 43,
  127. [helpstring("(GMT+09:30) Darwin")] cdoDarwin = 44,
  128. [helpstring("(GMT+08:00) Beijing, Chongqing, Urumqi")] cdoBeijing = 45,
  129. [helpstring("(GMT+06:00) Almaty, Dhaka")] cdoAlmaty = 46,
  130. [helpstring("(GMT+05:00) Islamabad, Karachi, Sverdlovsk, Tashkent")] cdoIslamabad = 47,
  131. [helpstring("(GMT+04:30) Kabul")] cdoKabul = 48,
  132. [helpstring("(GMT+02:00) Cairo")] cdoCairo = 49,
  133. [helpstring("(GMT+02:00) Harare, Pretoria")] cdoHarare = 50,
  134. [helpstring("(GMT+03:00) Moscow, St. Petersburg")] cdoMoscow = 51,
  135. cdoInvalidTimeZone = 52,
  136. } CdoTimeZoneId;
  137. [ object, uuid(CD000029-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("IDataSource interface"), pointer_default(unique) ] interface IDataSource : IDispatch
  138. {
  139. [ id( 207 ), propget, helpstring( "property SourceClass" ), readonly ] HRESULT SourceClass ([out,retval] BSTR* varSourceClass);
  140. [ id( 208 ), propget, helpstring( "property Source" ), readonly ] HRESULT Source ([out,retval] IUnknown** varSource);
  141. [ id( 209 ), propget, helpstring( "property IsDirty" ), ] HRESULT IsDirty ([out,retval] VARIANT_BOOL* pIsDirty); [ id( 209 ), propput, helpstring( "property IsDirty" ), ] HRESULT IsDirty ([in] VARIANT_BOOL varIsDirty);
  142. [ id( 210 ), propget, helpstring( "property SourceURL" ), readonly ] HRESULT SourceURL ([out,retval] BSTR* varSourceURL);
  143. [ id( 211 ), propget, helpstring( "property ActiveConnection" ), readonly ] HRESULT ActiveConnection ([out,retval] _Connection** varActiveConnection);
  144. [ id( 251 ), helpstring ( "method SaveToObject" ) ] HRESULT SaveToObject(
  145. [in] IUnknown* Source,
  146. [in] BSTR InterfaceName);
  147. [ id( 252 ), helpstring ( "method OpenObject" ) ] HRESULT OpenObject(
  148. [in] IUnknown* Source,
  149. [in] BSTR InterfaceName);
  150. [ id( 253 ), helpstring ( "method SaveTo" ) ] HRESULT SaveTo(
  151. [in] BSTR SourceURL,
  152. [in, defaultvalue(0)] IDispatch* ActiveConnection,
  153. [in, optional] ConnectModeEnum Mode,
  154. [in, optional] RecordCreateOptionsEnum CreateOptions,
  155. [in, optional] RecordOpenOptionsEnum Options,
  156. [in, optional] BSTR UserName,
  157. [in, optional] BSTR Password);
  158. [ id( 254 ), helpstring ( "method Open" ) ] HRESULT Open(
  159. [in] BSTR SourceURL,
  160. [in, defaultvalue(0)] IDispatch* ActiveConnection,
  161. [in, optional] ConnectModeEnum Mode,
  162. [in, optional] RecordCreateOptionsEnum CreateOptions,
  163. [in, optional] RecordOpenOptionsEnum Options,
  164. [in, optional] BSTR UserName,
  165. [in, optional] BSTR Password);
  166. [ id( 255 ), helpstring ( "method Save" ) ] HRESULT Save();
  167. [ id( 256 ), helpstring ( "method SaveToContainer" ) ] HRESULT SaveToContainer(
  168. [in] BSTR ContainerURL,
  169. [in, defaultvalue(0)] IDispatch* ActiveConnection,
  170. [in, optional] ConnectModeEnum Mode,
  171. [in, optional] RecordCreateOptionsEnum CreateOptions,
  172. [in, optional] RecordOpenOptionsEnum Options,
  173. [in, optional] BSTR UserName,
  174. [in, optional] BSTR Password);
  175. };
  176. [ object, uuid(CD000020-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("IMessage Interface"), pointer_default(unique) ] interface IMessage : IDispatch
  177. {
  178. [ id( 101 ), propget, helpstring( "property BCC" ), ] HRESULT BCC ([out,retval] BSTR* pBCC); [ id( 101 ), propput, helpstring( "property BCC" ), ] HRESULT BCC ([in] BSTR varBCC);
  179. [ id( 103 ), propget, helpstring( "property CC" ), ] HRESULT CC ([out,retval] BSTR* pCC); [ id( 103 ), propput, helpstring( "property CC" ), ] HRESULT CC ([in] BSTR varCC);
  180. [ id( 105 ), propget, helpstring( "property FollowUpTo" ), ] HRESULT FollowUpTo ([out,retval] BSTR* pFollowUpTo); [ id( 105 ), propput, helpstring( "property FollowUpTo" ), ] HRESULT FollowUpTo ([in] BSTR varFollowUpTo);
  181. [ id( 106 ), propget, helpstring( "property From" ), ] HRESULT From ([out,retval] BSTR* pFrom); [ id( 106 ), propput, helpstring( "property From" ), ] HRESULT From ([in] BSTR varFrom);
  182. [ id( 107 ), propget, helpstring( "property Keywords" ), ] HRESULT Keywords ([out,retval] BSTR* pKeywords); [ id( 107 ), propput, helpstring( "property Keywords" ), ] HRESULT Keywords ([in] BSTR varKeywords);
  183. [ id( 110 ), propget, helpstring( "property MimeFormatted" ), ] HRESULT MimeFormatted ([out,retval] VARIANT_BOOL* pMimeFormatted); [ id( 110 ), propput, helpstring( "property MimeFormatted" ), ] HRESULT MimeFormatted ([in] VARIANT_BOOL varMimeFormatted);
  184. [ id( 111 ), propget, helpstring( "property Newsgroups" ), ] HRESULT Newsgroups ([out,retval] BSTR* pNewsgroups); [ id( 111 ), propput, helpstring( "property Newsgroups" ), ] HRESULT Newsgroups ([in] BSTR varNewsgroups);
  185. [ id( 112 ), propget, helpstring( "property Organization" ), ] HRESULT Organization ([out,retval] BSTR* pOrganization); [ id( 112 ), propput, helpstring( "property Organization" ), ] HRESULT Organization ([in] BSTR varOrganization);
  186. [ id( 114 ), propget, helpstring( "property ReceivedTime" ), readonly ] HRESULT ReceivedTime ([out,retval] DATE* varReceivedTime);
  187. [ id( 115 ), propget, helpstring( "property ReplyTo" ), ] HRESULT ReplyTo ([out,retval] BSTR* pReplyTo); [ id( 115 ), propput, helpstring( "property ReplyTo" ), ] HRESULT ReplyTo ([in] BSTR varReplyTo);
  188. [ id( 116 ), propget, helpstring( "property DSNOptions" ), ] HRESULT DSNOptions ([out,retval] CdoDSNOptions* pDSNOptions); [ id( 116 ), propput, helpstring( "property DSNOptions" ), ] HRESULT DSNOptions ([in] CdoDSNOptions varDSNOptions);
  189. [ id( 119 ), propget, helpstring( "property SentOn" ), readonly ] HRESULT SentOn ([out,retval] DATE* varSentOn);
  190. [ id( 120 ), propget, helpstring( "property Subject" ), ] HRESULT Subject ([out,retval] BSTR* pSubject); [ id( 120 ), propput, helpstring( "property Subject" ), ] HRESULT Subject ([in] BSTR varSubject);
  191. [ id( 121 ), propget, helpstring( "property To" ), ] HRESULT To ([out,retval] BSTR* pTo); [ id( 121 ), propput, helpstring( "property To" ), ] HRESULT To ([in] BSTR varTo);
  192. [ id( 123 ), propget, helpstring( "property TextBody" ), ] HRESULT TextBody ([out,retval] BSTR* pTextBody); [ id( 123 ), propput, helpstring( "property TextBody" ), ] HRESULT TextBody ([in] BSTR varTextBody);
  193. [ id( 124 ), propget, helpstring( "property HTMLBody" ), ] HRESULT HTMLBody ([out,retval] BSTR* pHTMLBody); [ id( 124 ), propput, helpstring( "property HTMLBody" ), ] HRESULT HTMLBody ([in] BSTR varHTMLBody);
  194. [ id( 125 ), propget, helpstring( "property Attachments" ), readonly ] HRESULT Attachments ([out,retval] IBodyParts ** varAttachments);
  195. [ id( 126 ), propget, helpstring( "property Sender" ), ] HRESULT Sender ([out,retval] BSTR* pSender); [ id( 126 ), propput, helpstring( "property Sender" ), ] HRESULT Sender ([in] BSTR varSender);
  196. [ id( 127 ), propget, helpstring( "property Configuration" ), ] HRESULT Configuration ([out,retval] IConfiguration ** pConfiguration); [ id( 127 ), propput, helpstring( "property Configuration" ), ] HRESULT Configuration ([in] IConfiguration * varConfiguration); [ id( 127 ), propputref, helpstring( "property Configuration" ), ] HRESULT Configuration ([in] IConfiguration * varConfiguration);
  197. [ id( 128 ), propget, helpstring( "property MessageFormat" ), ] HRESULT AutoGenerateTextBody ([out,retval] VARIANT_BOOL* pAutoGenerateTextBody); [ id( 128 ), propput, helpstring( "property MessageFormat" ), ] HRESULT AutoGenerateTextBody ([in] VARIANT_BOOL varAutoGenerateTextBody);
  198. [ id( 129 ), propget, helpstring( "property Envelope Fields" ), readonly ] HRESULT EnvelopeFields ([out,retval] Fields ** varEnvelopeFields);
  199. [ id( 130 ), propget, helpstring( "property TextBodyPart" ), readonly ] HRESULT TextBodyPart ([out,retval] IBodyPart ** varTextBodyPart);
  200. [ id( 131 ), propget, helpstring( "property HTMLBodyPart" ), readonly ] HRESULT HTMLBodyPart ([out,retval] IBodyPart ** varHTMLBodyPart);
  201. [ id( 132 ), propget, helpstring( "property BodyPart" ), readonly ] HRESULT BodyPart ([out,retval] IBodyPart ** varBodyPart);
  202. [ id( 133 ), propget, helpstring( "property DataSource" ), readonly ] HRESULT DataSource ([out,retval] IDataSource ** varDataSource);
  203. [ id( 134 ), propget, helpstring( "property Fields" ), readonly ] HRESULT Fields ([out,retval] Fields ** varFields);
  204. [ id( 135 ), propget, helpstring( "property MDNRequested" ), ] HRESULT MDNRequested ([out,retval] VARIANT_BOOL* pMDNRequested); [ id( 135 ), propput, helpstring( "property MDNRequested" ), ] HRESULT MDNRequested ([in] VARIANT_BOOL varMDNRequested);
  205. [ id( 150 ), helpstring ( "method AddRelatedBodyPart" ) ] HRESULT AddRelatedBodyPart(
  206. [in] BSTR URL,
  207. [in] BSTR Reference,
  208. [in] CdoReferenceType ReferenceType,
  209. [in, optional] BSTR UserName,
  210. [in, optional] BSTR Password,
  211. [out,retval] IBodyPart **ppBody);
  212. [ id( 151 ), helpstring ( "method AddAttachment" ) ] HRESULT AddAttachment(
  213. [in] BSTR URL,
  214. [in, optional] BSTR UserName,
  215. [in, optional] BSTR Password,
  216. [out,retval] IBodyPart **ppBody);
  217. [ id( 152 ), helpstring ( "method CreateMHTMLBody" ) ] HRESULT CreateMHTMLBody(
  218. [in] BSTR URL,
  219. [in, defaultvalue(cdoSuppressNone)] CdoMHTMLFlags Flags,
  220. [in, optional] BSTR UserName,
  221. [in, optional] BSTR Password);
  222. [ id( 153 ), helpstring ( "method Forward" ) ] HRESULT Forward(
  223. [out,retval] IMessage **ppMsg);
  224. [ id( 154 ), helpstring ( "method Post" ) ] HRESULT Post();
  225. [ id( 155 ), helpstring ( "method PostReply" ) ] HRESULT PostReply(
  226. [out,retval] IMessage **ppMsg);
  227. [ id( 156 ), helpstring ( "method Reply" ) ] HRESULT Reply(
  228. [out,retval] IMessage **ppMsg);
  229. [ id( 157 ), helpstring ( "method ReplyAll" ) ] HRESULT ReplyAll(
  230. [out,retval] IMessage **ppMsg);
  231. [ id( 158 ), helpstring ( "method Send" ) ] HRESULT Send();
  232. [ id( 159 ), helpstring ( "method GetStream" ) ] HRESULT GetStream(
  233. [out,retval] _Stream **ppStream);
  234. [ id( 160 ), helpstring ( "method GetInterface" ) ] HRESULT GetInterface(
  235. [in] BSTR Interface,
  236. [out, retval] IDispatch** ppUnknown);
  237. };
  238. [ object, uuid(CD000021-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("IBodyPart Interface"), pointer_default(unique) ] interface IBodyPart : IDispatch
  239. {
  240. [ id( 200 ), propget, helpstring( "property BodyParts" ), readonly ] HRESULT BodyParts ([out,retval] IBodyParts ** varBodyParts);
  241. [ id( 201 ), propget, helpstring( "property ContentTransferEncoding" ), ] HRESULT ContentTransferEncoding ([out,retval] BSTR* pContentTransferEncoding); [ id( 201 ), propput, helpstring( "property ContentTransferEncoding" ), ] HRESULT ContentTransferEncoding ([in] BSTR varContentTransferEncoding);
  242. [ id( 202 ), propget, helpstring( "property ContentMediaType" ), ] HRESULT ContentMediaType ([out,retval] BSTR* pContentMediaType); [ id( 202 ), propput, helpstring( "property ContentMediaType" ), ] HRESULT ContentMediaType ([in] BSTR varContentMediaType);
  243. [ id( 203 ), propget, helpstring( "property Fields" ), readonly ] HRESULT Fields ([out,retval] Fields ** varFields);
  244. [ id( 204 ), propget, helpstring( "property Charset" ), ] HRESULT Charset ([out,retval] BSTR* pCharset); [ id( 204 ), propput, helpstring( "property Charset" ), ] HRESULT Charset ([in] BSTR varCharset);
  245. [ id( 205 ), propget, helpstring( "property FileName" ), readonly ] HRESULT FileName ([out,retval] BSTR* varFileName);
  246. [ id( 207 ), propget, helpstring( "property DataSource" ), readonly ] HRESULT DataSource ([out,retval] IDataSource ** varDataSource);
  247. [ id( 208 ), propget, helpstring( "property ContentClass" ), ] HRESULT ContentClass ([out,retval] BSTR* pContentClass); [ id( 208 ), propput, helpstring( "property ContentClass" ), ] HRESULT ContentClass ([in] BSTR varContentClass);
  248. [ id( 209 ), propget, helpstring( "property ContentClassName" ), ] HRESULT ContentClassName ([out,retval] BSTR* pContentClassName); [ id( 209 ), propput, helpstring( "property ContentClassName" ), ] HRESULT ContentClassName ([in] BSTR varContentClassName);
  249. [ id( 210 ), propget, helpstring( "property Parent" ), readonly ] HRESULT Parent ([out,retval] IBodyPart** varParent);
  250. [ id( 250 ), helpstring ( "method AddBodyPart" ) ] HRESULT AddBodyPart(
  251. [in, defaultvalue(-1)] long Index,
  252. [out, retval] IBodyPart **ppPart);
  253. [ id( 251 ), helpstring ( "method SaveToFile" ) ] HRESULT SaveToFile(
  254. [in] BSTR FileName);
  255. [ id( 252 ), helpstring ( "method GetEncodedContentStream" ) ] HRESULT GetEncodedContentStream(
  256. [out, retval]_Stream **ppStream);
  257. [ id( 253 ), helpstring ( "method GetDecodedContentStream" ) ] HRESULT GetDecodedContentStream(
  258. [out, retval]_Stream **ppStream);
  259. [ id( 254 ), helpstring ( "method GetStream" ) ] HRESULT GetStream(
  260. [out,retval] _Stream **ppStream);
  261. [ id( 255 ), helpstring ( "method GetFieldParameter" ) ] HRESULT GetFieldParameter(
  262. [in] BSTR FieldName,
  263. [in] BSTR Parameter,
  264. [out, retval] BSTR* pbstrValue);
  265. [ id( 160 ), helpstring ( "method GetInterface" ) ] HRESULT GetInterface(
  266. [in] BSTR Interface,
  267. [out, retval] IDispatch** ppUnknown);
  268. };
  269. [ object, uuid(CD000022-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("IConfiguration Interface"), pointer_default(unique) ] interface IConfiguration : IDispatch
  270. {
  271. [ id( 0 ), propget, helpstring( "property Fields" ), readonly ] HRESULT Fields ([out,retval] Fields ** varFields);
  272. [ id( 50 ), helpstring ( "method Load" ) ] HRESULT Load(
  273. [in] CdoConfigSource LoadFrom,
  274. [in, optional] BSTR URL);
  275. [ id( 160 ), helpstring ( "method GetInterface" ) ] HRESULT GetInterface(
  276. [in] BSTR Interface,
  277. [out, retval] IDispatch** ppUnknown);
  278. };
  279. [ object, uuid(CD000025-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("IMessages collection"), pointer_default(unique) ] interface IMessages : IDispatch
  280. {
  281. [
  282. id( 0 ),
  283. propget,
  284. helpstring( "Property Item"),
  285. readonly
  286. ] HRESULT Item (long Index,
  287. [out, retval] IMessage **ppMessage);
  288. [ id( 1 ), propget, helpstring( "property Count" ), readonly ] HRESULT Count ([out,retval] long* varCount);
  289. [ id( 2 ), helpstring ( "method Delete" ) ] HRESULT Delete(
  290. [in] long Index);
  291. [ id( 3 ), helpstring ( "method DeleteAll" ) ] HRESULT DeleteAll();
  292. [propget, restricted, id(DISPID_NEWENUM)]
  293. HRESULT _NewEnum(
  294. [out, retval] IUnknown** retval);
  295. [
  296. id( 5 ),
  297. propget,
  298. helpstring( "Property Filename"),
  299. readonly
  300. ] HRESULT Filename (VARIANT var,
  301. [out, retval] BSTR *Filename);
  302. };
  303. [ object, uuid(CD000024-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("IDropDirectory Interface"), pointer_default(unique) ] interface IDropDirectory : IDispatch
  304. {
  305. [
  306. id( 200 ),
  307. helpstring( "method GetMessages" ),
  308. readonly
  309. ]
  310. HRESULT GetMessages ([in, optional] BSTR DirName,
  311. [out,retval] IMessages** Msgs);
  312. };
  313. [ object, uuid(CD000023-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("IBodyParts collection"), pointer_default(unique) ] interface IBodyParts : IDispatch
  314. {
  315. [ id( 1 ), propget, helpstring( "property Count" ), readonly ] HRESULT Count ([out,retval] long* varCount);
  316. [
  317. id( 0 ),
  318. propget,
  319. helpstring( "Property Item"),
  320. readonly
  321. ]
  322. HRESULT Item (
  323. [in] long Index,
  324. [out, retval] IBodyPart **ppBody);
  325. [propget, restricted, id(DISPID_NEWENUM)]
  326. HRESULT _NewEnum(
  327. [out, retval] IUnknown** retval);
  328. [ id( 2 ), helpstring ( "method Delete" ) ] HRESULT Delete(
  329. [in] VARIANT varBP);
  330. [ id( 3 ), helpstring ( "method DeleteAll" ) ] HRESULT DeleteAll();
  331. [ id( 4 ), helpstring ( "method Add" ) ] HRESULT Add(
  332. [in, defaultvalue(-1)] long Index,
  333. [out, retval] IBodyPart **ppPart);
  334. };
  335. [ object, uuid(CD000030-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("ISMTPScriptConnector interface"), pointer_default(unique), hidden ] interface ISMTPScriptConnector : IDispatch
  336. {
  337. };
  338. [ object, uuid(CD000034-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("INNTPFinalScriptConnector interface"), pointer_default(unique), hidden ] interface INNTPEarlyScriptConnector : IDispatch
  339. {
  340. };
  341. [ object, uuid(CD000031-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("INNTPPostScriptConnector interface"), pointer_default(unique), hidden ] interface INNTPPostScriptConnector : IDispatch
  342. {
  343. };
  344. [ object, uuid(CD000032-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("INNTPFinalScriptConnector interface"), pointer_default(unique), hidden ] interface INNTPFinalScriptConnector : IDispatch
  345. {
  346. };
  347. [ object, uuid(CD000026-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("ISMTPOnArrival Interface"), pointer_default(unique) ] interface ISMTPOnArrival : IDispatch
  348. {
  349. [ id( 256 ), helpstring ( "method OnArrival" ) ] HRESULT OnArrival(
  350. [in] IMessage *Msg, [in,out]CdoEventStatus *EventStatus);
  351. };
  352. [ object, uuid(CD000033-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("INNTPOnPostEarly Interface"), pointer_default(unique) ] interface INNTPOnPostEarly : IDispatch
  353. {
  354. [ id( 256 ), helpstring ( "method OnPostEarly" ) ] HRESULT OnPostEarly(
  355. [in] IMessage *Msg, [in,out]CdoEventStatus *EventStatus);
  356. }
  357. [ object, uuid(CD000027-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("INNTPOnPost Interface"), pointer_default(unique) ] interface INNTPOnPost : IDispatch
  358. {
  359. [ id( 256 ), helpstring ( "method OnPost" ) ] HRESULT OnPost(
  360. [in] IMessage *Msg, [in,out]CdoEventStatus *EventStatus);
  361. };
  362. [ object, uuid(CD000028-8B95-11D1-82DB-00C04FB1625D), dual, nonextensible, helpstring("INNTPOnPostFinal Interface"), pointer_default(unique) ] interface INNTPOnPostFinal : IDispatch
  363. {
  364. [ id( 256 ), helpstring ( "method OnPostFinal" ) ] HRESULT OnPostFinal(
  365. [in] IMessage *Msg, [in,out]CdoEventStatus *EventStatus);
  366. };
  367. midl_pragma warning (default: 2461)
  368. [
  369. uuid(CD000000-8B95-11D1-82DB-00C04FB1625D),
  370. version(1.0),
  371. helpstring("Microsoft CDO for Windows 2000 Library")
  372. ]
  373. library CDO
  374. {
  375. importlib("stdole2.tlb");
  376. enum CdoConfigSource;
  377. enum CdoDSNOptions;
  378. enum CdoEventStatus;
  379. enum CdoMessageStat;
  380. enum CdoMHTMLFlags;
  381. enum CdoNNTPProcessingField;
  382. enum CdoPostUsing;
  383. enum CdoProtocolsAuthentication;
  384. enum CdoReferenceType;
  385. enum CdoSendUsing;
  386. enum CdoTimeZoneId;
  387. [ dllname("cdosys.dll") ]
  388. module CdoCalendar
  389. {
  390. const BSTR cdoTimeZoneIDURN =L"urn:schemas:calendar:timezoneid";
  391. };
  392. [ dllname("cdosys.dll") ]
  393. module CdoCharset
  394. {
  395. const BSTR cdoBIG5 =L"big5";
  396. const BSTR cdoEUC_JP =L"euc-jp";
  397. const BSTR cdoEUC_KR =L"euc-kr";
  398. const BSTR cdoGB2312 =L"gb2312";
  399. const BSTR cdoISO_2022_JP =L"iso-2022-jp";
  400. const BSTR cdoISO_2022_KR =L"iso-2022-kr";
  401. const BSTR cdoISO_8859_1 =L"iso-8859-1";
  402. const BSTR cdoISO_8859_2 =L"iso-8859-2";
  403. const BSTR cdoISO_8859_3 =L"iso-8859-3";
  404. const BSTR cdoISO_8859_4 =L"iso-8859-4";
  405. const BSTR cdoISO_8859_5 =L"iso-8859-5";
  406. const BSTR cdoISO_8859_6 =L"iso-8859-6";
  407. const BSTR cdoISO_8859_7 =L"iso-8859-7";
  408. const BSTR cdoISO_8859_8 =L"iso-8859-8";
  409. const BSTR cdoISO_8859_9 =L"iso-8859-9";
  410. const BSTR cdoKOI8_R =L"koi8-r";
  411. const BSTR cdoShift_JIS =L"shift-jis";
  412. const BSTR cdoUS_ASCII =L"us-ascii";
  413. const BSTR cdoUTF_7 =L"utf-7";
  414. const BSTR cdoUTF_8 =L"utf-8";
  415. };
  416. [ dllname("cdosys.dll") ]
  417. module CdoConfiguration
  418. {
  419. const BSTR cdoAutoPromoteBodyParts =L"http://schemas.microsoft.com/cdo/configuration/autopromotebodyparts";
  420. const BSTR cdoFlushBuffersOnWrite =L"http://schemas.microsoft.com/cdo/configuration/flushbuffersonwrite";
  421. const BSTR cdoHTTPCookies =L"http://schemas.microsoft.com/cdo/configuration/httpcookies";
  422. const BSTR cdoLanguageCode =L"http://schemas.microsoft.com/cdo/configuration/languagecode";
  423. const BSTR cdoNNTPAccountName =L"http://schemas.microsoft.com/cdo/configuration/nntpaccountname";
  424. const BSTR cdoNNTPAuthenticate =L"http://schemas.microsoft.com/cdo/configuration/nntpauthenticate";
  425. const BSTR cdoNNTPConnectionTimeout =L"http://schemas.microsoft.com/cdo/configuration/nntpconnectiontimeout";
  426. const BSTR cdoNNTPServer =L"http://schemas.microsoft.com/cdo/configuration/nntpserver";
  427. const BSTR cdoNNTPServerPickupDirectory =L"http://schemas.microsoft.com/cdo/configuration/nntpserverpickupdirectory";
  428. const BSTR cdoNNTPServerPort =L"http://schemas.microsoft.com/cdo/configuration/nntpserverport";
  429. const BSTR cdoNNTPUseSSL =L"http://schemas.microsoft.com/cdo/configuration/nntpusessl";
  430. const BSTR cdoPostEmailAddress =L"http://schemas.microsoft.com/cdo/configuration/postemailaddress";
  431. const BSTR cdoPostPassword =L"http://schemas.microsoft.com/cdo/configuration/postpassword";
  432. const BSTR cdoPostUserName =L"http://schemas.microsoft.com/cdo/configuration/postusername";
  433. const BSTR cdoPostUserReplyEmailAddress =L"http://schemas.microsoft.com/cdo/configuration/postuserreplyemailaddress";
  434. const BSTR cdoPostUsingMethod =L"http://schemas.microsoft.com/cdo/configuration/postusing";
  435. const BSTR cdoSaveSentItems =L"http://schemas.microsoft.com/cdo/configuration/savesentitems";
  436. const BSTR cdoSendEmailAddress =L"http://schemas.microsoft.com/cdo/configuration/sendemailaddress";
  437. const BSTR cdoSendPassword =L"http://schemas.microsoft.com/cdo/configuration/sendpassword";
  438. const BSTR cdoSendUserName =L"http://schemas.microsoft.com/cdo/configuration/sendusername";
  439. const BSTR cdoSendUserReplyEmailAddress =L"http://schemas.microsoft.com/cdo/configuration/senduserreplyemailaddress";
  440. const BSTR cdoSendUsingMethod =L"http://schemas.microsoft.com/cdo/configuration/sendusing";
  441. const BSTR cdoSMTPAccountName =L"http://schemas.microsoft.com/cdo/configuration/smtpaccountname";
  442. const BSTR cdoSMTPAuthenticate =L"http://schemas.microsoft.com/cdo/configuration/smtpauthenticate";
  443. const BSTR cdoSMTPConnectionTimeout =L"http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout";
  444. const BSTR cdoSMTPServer =L"http://schemas.microsoft.com/cdo/configuration/smtpserver";
  445. const BSTR cdoSMTPServerPickupDirectory =L"http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory";
  446. const BSTR cdoSMTPServerPort =L"http://schemas.microsoft.com/cdo/configuration/smtpserverport";
  447. const BSTR cdoSMTPUseSSL =L"http://schemas.microsoft.com/cdo/configuration/smtpusessl";
  448. const BSTR cdoURLGetLatestVersion =L"http://schemas.microsoft.com/cdo/configuration/urlgetlatestversion";
  449. const BSTR cdoURLProxyBypass =L"http://schemas.microsoft.com/cdo/configuration/urlproxybypass";
  450. const BSTR cdoURLProxyServer =L"http://schemas.microsoft.com/cdo/configuration/urlproxyserver";
  451. const BSTR cdoUseMessageResponseText =L"http://schemas.microsoft.com/cdo/configuration/usemessageresponsetext";
  452. };
  453. [ dllname("cdosys.dll") ]
  454. module CdoContentTypeValues
  455. {
  456. const BSTR cdoGif =L"image/gif";
  457. const BSTR cdoJpeg =L"image/jpeg";
  458. const BSTR cdoMessageExternalBody =L"message/external-body";
  459. const BSTR cdoMessagePartial =L"message/partial";
  460. const BSTR cdoMessageRFC822 =L"message/rfc822";
  461. const BSTR cdoMultipartAlternative =L"multipart/alternative";
  462. const BSTR cdoMultipartDigest =L"multipart/digest";
  463. const BSTR cdoMultipartMixed =L"multipart/mixed";
  464. const BSTR cdoMultipartRelated =L"multipart/related";
  465. const BSTR cdoTextHTML =L"text/html";
  466. const BSTR cdoTextPlain =L"text/plain";
  467. };
  468. [ dllname("cdosys.dll") ]
  469. module CdoEncodingType
  470. {
  471. const BSTR cdo7bit =L"7bit";
  472. const BSTR cdo8bit =L"8bit";
  473. const BSTR cdoBase64 =L"base64";
  474. const BSTR cdoBinary =L"binary";
  475. const BSTR cdoMacBinHex40 =L"mac-binhex40";
  476. const BSTR cdoQuotedPrintable =L"quoted-printable";
  477. const BSTR cdoUuencode =L"uuencode";
  478. };
  479. [ dllname("cdosys.dll") ]
  480. module CdoHTTPMail
  481. {
  482. const BSTR cdoAttachmentFilename =L"urn:schemas:httpmail:attachmentfilename";
  483. const BSTR cdoContentDispositionType =L"urn:schemas:httpmail:content-disposition-type";
  484. const BSTR cdoContentMediaType =L"urn:schemas:httpmail:content-media-type";
  485. const BSTR cdoDateReceived =L"urn:schemas:httpmail:datereceived";
  486. const BSTR cdoHasAttachment =L"urn:schemas:httpmail:hasattachment";
  487. const BSTR cdoHTMLDescription =L"urn:schemas:httpmail:htmldescription";
  488. const BSTR cdoNormalizedSubject =L"urn:schemas:httpmail:normalizedsubject";
  489. const BSTR cdoTextDescription =L"urn:schemas:httpmail:textdescription";
  490. };
  491. [ dllname("cdosys.dll") ]
  492. module CdoImportanceValues
  493. {
  494. const BSTR cdoHigh =L"High";
  495. const BSTR cdoLow =L"Low";
  496. const BSTR cdoNormal =L"Normal";
  497. };
  498. [ dllname("cdosys.dll") ]
  499. module CdoInterfaces
  500. {
  501. const BSTR cdoAdoStream =L"_Stream";
  502. const BSTR cdoIBodyPart =L"IBodyPart";
  503. const BSTR cdoIConfiguration =L"IConfiguration";
  504. const BSTR cdoIDataSource =L"IDataSource";
  505. const BSTR cdoIMessage =L"IMessage";
  506. const BSTR cdoIStream =L"IStream";
  507. };
  508. [ dllname("cdosys.dll") ]
  509. module CdoMailHeader
  510. {
  511. const BSTR cdoApproved =L"urn:schemas:mailheader:approved";
  512. const BSTR cdoBcc =L"urn:schemas:mailheader:bcc";
  513. const BSTR cdoCc =L"urn:schemas:mailheader:cc";
  514. const BSTR cdoComment =L"urn:schemas:mailheader:comment";
  515. const BSTR cdoContentBase =L"urn:schemas:mailheader:content-base";
  516. const BSTR cdoContentClass =L"urn:schemas:mailheader:content-class";
  517. const BSTR cdoContentClassName =L"urn:schemas:mailheader:content-class-name";
  518. const BSTR cdoContentDescription =L"urn:schemas:mailheader:content-description";
  519. const BSTR cdoContentDisposition =L"urn:schemas:mailheader:content-disposition";
  520. const BSTR cdoContentId =L"urn:schemas:mailheader:content-id";
  521. const BSTR cdoContentLanguage =L"urn:schemas:mailheader:content-language";
  522. const BSTR cdoContentLocation =L"urn:schemas:mailheader:content-location";
  523. const BSTR cdoContentTransferEncoding =L"urn:schemas:mailheader:content-transfer-encoding";
  524. const BSTR cdoContentType =L"urn:schemas:mailheader:content-type";
  525. const BSTR cdoControl =L"urn:schemas:mailheader:control";
  526. const BSTR cdoDate =L"urn:schemas:mailheader:date";
  527. const BSTR cdoDisposition =L"urn:schemas:mailheader:disposition";
  528. const BSTR cdoDispositionNotificationOptions =L"urn:schemas:mailheader:disposition-notification-options";
  529. const BSTR cdoDispositionNotificationTo =L"urn:schemas:mailheader:disposition-notification-to";
  530. const BSTR cdoDistribution =L"urn:schemas:mailheader:distribution";
  531. const BSTR cdoExpires =L"urn:schemas:mailheader:expires";
  532. const BSTR cdoFollowupTo =L"urn:schemas:mailheader:followup-to";
  533. const BSTR cdoFrom =L"urn:schemas:mailheader:from";
  534. const BSTR cdoImportance =L"urn:schemas:mailheader:importance";
  535. const BSTR cdoInReplyTo =L"urn:schemas:mailheader:in-reply-to";
  536. const BSTR cdoKeywords =L"urn:schemas:mailheader:keywords";
  537. const BSTR cdoLines =L"urn:schemas:mailheader:lines";
  538. const BSTR cdoMessageId =L"urn:schemas:mailheader:message-id";
  539. const BSTR cdoMIMEVersion =L"urn:schemas:mailheader:mime-version";
  540. const BSTR cdoNewsgroups =L"urn:schemas:mailheader:newsgroups";
  541. const BSTR cdoNNTPPostingHost =L"urn:schemas:mailheader:nntp-posting-host";
  542. const BSTR cdoNNTPPostingUser =L"urn:schemas:mailheader:nntp-posting-user";
  543. const BSTR cdoOrganization =L"urn:schemas:mailheader:organization";
  544. const BSTR cdoOriginalRecipient =L"urn:schemas:mailheader:original-recipient";
  545. const BSTR cdoPath =L"urn:schemas:mailheader:path";
  546. const BSTR cdoPostingVersion =L"urn:schemas:mailheader:posting-version";
  547. const BSTR cdoPriority =L"urn:schemas:mailheader:priority";
  548. const BSTR cdoReceived =L"urn:schemas:mailheader:received";
  549. const BSTR cdoReferences =L"urn:schemas:mailheader:references";
  550. const BSTR cdoRelayVersion =L"urn:schemas:mailheader:relay-version";
  551. const BSTR cdoReplyTo =L"urn:schemas:mailheader:reply-to";
  552. const BSTR cdoReturnPath =L"urn:schemas:mailheader:return-path";
  553. const BSTR cdoReturnReceiptTo =L"urn:schemas:mailheader:return-receipt-to";
  554. const BSTR cdoSender =L"urn:schemas:mailheader:sender";
  555. const BSTR cdoSensitivity =L"urn:schemas:mailheader:sensitivity";
  556. const BSTR cdoSubject =L"urn:schemas:mailheader:subject";
  557. const BSTR cdoSummary =L"urn:schemas:mailheader:summary";
  558. const BSTR cdoTo =L"urn:schemas:mailheader:to";
  559. const BSTR cdoXMailer =L"urn:schemas:mailheader:x-mailer";
  560. const BSTR cdoXref =L"urn:schemas:mailheader:xref";
  561. const BSTR cdoXUnsent =L"urn:schemas:mailheader:x-unsent";
  562. };
  563. [ dllname("cdosys.dll") ]
  564. module CdoNamespace
  565. {
  566. const BSTR cdoNSConfiguration =L"http://schemas.microsoft.com/cdo/configuration/";
  567. const BSTR cdoNSContacts =L"urn:schemas:contacts:";
  568. const BSTR cdoNSHTTPMail =L"urn:schemas:httpmail:";
  569. const BSTR cdoNSMailHeader =L"urn:schemas:mailheader:";
  570. const BSTR cdoNSNNTPEnvelope =L"http://schemas.microsoft.com/cdo/nntpenvelope/";
  571. const BSTR cdoNSSMTPEnvelope =L"http://schemas.microsoft.com/cdo/smtpenvelope/";
  572. };
  573. [ dllname("cdosys.dll") ]
  574. module CdoNNTPEnvelope
  575. {
  576. const BSTR cdoNewsgroupList =L"http://schemas.microsoft.com/cdo/nntpenvelope/newsgrouplist";
  577. const BSTR cdoNNTPProcessing =L"http://schemas.microsoft.com/cdo/nntpenvelope/nntpprocessing";
  578. };
  579. [ dllname("cdosys.dll") ]
  580. module CdoPriorityValues
  581. {
  582. const BSTR cdoPriorityNonUrgent =L"non-urgent";
  583. const BSTR cdoPriorityNormal =L"normal";
  584. const BSTR cdoPriorityUrgent =L"urgent";
  585. };
  586. [ dllname("cdosys.dll") ]
  587. module CdoSensitivityValues
  588. {
  589. const BSTR cdoCompanyConfidential =L"Company-Confidential";
  590. const BSTR cdoPersonal =L"Personal";
  591. const BSTR cdoPrivate =L"Private";
  592. };
  593. [ dllname("cdosys.dll") ]
  594. module CdoSMTPEnvelope
  595. {
  596. const BSTR cdoArrivalTime =L"http://schemas.microsoft.com/cdo/smtpenvelope/arrivaltime";
  597. const BSTR cdoClientIPAddress =L"http://schemas.microsoft.com/cdo/smtpenvelope/clientipaddress";
  598. const BSTR cdoMessageStatus =L"http://schemas.microsoft.com/cdo/smtpenvelope/messagestatus";
  599. const BSTR cdoPickupFileName =L"http://schemas.microsoft.com/cdo/smtpenvelope/pickupfilename";
  600. const BSTR cdoRecipientList =L"http://schemas.microsoft.com/cdo/smtpenvelope/recipientlist";
  601. const BSTR cdoSenderEmailAddress =L"http://schemas.microsoft.com/cdo/smtpenvelope/senderemailaddress";
  602. };
  603. [ dllname("cdosys.dll") ]
  604. module CdoErrors
  605. {
  606. const LONG CDO_E_UNCAUGHT_EXCEPTION = 0x80040201L;
  607. const LONG CDO_E_NOT_OPENED = 0x80040202L;
  608. const LONG CDO_E_UNSUPPORTED_DATASOURCE = 0x80040203L;
  609. const LONG CDO_E_INVALID_PROPERTYNAME = 0x80040204L;
  610. const LONG CDO_E_PROP_UNSUPPORTED = 0x80040205L;
  611. const LONG CDO_E_INACTIVE = 0x80040206L;
  612. const LONG CDO_E_NO_SUPPORT_FOR_OBJECTS = 0x80040207L;
  613. const LONG CDO_E_NOT_AVAILABLE = 0x80040208L;
  614. const LONG CDO_E_NO_DEFAULT_DROP_DIR = 0x80040209L;
  615. const LONG CDO_E_SMTP_SERVER_REQUIRED = 0x8004020AL;
  616. const LONG CDO_E_NNTP_SERVER_REQUIRED = 0x8004020BL;
  617. const LONG CDO_E_RECIPIENT_MISSING = 0x8004020CL;
  618. const LONG CDO_E_FROM_MISSING = 0x8004020DL;
  619. const LONG CDO_E_SENDER_REJECTED = 0x8004020EL;
  620. const LONG CDO_E_RECIPIENTS_REJECTED = 0x8004020FL;
  621. const LONG CDO_E_NNTP_POST_FAILED = 0x80040210L;
  622. const LONG CDO_E_SMTP_SEND_FAILED = 0x80040211L;
  623. const LONG CDO_E_CONNECTION_DROPPED = 0x80040212L;
  624. const LONG CDO_E_FAILED_TO_CONNECT = 0x80040213L;
  625. const LONG CDO_E_INVALID_POST = 0x80040214L;
  626. const LONG CDO_E_AUTHENTICATION_FAILURE = 0x80040215L;
  627. const LONG CDO_E_INVALID_CONTENT_TYPE = 0x80040216L;
  628. const LONG CDO_E_LOGON_FAILURE = 0x80040217L;
  629. const LONG CDO_E_HTTP_NOT_FOUND = 0x80040218L;
  630. const LONG CDO_E_HTTP_FORBIDDEN = 0x80040219L;
  631. const LONG CDO_E_HTTP_FAILED = 0x8004021AL;
  632. const LONG CDO_E_MULTIPART_NO_DATA = 0x8004021BL;
  633. const LONG CDO_E_INVALID_ENCODING_FOR_MULTIPART = 0x8004021CL;
  634. const LONG CDO_E_PROP_NOT_FOUND = 0x8004021EL;
  635. const LONG CDO_E_INVALID_SEND_OPTION = 0x80040220L;
  636. const LONG CDO_E_INVALID_POST_OPTION = 0x80040221L;
  637. const LONG CDO_E_NO_PICKUP_DIR = 0x80040222L;
  638. const LONG CDO_E_NOT_ALL_DELETED = 0x80040223L;
  639. const LONG CDO_E_PROP_READONLY = 0x80040227L;
  640. const LONG CDO_E_PROP_CANNOT_DELETE = 0x80040228L;
  641. const LONG CDO_E_BAD_DATA = 0x80040229L;
  642. const LONG CDO_E_PROP_NONHEADER = 0x8004022AL;
  643. const LONG CDO_E_INVALID_CHARSET = 0x8004022BL;
  644. const LONG CDO_E_ADOSTREAM_NOT_BOUND = 0x8004022CL;
  645. const LONG CDO_E_CONTENTPROPXML_NOT_FOUND = 0x8004022DL;
  646. const LONG CDO_E_CONTENTPROPXML_WRONG_CHARSET = 0x8004022EL;
  647. const LONG CDO_E_CONTENTPROPXML_PARSE_FAILED = 0x8004022FL;
  648. const LONG CDO_E_CONTENTPROPXML_CONVERT_FAILED = 0x80040230L;
  649. const LONG CDO_E_NO_DIRECTORIES_SPECIFIED = 0x80040231L;
  650. const LONG CDO_E_DIRECTORIES_UNREACHABLE = 0x80040232L;
  651. const LONG CDO_E_BAD_SENDER = 0x80040233L;
  652. const LONG CDO_E_SELF_BINDING = 0x80040234L;
  653. const LONG CDO_E_ARGUMENT1 = 0x80044000L;
  654. const LONG CDO_E_ARGUMENT2 = 0x80044001L;
  655. const LONG CDO_E_ARGUMENT3 = 0x80044002L;
  656. const LONG CDO_E_ARGUMENT4 = 0x80044003L;
  657. const LONG CDO_E_ARGUMENT5 = 0x80044004L;
  658. const LONG CDO_E_NOT_FOUND = 0x800CCE05L;
  659. const LONG CDO_E_INVALID_ENCODING_TYPE = 0x800CCE1DL;
  660. };
  661. interface IBodyParts;
  662. interface IMessages;
  663. [ uuid(CD000001-8B95-11D1-82DB-00C04FB1625D), helpstring("Message Class") ] coclass Message
  664. {
  665. [default] interface IMessage;
  666. interface IDataSource;
  667. interface IBodyPart;
  668. };
  669. [ uuid(CD000002-8B95-11D1-82DB-00C04FB1625D), helpstring("Config Class") ] coclass Configuration
  670. {
  671. [default] interface IConfiguration;
  672. };
  673. [ uuid(CD000004-8B95-11D1-82DB-00C04FB1625D), helpstring("DropDirectory Class") ] coclass DropDirectory
  674. {
  675. [default] interface IDropDirectory;
  676. };
  677. [ uuid(CD000008-8B95-11D1-82DB-00C04FB1625D), helpstring("SMTPConnector Class"), hidden ] coclass SMTPConnector
  678. {
  679. [default] interface ISMTPScriptConnector;
  680. [default,source] interface ISMTPOnArrival;
  681. };
  682. [ uuid(CD000011-8B95-11D1-82DB-00C04FB1625D), helpstring("NNTPEarlyConnector Class"), hidden ] coclass NNTPEarlyConnector
  683. {
  684. [default] interface INNTPEarlyScriptConnector;
  685. [default,source] interface INNTPOnPostEarly;
  686. };
  687. [ uuid(CD000009-8B95-11D1-82DB-00C04FB1625D), helpstring("NNTPPostConnector Class"), hidden ] coclass NNTPPostConnector
  688. {
  689. [default] interface INNTPPostScriptConnector;
  690. [default,source] interface INNTPOnPost;
  691. };
  692. [ uuid(CD000010-8B95-11D1-82DB-00C04FB1625D), helpstring("NNTPFinalConnector Class"), hidden ] coclass NNTPFinalConnector
  693. {
  694. [default] interface INNTPFinalScriptConnector;
  695. [default,source] interface INNTPOnPostFinal;
  696. };
  697. };