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.

1773 lines
54 KiB

  1. // nntpadm.idl : IDL source for nntpadm.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (nntpadm.tlb) and marshalling code.
  5. midl_pragma warning(disable:2362) // too many methods in the interface
  6. cpp_quote("")
  7. cpp_quote("/*++")
  8. cpp_quote("")
  9. cpp_quote("Copyright (c) 1997 Microsoft Corporation")
  10. cpp_quote("")
  11. cpp_quote("Module Name: nntpadm.h")
  12. cpp_quote("")
  13. cpp_quote(" Nntp Admin Object Interfaces")
  14. cpp_quote("")
  15. cpp_quote("--*/")
  16. cpp_quote("")
  17. cpp_quote("#ifndef _NNTPADM_IDL_INCLUDED_")
  18. cpp_quote("#define _NNTPADM_IDL_INCLUDED_")
  19. cpp_quote("")
  20. cpp_quote("#include <iads.h>")
  21. cpp_quote("")
  22. //
  23. // Define GUIDS:
  24. //
  25. // IIDs:
  26. cpp_quote("")
  27. cpp_quote("/* IIDs: */")
  28. cpp_quote("")
  29. cpp_quote("DEFINE_GUID(IID_INntpAdmin,0x3241F062,0x6D68,0x11D0,0x89,0x50,0x00,0xAA,0x00,0xA7,0x4B,0xF2);")
  30. cpp_quote("DEFINE_GUID(IID_INntpService,0x3241F07B,0x6D68,0x11D0,0x89,0x50,0x00,0xAA,0x00,0xA7,0x4B,0xF2);")
  31. cpp_quote("DEFINE_GUID(IID_INntpVirtualServer,0x3241F067,0x6D68,0x11D0,0x89,0x50,0x00,0xAA,0x00,0xA7,0x4B,0xF2);")
  32. cpp_quote("DEFINE_GUID(IID_INntpAdminFeeds,0x3241F06C,0x6D68,0x11D0,0x89,0x50,0x00,0xAA,0x00,0xA7,0x4B,0xF2);")
  33. cpp_quote("DEFINE_GUID(IID_INntpAdminExpiration,0x772bbad0,0x7a22,0x11d0,0x89,0x5d,0x00,0xaa,0x00,0xa7,0x4b,0xf2);")
  34. cpp_quote("DEFINE_GUID(IID_INntpAdminGroups,0x3241F071,0x6D68,0x11D0,0x89,0x50,0x00,0xAA,0x00,0xA7,0x4B,0xF2);")
  35. cpp_quote("DEFINE_GUID(IID_INntpAdminSessions,0x3241F076,0x6D68,0x11D0,0x89,0x50,0x00,0xAA,0x00,0xA7,0x4B,0xF2);")
  36. cpp_quote("DEFINE_GUID(IID_INntpAdminRebuild,0xdee3b230,0xa3c2,0x11d0,0x89,0x6e,0x00,0xaa,0x00,0xa7,0x4b,0xf2);")
  37. cpp_quote("DEFINE_GUID(IID_INntpServerBinding,0x9fc9efd0,0xa535,0x11d0,0x89,0x6f,0x00,0xaa,0x00,0xa7,0x4b,0xf2);")
  38. cpp_quote("DEFINE_GUID(IID_INntpServerBindings,0x9fc9efd1,0xa535,0x11d0,0x89,0x6f,0x00,0xaa,0x00,0xa7,0x4b,0xf2);")
  39. cpp_quote("DEFINE_GUID(IID_INntpVirtualRoot,0xaa068dc0,0xa635,0x11d0,0x89, 0x6f, 0x00, 0xaa, 0x00, 0xa7, 0x4b, 0xf2);")
  40. cpp_quote("DEFINE_GUID(IID_INntpVirtualRoots,0xaa068dc1,0xa635,0x11d0,0x89, 0x6f, 0x00, 0xaa, 0x00, 0xa7, 0x4b, 0xf2);")
  41. cpp_quote("DEFINE_GUID(IID_INntpFeed,0xcdde8050,0xae09,0x11d0, 0x89, 0x74, 0x00, 0xaa, 0x00, 0xa7, 0x4b, 0xf2);")
  42. cpp_quote("DEFINE_GUID(IID_INntpOneWayFeed,0xcdde8051,0xae09,0x11d0, 0x89, 0x74, 0x00, 0xaa, 0x00, 0xa7, 0x4b, 0xf2);")
  43. cpp_quote("DEFINE_GUID(IID_ITcpAccess,0xcbf09fa0,0xb9ac,0x11d0,0x89, 0x77, 0x00, 0xaa, 0x00, 0xa7, 0x4b, 0xf2);")
  44. cpp_quote("DEFINE_GUID(IID_ITcpAccessExceptions,0xcbf09fa1,0xb9ac,0x11d0,0x89, 0x77, 0x00, 0xaa, 0x00, 0xa7, 0x4b, 0xf2);")
  45. cpp_quote("DEFINE_GUID(IID_ITcpAccessException,0x326e38c0,0xc32a,0x11d0,0x89, 0x89, 0x00, 0xaa, 0x00, 0xa7, 0x4b, 0xf2);")
  46. // CLSIDs:
  47. cpp_quote("")
  48. cpp_quote("/* CLSIDs: */")
  49. cpp_quote("")
  50. cpp_quote("DEFINE_GUID(CLSID_CNntpAdmin,0x3241F066,0x6D68,0x11D0,0x89,0x50,0x00,0xAA,0x00,0xA7,0x4B,0xF2);")
  51. cpp_quote("DEFINE_GUID(CLSID_CNntpVirtualServer,0x3241F06B,0x6D68,0x11D0,0x89,0x50,0x00,0xAA,0x00,0xA7,0x4B,0xF2);")
  52. cpp_quote("DEFINE_GUID(CLSID_CNntpService,0x3241F07F,0x6D68,0x11D0,0x89,0x50,0x00,0xAA,0x00,0xA7,0x4B,0xF2);")
  53. cpp_quote("DEFINE_GUID(CLSID_CNntpAdminFeeds,0x3241F070,0x6D68,0x11D0,0x89,0x50,0x00,0xAA,0x00,0xA7,0x4B,0xF2);")
  54. cpp_quote("DEFINE_GUID(CLSID_CNntpAdminExpiration,0x772bbad1,0x7a22,0x11d0,0x89,0x5d,0x00,0xaa,0x00,0xa7,0x4b,0xf2);")
  55. cpp_quote("DEFINE_GUID(CLSID_CNntpAdminGroups,0x3241F075,0x6D68,0x11D0,0x89,0x50,0x00,0xAA,0x00,0xA7,0x4B,0xF2);")
  56. cpp_quote("DEFINE_GUID(CLSID_CNntpAdminSessions,0x3241F07A,0x6D68,0x11D0,0x89,0x50,0x00,0xAA,0x00,0xA7,0x4B,0xF2);")
  57. cpp_quote("DEFINE_GUID(CLSID_CNntpAdminRebuild,0xdee3b231,0xa3c2,0x11d0,0x89,0x6e,0x00,0xaa,0x00,0xa7,0x4b,0xf2);")
  58. cpp_quote("DEFINE_GUID(CLSID_CNntpVirtualRoot,0x28e6a820,0xa6c4,0x11d0,0x89, 0x6f, 0x00, 0xaa, 0x00, 0xa7, 0x4b, 0xf2);")
  59. cpp_quote("DEFINE_GUID(CLSID_CNntpFeed,0x5bddc640,0xae09,0x11d0, 0x89, 0x74, 0x00, 0xaa, 0x00, 0xa7, 0x4b, 0xf2);")
  60. cpp_quote("DEFINE_GUID(CLSID_CNntpOneWayFeed,0x5bddc641,0xae09,0x11d0, 0x89, 0x74, 0x00, 0xaa, 0x00, 0xa7, 0x4b, 0xf2);")
  61. // LibIDs:
  62. cpp_quote("")
  63. cpp_quote("/* LIBIDs: */")
  64. cpp_quote("")
  65. cpp_quote("DEFINE_GUID(LIBID_NNTPADMLib,0x3241F060,0x6D68,0x11D0,0x89,0x50,0x00,0xAA,0x00,0xA7,0x4B,0xF2);")
  66. cpp_quote("")
  67. cpp_quote("DEFINE_GUID(CLSID_CAdsNntpVirtualServer,0xcbf09fa2,0xb9ac,0x11d0,0x89, 0x77, 0x00, 0xaa, 0x00, 0xa7, 0x4b, 0xf2);")
  68. cpp_quote("DEFINE_GUID(IID_IAdsNntpVirtualServer,0xcbf09fa3,0xb9ac,0x11d0,0x89, 0x77, 0x00, 0xaa, 0x00, 0xa7, 0x4b, 0xf2);")
  69. /*
  70. Don't allow INntpService for now...
  71. cpp_quote("DEFINE_GUID(CLSID_CTcpAccessException,0x326e38c2,0xc32a,0x11d0,0x89, 0x89, 0x00, 0xaa, 0x00, 0xa7, 0x4b, 0xf2);")
  72. */
  73. #define DISPID_IADs_UPPER_BOUND 100
  74. [
  75. uuid(3241F060-6D68-11D0-8950-00AA00A74BF2),
  76. version(1.0),
  77. helpstring("nntpadm 1.0 Type Library")
  78. ]
  79. library NNTPADMLib
  80. {
  81. importlib("stdole2.tlb");
  82. importlib("activeds.tlb");
  83. // Forward declarations:
  84. interface INntpServerBinding;
  85. interface INntpServerBindings;
  86. interface INntpVirtualRoots;
  87. interface INntpVirtualRoot;
  88. interface INntpFeed;
  89. interface INntpOneWayFeed;
  90. interface ITcpAccess;
  91. interface ITcpAccessExceptions;
  92. interface ITcpAccessException;
  93. //////////////////////////////////////////////////////////////////////
  94. //
  95. // Type definitions:
  96. //
  97. //////////////////////////////////////////////////////////////////////
  98. // Define our feed types:
  99. typedef enum {
  100. NNTP_FEED_TYPE_PEER = 1,
  101. NNTP_FEED_TYPE_MASTER = 2,
  102. NNTP_FEED_TYPE_SLAVE = 3
  103. } NNTP_FEED_SERVER_TYPE;
  104. typedef enum {
  105. NNTP_FEED_ACTION_PULL = 1,
  106. NNTP_FEED_ACTION_PUSH = 2,
  107. NNTP_FEED_ACTION_ACCEPT = 3
  108. } NNTP_FEED_ACTION;
  109. typedef enum {
  110. NNTP_SERVER_STATE_UNKNOWN = 0,
  111. NNTP_SERVER_STATE_STARTING,
  112. NNTP_SERVER_STATE_STARTED,
  113. NNTP_SERVER_STATE_STOPPING,
  114. NNTP_SERVER_STATE_STOPPED,
  115. NNTP_SERVER_STATE_PAUSING,
  116. NNTP_SERVER_STATE_PAUSED,
  117. NNTP_SERVER_STATE_CONTINUING
  118. } NNTP_SERVER_STATE;
  119. //////////////////////////////////////////////////////////////////////
  120. //
  121. // Interface Definitions:
  122. //
  123. //////////////////////////////////////////////////////////////////////
  124. [
  125. object,
  126. uuid(3241F062-6D68-11D0-8950-00AA00A74BF2),
  127. dual,
  128. helpstring("INntpAdmin Interface"),
  129. pointer_default(unique)
  130. ]
  131. interface INntpAdmin : IDispatch
  132. {
  133. import "oaidl.idl";
  134. //////////////////////////////////////////////////////////////////////
  135. // Properties:
  136. //////////////////////////////////////////////////////////////////////
  137. // Pointers to other INntpAdmin interfaces:
  138. /*
  139. [propget, helpstring("INntpVirtualServer interface")]
  140. HRESULT ServiceAdmin ( [out, retval] IDispatch ** ppIDispatch );
  141. */
  142. [propget, helpstring("INntpService")]
  143. HRESULT ServerAdmin ( [out, retval] IDispatch ** ppIDispatch );
  144. // Which service to configure:
  145. [propget, helpstring("Computer Name to Configure")]
  146. HRESULT Server ( [out, retval] BSTR * pstrServer );
  147. [propput]
  148. HRESULT Server ( [in] BSTR strServer );
  149. [propget, helpstring("")]
  150. HRESULT ServiceInstance ( [out, retval] long * pdwServiceInstance );
  151. [propput]
  152. HRESULT ServiceInstance ( [in] long dwServiceInstance );
  153. // Versioning:
  154. [propget, helpstring("Versioning Information")]
  155. HRESULT HighVersion ( [out, retval] long * pdwHighVersion );
  156. [propget, helpstring("Versioning Information")]
  157. HRESULT LowVersion ( [out, retval] long * pdwLowVersion );
  158. [propget, helpstring("Build Number")]
  159. HRESULT BuildNum ( [out, retval] long * pdwBuildNumber );
  160. [propget, helpstring("Service version #")]
  161. HRESULT ServiceVersion ( [out, retval] long * pdwServiceVersion );
  162. //////////////////////////////////////////////////////////////////////
  163. // Methods:
  164. //////////////////////////////////////////////////////////////////////
  165. [helpstring("Enumerate service instances")]
  166. HRESULT EnumerateInstances ( [out, retval] SAFEARRAY (long) * psaInstanceIds );
  167. [helpstring("VB script version")]
  168. HRESULT EnumerateInstancesVariant ( [out, retval] SAFEARRAY (VARIANT) * psaInstanceIds );
  169. [helpstring("Create a new service instance")]
  170. HRESULT CreateInstance (
  171. [in] BSTR strNntpFileDirectory,
  172. [in] BSTR strHomeDirectory,
  173. [in] BSTR strProgId,
  174. [in] BSTR strMdbGuid,
  175. [out, retval] long * pdwInstanceId
  176. );
  177. [helpstring("Delete a service instance")]
  178. HRESULT DestroyInstance ([in] long dwInstanceId );
  179. [helpstring("Translate an error code into a string")]
  180. HRESULT ErrorToString ( [in] long dwErrorCode, [out, retval] BSTR * pstrError );
  181. [helpstring("HTML tokenize the given string")]
  182. HRESULT Tokenize ( [in] BSTR strIn, [out, retval] BSTR * pstrOut );
  183. [helpstring("Truncate the given string")]
  184. HRESULT Truncate ( [in] BSTR strIn, [in] long dwMaxChars, [out, retval] BSTR * pstrOut );
  185. };
  186. [
  187. object,
  188. uuid(3241F07B-6D68-11D0-8950-00AA00A74BF2),
  189. dual,
  190. helpstring("INntpService Interface"),
  191. pointer_default(unique)
  192. ]
  193. interface INntpService : IDispatch
  194. {
  195. import "oaidl.idl";
  196. //////////////////////////////////////////////////////////////////////
  197. // Properties:
  198. //////////////////////////////////////////////////////////////////////
  199. [propget, helpstring("")]
  200. HRESULT SmtpServer ( [out, retval] BSTR * pstrSmtpServer );
  201. [propput]
  202. HRESULT SmtpServer ( [in] BSTR strSmtpServer );
  203. [propget, helpstring("")]
  204. HRESULT AllowClientPosts ( [out, retval] BOOL * pfAllowClientPosts );
  205. [propput]
  206. HRESULT AllowClientPosts ( [in] BOOL fAllowClientPosts );
  207. [propget, helpstring("")]
  208. HRESULT AllowFeedPosts ( [out, retval] BOOL * pfAllowFeedPosts );
  209. [propput]
  210. HRESULT AllowFeedPosts ( [in] BOOL fAllowFeedPosts );
  211. [propget, helpstring("")]
  212. HRESULT AllowControlMsgs ( [out, retval] BOOL * pfAllowControlMsgs );
  213. [propput]
  214. HRESULT AllowControlMsgs ( [in] BOOL fAllowControlMsgs );
  215. [propget, helpstring("")]
  216. HRESULT DefaultModeratorDomain ( [out, retval] BSTR * pstrDefaultModeratorDomain );
  217. [propput]
  218. HRESULT DefaultModeratorDomain ( [in] BSTR strDefaultModeratorDomain );
  219. [propget, helpstring("")]
  220. HRESULT DisableNewnews ( [out, retval] BOOL * pfDisableNewnews );
  221. [propput]
  222. HRESULT DisableNewnews ( [in] BOOL fDisableNewnews );
  223. [propput]
  224. HRESULT TestPass ( [in] BSTR strTestPass );
  225. [propget, helpstring("")]
  226. HRESULT TestStringArray ( [out, retval] SAFEARRAY(VARIANT) * psastr );
  227. [propput]
  228. HRESULT TestStringArray ( [in] SAFEARRAY(VARIANT) psastr );
  229. //////////////////////////////////////////////////////////////////////
  230. // Methods:
  231. //////////////////////////////////////////////////////////////////////
  232. [helpstring("Get server properties")]
  233. HRESULT Get ();
  234. [helpstring("Set server properties")]
  235. HRESULT Set ( [in, defaultvalue(FALSE)] BOOL fFailIfChanged );
  236. };
  237. [
  238. object,
  239. uuid(3241F067-6D68-11D0-8950-00AA00A74BF2),
  240. dual,
  241. helpstring("INntpVirtualServer Interface"),
  242. pointer_default(unique)
  243. ]
  244. interface INntpVirtualServer : IDispatch
  245. {
  246. import "oaidl.idl";
  247. //////////////////////////////////////////////////////////////////////
  248. // Properties:
  249. //////////////////////////////////////////////////////////////////////
  250. // Which service to configure:
  251. [propget, helpstring("Computer Name to Configure")]
  252. HRESULT Server ( [out, retval] BSTR * pstrServer );
  253. [propput]
  254. HRESULT Server ( [in] BSTR strServer );
  255. [propget, helpstring("")]
  256. HRESULT ServiceInstance ( [out, retval] long * pdwServiceInstance );
  257. [propput]
  258. HRESULT ServiceInstance ( [in] long dwServiceInstance );
  259. // Other admin Interfaces on a virtual server:
  260. [propget, helpstring("INntpAdminFeeds interface")]
  261. HRESULT FeedsAdmin ( [out, retval] IDispatch ** ppIDispatch );
  262. [propget, helpstring("INntpAdminGroups")]
  263. HRESULT GroupsAdmin ( [out, retval] IDispatch ** ppIDispatch );
  264. [propget, helpstring("INntpAdminExpiration")]
  265. HRESULT ExpirationAdmin ( [out, retval] IDispatch ** ppIDispatch );
  266. [propget, helpstring("INntpAdminSessions")]
  267. HRESULT SessionsAdmin ( [out, retval] IDispatch ** ppIDispatch );
  268. [propget, helpstring("INntpAdminRebuild")]
  269. HRESULT RebuildAdmin ( [out, retval] IDispatch ** ppIDispatch );
  270. [propget, helpstring("INntpVirtualRoots")]
  271. HRESULT VirtualRoots ( [out, retval] INntpVirtualRoots ** ppINntpVirtualRoots );
  272. [propget, helpstring("INntpVirtaulRoots")]
  273. HRESULT VirtualRootsDispatch ( [out, retval] IDispatch ** ppIDispatch );
  274. [propget, helpstring("ITcpAccess ")]
  275. HRESULT TcpAccess ( [out, retval] ITcpAccess ** ppTcpAccess );
  276. /*
  277. [propget, helpstring("INntpVirtualRoot for home directory")]
  278. HRESULT HomeDirectory ( [out, retval] INntpVirtualRoot ** ppINntpVirtualRoot );
  279. [propput]
  280. HRESULT HomeDirectory ( [in] INntpVirtualRoot * pINntpVirtualRoot );
  281. */
  282. // Overridable server properties:
  283. [propget, helpstring("")]
  284. HRESULT ArticleTimeLimit ( [out, retval] long * pdwArticleTimeLimit );
  285. [propput]
  286. HRESULT ArticleTimeLimit ( [in] long dwArticleTimeLimit );
  287. [propget, helpstring("")]
  288. HRESULT HistoryExpiration ( [out, retval] long * pdwHistoryExpiration );
  289. [propput]
  290. HRESULT HistoryExpiration ( [in] long dwHistoryExpiration );
  291. [propget, helpstring("")]
  292. HRESULT HonorClientMsgIDs ( [out, retval] BOOL * pfHonorClientMsgIDs );
  293. [propput]
  294. HRESULT HonorClientMsgIDs ( [in] BOOL fHonorClientMsgIDs );
  295. [propget, helpstring("")]
  296. HRESULT SmtpServer ( [out, retval] BSTR * pstrSmtpServer );
  297. [propput]
  298. HRESULT SmtpServer ( [in] BSTR strSmtpServer );
  299. [propget, helpstring("")]
  300. HRESULT AdminEmail ( [out, retval] BSTR * pstrAdminEmail );
  301. [propput]
  302. HRESULT AdminEmail ( [in] BSTR strAdminEmail );
  303. [propget, helpstring("")]
  304. HRESULT AllowClientPosts ( [out, retval] BOOL * pfAllowClientPosts );
  305. [propput]
  306. HRESULT AllowClientPosts ( [in] BOOL fAllowClientPosts );
  307. [propget, helpstring("")]
  308. HRESULT AllowFeedPosts ( [out, retval] BOOL * pfAllowFeedPosts );
  309. [propput]
  310. HRESULT AllowFeedPosts ( [in] BOOL fAllowFeedPosts );
  311. [propget, helpstring("")]
  312. HRESULT AllowControlMsgs ( [out, retval] BOOL * pfAllowControlMsgs );
  313. [propput]
  314. HRESULT AllowControlMsgs ( [in] BOOL fAllowControlMsgs );
  315. [propget, helpstring("")]
  316. HRESULT DefaultModeratorDomain ( [out, retval] BSTR * pstrDefaultModeratorDomain );
  317. [propput]
  318. HRESULT DefaultModeratorDomain ( [in] BSTR strDefaultModeratorDomain );
  319. [propget, helpstring("")]
  320. HRESULT CommandLogMask ( [out, retval] long * pdwCommandLogMask );
  321. [propput]
  322. HRESULT CommandLogMask ( [in] long dwCommandLogMask );
  323. [propget, helpstring("")]
  324. HRESULT DisableNewnews ( [out, retval] BOOL * pfDisableNewnews );
  325. [propput]
  326. HRESULT DisableNewnews ( [in] BOOL fDisableNewnews );
  327. [propget, helpstring("")]
  328. HRESULT ExpireRunFrequency ( [out, retval] long * pdwExpireRunFrequency );
  329. [propput]
  330. HRESULT ExpireRunFrequency ( [in] long dwExpireRunFrequency );
  331. [propget, helpstring("")]
  332. HRESULT ShutdownLatency ( [out, retval] long * pdwShutdownLatency );
  333. [propput]
  334. HRESULT ShutdownLatency ( [in] long dwShutdownLatency );
  335. [propget, helpstring("")]
  336. HRESULT EnableLogging ( [out, retval] BOOL * pfEnableLogging );
  337. [propput]
  338. HRESULT EnableLogging ( [in] BOOL fEnableLogging );
  339. // Service-specific properties:
  340. [propget, helpstring("")]
  341. HRESULT GroupHelpFile ( [out, retval] BSTR * pstrGroupHelpFile );
  342. [propput]
  343. HRESULT GroupHelpFile ( [in] BSTR strGroupHelpFile );
  344. [propget, helpstring("")]
  345. HRESULT GroupListFile ( [out, retval] BSTR * pstrGroupListFile );
  346. [propput]
  347. HRESULT GroupListFile ( [in] BSTR strGroupListFile );
  348. [propget, helpstring("")]
  349. HRESULT GroupVarListFile( [out, retval] BSTR *pstrGroupVarListFile );
  350. [propput]
  351. HRESULT GroupVarListFile( [in] BSTR strGroupVarListFile );
  352. [propget, helpstring("")]
  353. HRESULT ArticleTableFile ( [out, retval] BSTR * pstrArticleTableFile );
  354. [propput]
  355. HRESULT ArticleTableFile ( [in] BSTR strArticleTableFile );
  356. [propget, helpstring("")]
  357. HRESULT HistoryTableFile ( [out, retval] BSTR * pstrHistoryTableFile );
  358. [propput]
  359. HRESULT HistoryTableFile ( [in] BSTR strHistoryTableFile );
  360. [propget, helpstring("")]
  361. HRESULT ModeratorFile ( [out, retval] BSTR * pstrModeratorFile );
  362. [propput]
  363. HRESULT ModeratorFile ( [in] BSTR strModeratorFile );
  364. [propget, helpstring("")]
  365. HRESULT XOverTableFile ( [out, retval] BSTR * pstrXOverTableFile );
  366. [propput]
  367. HRESULT XOverTableFile ( [in] BSTR strXOverTableFile );
  368. [propget, helpstring("Client post size before dropped connection")]
  369. HRESULT ClientPostHardLimit ( [out, retval] long * pdwClientPostHardLimit );
  370. [propput]
  371. HRESULT ClientPostHardLimit ( [in] long dwClientPostHardLimit );
  372. [propget, helpstring("Client post size before rejected post")]
  373. HRESULT ClientPostSoftLimit ( [out, retval] long * pdwClientPostSoftLimit );
  374. [propput]
  375. HRESULT ClientPostSoftLimit ( [in] long dwClientPostSoftLimit );
  376. [propget, helpstring("Feed post size before dropped connection")]
  377. HRESULT FeedPostHardLimit ( [out, retval] long * pdwFeedPostHardLimit );
  378. [propput]
  379. HRESULT FeedPostHardLimit ( [in] long dwFeedPostHardLimit );
  380. [propget, helpstring("Feed post size before rejected post")]
  381. HRESULT FeedPostSoftLimit ( [out, retval] long * pdwFeedPostSoftLimit );
  382. [propput]
  383. HRESULT FeedPostSoftLimit ( [in] long dwFeedPostSoftLimit );
  384. [propget, helpstring("UUCP Name")]
  385. HRESULT UucpName( [out, retval] BSTR * pstrUucpName );
  386. [propput]
  387. HRESULT UucpName( [in] BSTR strUucpName );
  388. [propget, helpstring("")]
  389. HRESULT Organization( [out, retval] BSTR * pstrOrganization );
  390. [propput]
  391. HRESULT Organization( [in] BSTR strOrganization );
  392. [propget, helpstring("")]
  393. HRESULT Comment ( [out, retval] BSTR * pstrComment );
  394. [propput]
  395. HRESULT Comment ( [in] BSTR strComment );
  396. [propget, helpstring("")]
  397. HRESULT Bindings ( [out, retval] INntpServerBindings ** ppBindings );
  398. [propget, helpstring("")]
  399. HRESULT BindingsDispatch ( [out, retval] IDispatch ** ppBindings );
  400. [propget, helpstring("")]
  401. HRESULT SecurePort ( [out, retval] long * pdwSecurePort );
  402. [propput]
  403. HRESULT SecurePort ( [in] long dwSecurePort );
  404. [propget, helpstring("")]
  405. HRESULT MaxConnections ( [out, retval] long * pdwMaxConnections );
  406. [propput]
  407. HRESULT MaxConnections ( [in] long dwMaxConnections );
  408. [propget, helpstring("")]
  409. HRESULT ConnectionTimeout ( [out, retval] long * pdwConnectionTimeout );
  410. [propput]
  411. HRESULT ConnectionTimeout ( [in] long dwConnectionTimeout );
  412. [propget, helpstring("")]
  413. HRESULT AnonymousUserName ( [out, retval] BSTR * pstrAnonymousUserName );
  414. [propput]
  415. HRESULT AnonymousUserName ( [in] BSTR strAnonymousUserName );
  416. [propget, helpstring("")]
  417. HRESULT AnonymousUserPass ( [out, retval] BSTR * pstrAnonymousUserPass );
  418. [propput]
  419. HRESULT AnonymousUserPass ( [in] BSTR strAnonymousUserPass );
  420. [propget, helpstring("")]
  421. HRESULT AutoSyncPassword ( [out, retval] BOOL * pfAutoSyncPassword );
  422. [propput]
  423. HRESULT AutoSyncPassword ( [in] BOOL fAutoSyncPassword );
  424. [propget, helpstring("")]
  425. HRESULT PickupDirectory ( [out, retval] BSTR * pstrPickupDirectory );
  426. [propput]
  427. HRESULT PickupDirectory ( [in] BSTR strPickupDirectory );
  428. [propget, helpstring("")]
  429. HRESULT FailedPickupDirectory ( [out, retval] BSTR * pstrFailedPickupDirectory );
  430. [propput]
  431. HRESULT FailedPickupDirectory ( [in] BSTR strFailedPickupDirectory );
  432. [propget, helpstring("")]
  433. HRESULT AutoStart ( [out, retval] BOOL * pfAutoStart );
  434. [propput]
  435. HRESULT AutoStart ( [in] BOOL fAutoStart );
  436. [propget, helpstring("")]
  437. HRESULT AuthAnonymous ( [out, retval] BOOL * pfAuthAnonymous );
  438. [propput]
  439. HRESULT AuthAnonymous ( [in] BOOL fAuthAnonymous );
  440. [propget, helpstring("")]
  441. HRESULT AuthBasic ( [out, retval] BOOL * pfAuthBasic );
  442. [propput]
  443. HRESULT AuthBasic ( [in] BOOL fAuthBasic );
  444. [propget, helpstring("")]
  445. HRESULT AuthMCISBasic ( [out, retval] BOOL * pfAuthMCISBasic );
  446. [propput]
  447. HRESULT AuthMCISBasic ( [in] BOOL fAuthMCISBasic );
  448. [propget, helpstring("")]
  449. HRESULT AuthNT ( [out, retval] BOOL * pfAuthNT );
  450. [propput]
  451. HRESULT AuthNT ( [in] BOOL fAuthNT );
  452. [propget, helpstring("")]
  453. HRESULT SSLNegotiateCert ( [out, retval] BOOL * pfSSLNegotiateCert );
  454. [propput]
  455. HRESULT SSLNegotiateCert ( [in] BOOL fSSLNegotiateCert );
  456. [propget, helpstring("")]
  457. HRESULT SSLRequireCert ( [out, retval] BOOL * pfSSLRequireCert );
  458. [propput]
  459. HRESULT SSLRequireCert ( [in] BOOL fSSLRequireCert );
  460. [propget, helpstring("")]
  461. HRESULT SSLMapCert ( [out, retval] BOOL * pfSSLMapCert );
  462. [propput]
  463. HRESULT SSLMapCert ( [in] BOOL fSSLMapCert );
  464. /*
  465. [propget, helpstring("")]
  466. HRESULT AuthenticationProviders ( [out, retval] SAFEARRAY(BSTR) * psastrProviders );
  467. [propput]
  468. HRESULT AuthenticationProviders ( [in] SAFEARRAY(BSTR) psastrProviders );
  469. [propget, helpstring("")]
  470. HRESULT AuthenticationProvidersVariant ( [out, retval] SAFEARRAY(VARIANT) * psastrProviders );
  471. [propput]
  472. HRESULT AuthenticationProvidersVariant ( [in] SAFEARRAY(VARIANT) psastrProviders );
  473. */
  474. [propget, helpstring("")]
  475. HRESULT Win32ErrorCode ( [out, retval] long * plWin32ErrorCode );
  476. /*
  477. [propget, helpstring("")]
  478. HRESULT DisplayName ( [out, retval] BSTR * pstrDisplayName );
  479. [propput]
  480. HRESULT DisplayName ( [in] BSTR strDisplayName );
  481. [propget, helpstring("")]
  482. HRESULT ErrorControl ( [out, retval] BOOL * pfErrorControl );
  483. [propput]
  484. HRESULT ErrorControl ( [in] BOOL fErrorControl );
  485. [propget, helpstring("")]
  486. HRESULT CleanBoot ( [out, retval] BOOL * pfCleanBoot );
  487. [propput]
  488. HRESULT CleanBoot ( [in] BOOL fCleanBoot );
  489. [propget, helpstring("Encryption capabilities mask")]
  490. HRESULT EncryptionCapabilitiesMask ( [out, retval] long * pdwEncryptionCapabilitiesMask );
  491. [propput]
  492. HRESULT EncryptionCapabilitiesMask ( [in] long dwEncryptionCapabilitiesMask );
  493. */
  494. //
  495. // Service Status Properties:
  496. //
  497. [propget, helpstring("")]
  498. HRESULT State ( [out, retval] NNTP_SERVER_STATE * pState );
  499. [propget, helpstring("")]
  500. HRESULT Administrators ( [out, retval] SAFEARRAY(BSTR) * psastrAdmins );
  501. [propput]
  502. HRESULT Administrators ( [in] SAFEARRAY(BSTR) psastrAdmins );
  503. [propget, helpstring("")]
  504. HRESULT AdministratorsVariant ( [out, retval] SAFEARRAY(VARIANT) * psastrAdmins );
  505. [propput]
  506. HRESULT AdministratorsVariant ( [in] SAFEARRAY(VARIANT) psastrAdmins );
  507. //////////////////////////////////////////////////////////////////////
  508. // Methods:
  509. //////////////////////////////////////////////////////////////////////
  510. [helpstring("Get service properties")]
  511. HRESULT Get ( );
  512. [helpstring("Set service properties")]
  513. HRESULT Set ( [in, defaultvalue(FALSE)] BOOL fFailIfChanged );
  514. [helpstring("")]
  515. HRESULT Start ( );
  516. [helpstring("")]
  517. HRESULT Pause ( );
  518. [helpstring("")]
  519. HRESULT Continue ( );
  520. [helpstring("")]
  521. HRESULT Stop ( );
  522. [propget, helpstring("")]
  523. HRESULT ClusterEnabled ( [out, retval] BOOL * bfClusterEnabled );
  524. [propput]
  525. HRESULT ClusterEnabled ( [in] BOOL fClusterEnabled );
  526. };
  527. [
  528. object,
  529. uuid(cdde8051-ae09-11d0-8974-00aa00a74bf2),
  530. dual,
  531. helpstring("INntpOneWayFeed Interface"),
  532. pointer_default(unique)
  533. ]
  534. interface INntpOneWayFeed : IDispatch
  535. {
  536. import "oaidl.idl";
  537. //////////////////////////////////////////////////////////////////////
  538. // Properties:
  539. //////////////////////////////////////////////////////////////////////
  540. [propget, helpstring("")]
  541. HRESULT RemoteServer ( [out, retval] BSTR * pstrRemoteServer );
  542. [propget, helpstring("Unique Feed ID")]
  543. HRESULT FeedId ( [out, retval] long * pdwFeedId );
  544. [propget, helpstring("")]
  545. HRESULT FeedAction ( [out, retval] NNTP_FEED_ACTION * pfeedaction );
  546. [propput]
  547. HRESULT FeedAction ( [in] NNTP_FEED_ACTION feedaction );
  548. [propget, helpstring("")]
  549. HRESULT UucpName ( [out, retval] BSTR * pstrUucpName );
  550. [propput]
  551. HRESULT UucpName ( [in] BSTR strUucpName );
  552. [propget, helpstring("Pull News From Date")]
  553. HRESULT PullNewsDate ( [out, retval] DATE * pdatePullNews );
  554. [propput]
  555. HRESULT PullNewsDate ( [in] DATE datePullNews );
  556. [propget, helpstring("Time between feeds")]
  557. HRESULT FeedInterval ( [out, retval] long * pdwFeedInterval );
  558. [propput]
  559. HRESULT FeedInterval ( [in] long dwFeedInterval );
  560. [propget, helpstring("Automatically create fed newsgroups?")]
  561. HRESULT AutoCreate ( [out, retval] BOOL * pfAutoCreate );
  562. [propput]
  563. HRESULT AutoCreate ( [in] BOOL fAutoCreate );
  564. [propget, helpstring("Is this feed enabled?")]
  565. HRESULT Enabled ( [out, retval] BOOL * pfEnabled );
  566. [propput]
  567. HRESULT Enabled ( [in] BOOL fEnabled );
  568. [propget, helpstring("Number of failed connections before disabling feed")]
  569. HRESULT MaxConnectionAttempts ( [out, retval] long * pdwMaxCnxAttempts );
  570. [propput]
  571. HRESULT MaxConnectionAttempts ( [in] long dwMaxCnxAttempts);
  572. // Concurrent sessions missing for now...
  573. /*
  574. [propget, helpstring("")]
  575. HRESULT SecurityType ( [out, retval] long * pdwSecurityType );
  576. [propput]
  577. HRESULT SecurityType ( [in] long dwSecurityType );
  578. */
  579. [propget, helpstring("")]
  580. HRESULT AuthenticationType ( [out, retval] long * plAuthenticationType );
  581. [propput]
  582. HRESULT AuthenticationType ( [in] long lAuthenticationType );
  583. [propget, helpstring("")]
  584. HRESULT AccountName ( [out, retval] BSTR * pstrAccount );
  585. [propput]
  586. HRESULT AccountName ( [in] BSTR strAccount );
  587. [propget, helpstring("")]
  588. HRESULT Password ( [out, retval] BSTR * pstrPassword );
  589. [propput]
  590. HRESULT Password ( [in] BSTR strPassword );
  591. [propget, helpstring("")]
  592. HRESULT AllowControlMessages ( [out, retval] BOOL * pfAllowCtrlMsgs );
  593. [propput]
  594. HRESULT AllowControlMessages ( [in] BOOL fAllowCtrlMsgs );
  595. [propget, helpstring("")]
  596. HRESULT OutgoingPort ( [out, retval] long * plOutgoingPort );
  597. [propput]
  598. HRESULT OutgoingPort ( [in] long lOutgoingPort );
  599. [propget, helpstring("")]
  600. HRESULT Newsgroups ( [out, retval] SAFEARRAY (BSTR) * psastrNewsgroups );
  601. [propput]
  602. HRESULT Newsgroups ( [in] SAFEARRAY (BSTR) psastrNewsgroups );
  603. [propget, helpstring("")]
  604. HRESULT NewsgroupsVariant ( [out, retval] SAFEARRAY (VARIANT) * psastrNewsgroups );
  605. [propput]
  606. HRESULT NewsgroupsVariant ( [in] SAFEARRAY (VARIANT) psastrNewsgroups );
  607. [propget, helpstring("")]
  608. HRESULT Distributions ( [out, retval] SAFEARRAY (BSTR) * psastrDistributions );
  609. [propput]
  610. HRESULT Distributions ( [in] SAFEARRAY (BSTR) sastrDistributions );
  611. /*
  612. [propget, helpstring("")]
  613. HRESULT StartTime ( [out, retval] DATE * pdateStartTime );
  614. [propput]
  615. HRESULT StartTime ( [in] DATE dateStartTime);
  616. */
  617. [propget, helpstring("")]
  618. HRESULT TempDirectory ( [out, retval] BSTR * pstrTempDirectory );
  619. [propput]
  620. HRESULT TempDirectory ( [in] BSTR strTempDirectory );
  621. [helpstring("Set properties to their default values")]
  622. HRESULT Default ( );
  623. };
  624. [
  625. object,
  626. uuid(cdde8050-ae09-11d0-8974-00aa00a74bf2),
  627. dual,
  628. helpstring("INntpFeed Interface"),
  629. pointer_default(unique)
  630. ]
  631. interface INntpFeed : IDispatch
  632. {
  633. import "oaidl.idl";
  634. //////////////////////////////////////////////////////////////////////
  635. // Properties:
  636. //////////////////////////////////////////////////////////////////////
  637. [propget, helpstring("Destination Server")]
  638. HRESULT RemoteServer ( [out, retval] BSTR * pstrRemoteServer );
  639. [propput]
  640. HRESULT RemoteServer ( [in] BSTR strRemoteServer );
  641. [propget, helpstring("")]
  642. HRESULT FeedType ( [out, retval] NNTP_FEED_SERVER_TYPE * pfeedtype );
  643. [propput]
  644. HRESULT FeedType ( [in] NNTP_FEED_SERVER_TYPE feedtype );
  645. [propget, helpstring("")]
  646. HRESULT HasInbound ( [out, retval] BOOL * pfHasInbound );
  647. [propget, helpstring("")]
  648. HRESULT HasOutbound ( [out, retval] BOOL * pfHasOutbound );
  649. [propget, helpstring("")]
  650. HRESULT InboundFeed ( [out, retval] INntpOneWayFeed ** ppFeed );
  651. [propput]
  652. HRESULT InboundFeed ( [in] INntpOneWayFeed * pFeed );
  653. [propget, helpstring("")]
  654. HRESULT InboundFeedDispatch ( [out, retval] IDispatch ** ppFeed );
  655. [propput, helpstring("")]
  656. HRESULT InboundFeedDispatch ( [in] IDispatch * pFeed );
  657. [propget, helpstring("")]
  658. HRESULT OutboundFeed ( [out, retval] INntpOneWayFeed ** ppFeed );
  659. [propput]
  660. HRESULT OutboundFeed ( [in] INntpOneWayFeed * pFeed );
  661. [propget, helpstring("")]
  662. HRESULT OutboundFeedDispatch ( [out, retval] IDispatch ** ppFeed );
  663. [propput, helpstring("")]
  664. HRESULT OutboundFeedDispatch ( [in] IDispatch * pFeed );
  665. };
  666. [
  667. object,
  668. uuid(3241F06C-6D68-11D0-8950-00AA00A74BF2),
  669. dual,
  670. helpstring("INntpAdminFeeds Interface"),
  671. pointer_default(unique)
  672. ]
  673. interface INntpAdminFeeds : IADs
  674. {
  675. import "oaidl.idl";
  676. //////////////////////////////////////////////////////////////////////
  677. // Properties:
  678. //////////////////////////////////////////////////////////////////////
  679. // Which service to configure:
  680. [propget, helpstring("Computer Name to Configure"), id(DISPID_IADs_UPPER_BOUND+1)]
  681. HRESULT Server ( [out, retval] BSTR * pstrServer );
  682. [propput]
  683. HRESULT Server ( [in] BSTR strServer );
  684. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+2)]
  685. HRESULT ServiceInstance ( [out, retval] long * pdwServiceInstance );
  686. [propput]
  687. HRESULT ServiceInstance ( [in] long dwServiceInstance );
  688. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+3)]
  689. HRESULT IADsPointer ( [out, retval] IADs** ppADs );
  690. [propput]
  691. HRESULT IADsPointer ( [in] IADs* pADs );
  692. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+4)]
  693. HRESULT KeyType ( [out, retval] BSTR * pstrKeyType );
  694. [propput]
  695. HRESULT KeyType ( [in] BSTR strKeyType );
  696. // Enumeration properties:
  697. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+5)]
  698. HRESULT Count ( [out, retval] long * pdwCount );
  699. //////////////////////////////////////////////////////////////////////
  700. // Methods:
  701. //////////////////////////////////////////////////////////////////////
  702. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+6)]
  703. HRESULT Enumerate ( );
  704. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+7)]
  705. HRESULT Item ( [in] long dwIndex, [out, retval] INntpFeed ** ppFeed );
  706. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+8)]
  707. HRESULT ItemDispatch ( [in] long dwIndex, [out, retval] IDispatch ** ppFeed );
  708. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+9)]
  709. HRESULT FindID ( [in] long dwID, [out, retval] long * pdwIndex );
  710. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+10)]
  711. HRESULT Set ( [in] long lIndex, [in] INntpFeed * pFeed );
  712. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+11)]
  713. HRESULT Add ( [in] INntpFeed * pFeed );
  714. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+12)]
  715. HRESULT AddDispatch ( [in] IDispatch * pFeed );
  716. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+13)]
  717. HRESULT Remove ( [in] long lIndex );
  718. };
  719. [
  720. object,
  721. uuid(772bbad0-7a22-11d0-895d-00aa00a74bf2),
  722. dual,
  723. helpstring("INntpAdminExpiration Interface"),
  724. pointer_default(unique)
  725. ]
  726. interface INntpAdminExpiration : IADs
  727. {
  728. import "oaidl.idl";
  729. //////////////////////////////////////////////////////////////////////
  730. // Properties:
  731. //////////////////////////////////////////////////////////////////////
  732. // Which service to configure:
  733. [propget, helpstring("Computer Name to Configure"), id(DISPID_IADs_UPPER_BOUND+1)]
  734. HRESULT Server ( [out, retval] BSTR * pstrServer );
  735. [propput]
  736. HRESULT Server ( [in] BSTR strServer );
  737. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+2)]
  738. HRESULT ServiceInstance ( [out, retval] long * pdwServiceInstance );
  739. [propput]
  740. HRESULT ServiceInstance ( [in] long dwServiceInstance );
  741. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+3)]
  742. HRESULT IADsPointer ( [out, retval] IADs** ppADs );
  743. [propput]
  744. HRESULT IADsPointer ( [in] IADs* pADs );
  745. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+4)]
  746. HRESULT KeyType ( [out, retval] BSTR * pstrKeyType );
  747. [propput]
  748. HRESULT KeyType ( [in] BSTR strKeyType );
  749. // Enumeration properties:
  750. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+5)]
  751. HRESULT Count ( [out, retval] long * pdwCount );
  752. // The current policy's properties:
  753. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+6)]
  754. HRESULT ExpireId ( [out, retval] long * pdwId );
  755. [propput]
  756. HRESULT ExpireId ( [in] long dwId );
  757. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+7)]
  758. HRESULT PolicyName ( [out, retval] BSTR * pstrPolicyName );
  759. [propput]
  760. HRESULT PolicyName ( [in] BSTR strPolicyName );
  761. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+8)]
  762. HRESULT ExpireTime ( [out, retval] long * pdwExpireTime );
  763. [propput]
  764. HRESULT ExpireTime ( [in] long dwExpireTime );
  765. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+9)]
  766. HRESULT ExpireSize ( [out, retval] long * pdwExpireSize );
  767. [propput]
  768. HRESULT ExpireSize ( [in] long dwExpireSize );
  769. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+10)]
  770. HRESULT Newsgroups ( [out, retval] SAFEARRAY (BSTR) * psastrNewsgroups );
  771. [propput]
  772. HRESULT Newsgroups ( [in] SAFEARRAY (BSTR) psastrNewsgroups );
  773. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+11)]
  774. HRESULT NewsgroupsVariant ( [out, retval] SAFEARRAY (VARIANT) * psastrNewsgroups );
  775. [propput]
  776. HRESULT NewsgroupsVariant ( [in] SAFEARRAY (VARIANT) psastrNewsgroups );
  777. //////////////////////////////////////////////////////////////////////
  778. // Methods:
  779. //////////////////////////////////////////////////////////////////////
  780. [helpstring("Set properties to their default values"), id(DISPID_IADs_UPPER_BOUND+12)]
  781. HRESULT Default ( );
  782. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+13)]
  783. HRESULT Enumerate ( );
  784. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+14)]
  785. HRESULT GetNth ( [in] long dwIndex );
  786. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+15)]
  787. HRESULT FindID ( [in] long dwID, [out, retval] long * pdwIndex );
  788. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+16)]
  789. HRESULT Set ( );
  790. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+17)]
  791. HRESULT Add ( );
  792. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+18)]
  793. HRESULT Remove ( [in] long dwID );
  794. }
  795. [
  796. object,
  797. uuid(3241F071-6D68-11D0-8950-00AA00A74BF2),
  798. dual,
  799. helpstring("INntpAdminGroups Interface"),
  800. pointer_default(unique)
  801. ]
  802. interface INntpAdminGroups : IADs
  803. {
  804. import "oaidl.idl";
  805. //////////////////////////////////////////////////////////////////////
  806. // Properties:
  807. //////////////////////////////////////////////////////////////////////
  808. // Which service to configure:
  809. [propget, helpstring("Computer Name to Configure"), id(DISPID_IADs_UPPER_BOUND+1)]
  810. HRESULT Server ( [out, retval] BSTR * pstrServer );
  811. [propput]
  812. HRESULT Server ( [in] BSTR strServer );
  813. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+2)]
  814. HRESULT ServiceInstance ( [out, retval] long * pdwServiceInstance );
  815. [propput]
  816. HRESULT ServiceInstance ( [in] long dwServiceInstance );
  817. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+3)]
  818. HRESULT IADsPointer ( [out, retval] IADs** ppADs );
  819. [propput]
  820. HRESULT IADsPointer ( [in] IADs* pADs );
  821. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+4)]
  822. HRESULT KeyType ( [out, retval] BSTR * pstrKeyType );
  823. [propput]
  824. HRESULT KeyType ( [in] BSTR strKeyType );
  825. // Enumeration properties:
  826. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+5)]
  827. HRESULT Count ( [out, retval] long * pdwCount );
  828. // The current group properties:
  829. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+6)]
  830. HRESULT Newsgroup ( [out, retval] BSTR * pstrNewsgroup );
  831. [propput]
  832. HRESULT Newsgroup ( [in] BSTR strNewsgroup );
  833. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+7)]
  834. HRESULT Description ( [out, retval] BSTR * pstrDescription );
  835. [propput]
  836. HRESULT Description ( [in] BSTR strDescription );
  837. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+8)]
  838. HRESULT PrettyName ( [out, retval] BSTR * pstrPrettyName );
  839. [propput]
  840. HRESULT PrettyName ( [in] BSTR strPrettyName );
  841. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+9)]
  842. HRESULT IsModerated ( [out, retval] BOOL * pfIsModerated );
  843. [propput]
  844. HRESULT IsModerated ( [in] BOOL fIsModerated );
  845. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+10)]
  846. HRESULT Moderator ( [out, retval] BSTR * pstrModerator );
  847. [propput]
  848. HRESULT Moderator ( [in] BSTR strModerator );
  849. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+11)]
  850. HRESULT ReadOnly ( [out, retval] BOOL * pfReadOnly );
  851. [propput]
  852. HRESULT ReadOnly ( [in] BOOL fReadOnly );
  853. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+12)]
  854. HRESULT CreationTime ( [out, retval] DATE * pdateCreate );
  855. [propput]
  856. HRESULT CreationTime ( [in] DATE dateCreate );
  857. //////////////////////////////////////////////////////////////////////
  858. // Methods:
  859. //////////////////////////////////////////////////////////////////////
  860. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+13)]
  861. HRESULT Default ( );
  862. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+14)]
  863. HRESULT Add ( );
  864. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+15)]
  865. HRESULT Remove ( [in] BSTR strNewsgroup );
  866. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+16)]
  867. HRESULT Get ( [in] BSTR strNewsgroup );
  868. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+17)]
  869. HRESULT Set ( );
  870. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+18)]
  871. HRESULT MatchingGroup ( [in] long index, [out, retval] BSTR * pstrGroup );
  872. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+19)]
  873. HRESULT Find( [in] BSTR strWildmat, [in] long cMaxResults );
  874. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+20)]
  875. HRESULT CancelMessage( [in] BSTR strMessageID );
  876. };
  877. [
  878. object,
  879. uuid(3241F076-6D68-11D0-8950-00AA00A74BF2),
  880. dual,
  881. helpstring("INntpAdminSessions Interface"),
  882. pointer_default(unique)
  883. ]
  884. interface INntpAdminSessions : IADs
  885. {
  886. import "oaidl.idl";
  887. //////////////////////////////////////////////////////////////////////
  888. // Properties:
  889. //////////////////////////////////////////////////////////////////////
  890. // Which service to configure:
  891. [propget, helpstring("Computer Name to Configure"), id(DISPID_IADs_UPPER_BOUND+1)]
  892. HRESULT Server ( [out, retval] BSTR * pstrServer );
  893. [propput]
  894. HRESULT Server ( [in] BSTR strServer );
  895. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+2)]
  896. HRESULT ServiceInstance ( [out, retval] long * pdwServiceInstance );
  897. [propput]
  898. HRESULT ServiceInstance ( [in] long dwServiceInstance );
  899. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+3)]
  900. HRESULT IADsPointer ( [out, retval] IADs** ppADs );
  901. [propput]
  902. HRESULT IADsPointer ( [in] IADs* pADs );
  903. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+4)]
  904. HRESULT KeyType ( [out, retval] BSTR * pstrKeyType );
  905. [propput]
  906. HRESULT KeyType ( [in] BSTR strKeyType );
  907. // Enumeration Properties:
  908. [propget, helpstring("Number of current sessions"), id(DISPID_IADs_UPPER_BOUND+5)]
  909. HRESULT Count ( [out, retval] long * pdwCount );
  910. // The Session Cursor Properties:
  911. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+6)]
  912. HRESULT Username ( [out, retval] BSTR * pstrUsername );
  913. [propput]
  914. HRESULT Username ( [in] BSTR strUsername );
  915. [propget, helpstring("IP Address String"), id(DISPID_IADs_UPPER_BOUND+7)]
  916. HRESULT IpAddress ( [out, retval] BSTR * pstrIpAddress );
  917. [propput]
  918. HRESULT IpAddress ( [in] BSTR strIpAddress );
  919. [propget, helpstring("Integer IP Address Value"), id(DISPID_IADs_UPPER_BOUND+8)]
  920. HRESULT IntegerIpAddress ( [out, retval] long * pdwIpAddress );
  921. [propput]
  922. HRESULT IntegerIpAddress ( [in] long dwIpAddress );
  923. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+9)]
  924. HRESULT Port ( [out, retval] long * pdwPort );
  925. /*
  926. [propget, helpstring("")]
  927. HRESULT AuthenticationType ( [out, retval] long * pdwAuthenticationType );
  928. */
  929. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+10)]
  930. HRESULT IsAnonymous ( [out, retval] BOOL * pfAnonymous );
  931. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+11)]
  932. HRESULT StartTime ( [out, retval] DATE * pdateStart );
  933. //////////////////////////////////////////////////////////////////////
  934. // Methods:
  935. //////////////////////////////////////////////////////////////////////
  936. [helpstring("Retrieves a list of current sessions"), id(DISPID_IADs_UPPER_BOUND+12)]
  937. HRESULT Enumerate ( );
  938. [helpstring("Sets the cursor at the given session. Call Enumerate before calling GetNth"), id(DISPID_IADs_UPPER_BOUND+13)]
  939. HRESULT GetNth ( [in] long dwIndex );
  940. [helpstring("Terminates the given session. Set Username and/or IpAddress before calling."), id(DISPID_IADs_UPPER_BOUND+14)]
  941. HRESULT Terminate ( );
  942. [helpstring("Terminates all sessions"), id(DISPID_IADs_UPPER_BOUND+15)]
  943. HRESULT TerminateAll ( );
  944. };
  945. [
  946. object,
  947. uuid(dee3b230-a3c2-11d0-896e-00aa00a74bf2),
  948. dual,
  949. helpstring("INntpAdminRebuild Interface"),
  950. pointer_default(unique)
  951. ]
  952. interface INntpAdminRebuild : IADs
  953. {
  954. import "oaidl.idl";
  955. //////////////////////////////////////////////////////////////////////
  956. // Properties:
  957. //////////////////////////////////////////////////////////////////////
  958. // Which service to configure:
  959. [propget, helpstring("Computer Name to Configure"), id(DISPID_IADs_UPPER_BOUND+1)]
  960. HRESULT Server ( [out, retval] BSTR * pstrServer );
  961. [propput]
  962. HRESULT Server ( [in] BSTR strServer );
  963. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+2)]
  964. HRESULT ServiceInstance ( [out, retval] long * pdwServiceInstance );
  965. [propput]
  966. HRESULT ServiceInstance ( [in] long dwServiceInstance );
  967. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+3)]
  968. HRESULT IADsPointer ( [out, retval] IADs** ppADs );
  969. [propput]
  970. HRESULT IADsPointer ( [in] IADs* pADs );
  971. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+4)]
  972. HRESULT KeyType ( [out, retval] BSTR * pstrKeyType );
  973. [propput]
  974. HRESULT KeyType ( [in] BSTR strKeyType );
  975. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+5)]
  976. HRESULT Verbose ( [out, retval] BOOL * pfVerbose );
  977. [propput]
  978. HRESULT Verbose ( [in] BOOL fVerbose );
  979. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+6)]
  980. HRESULT CleanRebuild ( [out, retval] BOOL * pfCleanRebuild );
  981. [propput]
  982. HRESULT CleanRebuild ( [in] BOOL fCleanRebuild );
  983. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+7)]
  984. HRESULT DontDeleteHistory ( [out, retval] BOOL * pfDontDeleteHistory );
  985. [propput]
  986. HRESULT DontDeleteHistory ( [in] BOOL fDontDeleteHistory );
  987. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+8)]
  988. HRESULT ReuseIndexFiles ( [out, retval] BOOL * pfReuseIndexFiles );
  989. [propput]
  990. HRESULT ReuseIndexFiles ( [in] BOOL fReuseIndexFiles );
  991. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+9)]
  992. HRESULT OmitNonLeafDirs ( [out, retval] BOOL * pfOmitNonLeafDirs );
  993. [propput]
  994. HRESULT OmitNonLeafDirs ( [in] BOOL fOmitNonLeafDirs );
  995. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+10)]
  996. HRESULT GroupFile ( [out, retval] BSTR * pstrGroupFile );
  997. [propput]
  998. HRESULT GroupFile ( [in] BSTR strGroupFile );
  999. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+11)]
  1000. HRESULT ReportFile ( [out, retval] BSTR * pstrReportFile );
  1001. [propput]
  1002. HRESULT ReportFile ( [in] BSTR strReportFile );
  1003. [propget, helpstring(""), id(DISPID_IADs_UPPER_BOUND+12)]
  1004. HRESULT NumThreads ( [out, retval] long * plNumThreads );
  1005. [propput]
  1006. HRESULT NumThreads ( [in] long lNumThreads );
  1007. //////////////////////////////////////////////////////////////////////
  1008. // Methods:
  1009. //////////////////////////////////////////////////////////////////////
  1010. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+13)]
  1011. HRESULT Default ( );
  1012. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+14)]
  1013. HRESULT StartRebuild ( );
  1014. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+15)]
  1015. HRESULT GetProgress ( [out, retval] long * pdwProgress );
  1016. [helpstring(""), id(DISPID_IADs_UPPER_BOUND+16)]
  1017. HRESULT Cancel ( );
  1018. };
  1019. [
  1020. object,
  1021. uuid(9fc9efd0-a535-11d0-896f-00aa00a74bf2),
  1022. dual,
  1023. helpstring("INntpServerBinding Interface"),
  1024. pointer_default(unique)
  1025. ]
  1026. interface INntpServerBinding : IDispatch
  1027. {
  1028. import "oaidl.idl";
  1029. //////////////////////////////////////////////////////////////////////
  1030. // Properties:
  1031. //////////////////////////////////////////////////////////////////////
  1032. [propget, helpstring("")]
  1033. HRESULT IpAddress ( [out, retval] BSTR * pstrIpAddress );
  1034. [propput]
  1035. HRESULT IpAddress ( [in] BSTR strIpAddress );
  1036. [propget, helpstring("")]
  1037. HRESULT TcpPort ( [out, retval] long * pdwTcpPort );
  1038. [propput]
  1039. HRESULT TcpPort ( [in] long dwTcpPort );
  1040. [propget, helpstring("")]
  1041. HRESULT SslPort ( [out, retval] long * plSslPort );
  1042. [propput]
  1043. HRESULT SslPort ( [in] long lSslPort );
  1044. };
  1045. [
  1046. object,
  1047. uuid(9fc9efd1-a535-11d0-896f-00aa00a74bf2),
  1048. dual,
  1049. helpstring("INntpServerBindings Interface"),
  1050. pointer_default(unique)
  1051. ]
  1052. interface INntpServerBindings : IDispatch
  1053. {
  1054. import "oaidl.idl";
  1055. //
  1056. // Standard collection methods & properties:
  1057. //
  1058. [propget, helpstring("")]
  1059. HRESULT Count ( [out, retval] long * pdwCount );
  1060. [helpstring("")]
  1061. HRESULT Item ( [in] long index, [out, retval] INntpServerBinding ** ppBinding );
  1062. [helpstring("")]
  1063. HRESULT ItemDispatch ( [in] long index, [out, retval] IDispatch ** ppBinding );
  1064. [helpstring("")]
  1065. HRESULT Add ( [in] BSTR strIpAddress, [in] long dwTcpPort, [in] long dwSslPort );
  1066. [helpstring("")]
  1067. HRESULT ChangeBinding ( [in] long index, [in] INntpServerBinding * pBinding );
  1068. [helpstring("")]
  1069. HRESULT ChangeBindingDispatch ( [in] long index, [in] IDispatch * pBinding );
  1070. [helpstring("")]
  1071. HRESULT Remove ( [in] long index );
  1072. [helpstring("")]
  1073. HRESULT Clear ( );
  1074. };
  1075. [
  1076. object,
  1077. uuid(aa068dc0-a635-11d0-896f-00aa00a74bf2),
  1078. dual,
  1079. helpstring("INntpVirtualRoot Interface"),
  1080. pointer_default(unique)
  1081. ]
  1082. interface INntpVirtualRoot : IDispatch
  1083. {
  1084. import "oaidl.idl";
  1085. //////////////////////////////////////////////////////////////////////
  1086. // Properties:
  1087. //////////////////////////////////////////////////////////////////////
  1088. [propget, helpstring("")]
  1089. HRESULT NewsgroupSubtree ( [out, retval] BSTR * pstrNewsgroupSubtree );
  1090. [propput]
  1091. HRESULT NewsgroupSubtree ( [in] BSTR strNewsgroupSubtree );
  1092. [propget, helpstring("")]
  1093. HRESULT Directory ( [out, retval] BSTR * pstrDirectory );
  1094. [propput]
  1095. HRESULT Directory ( [in] BSTR strDirectory );
  1096. [propget, helpstring("")]
  1097. HRESULT Win32Error ( [out, retval] long * plWin32Error );
  1098. [propget, helpstring("")]
  1099. HRESULT AllowPosting ( [out, retval] BOOL * pfAllowPosting );
  1100. [propput]
  1101. HRESULT AllowPosting ( [in] BOOL fAllowPosting );
  1102. [propget, helpstring("")]
  1103. HRESULT RestrictGroupVisibility ( [out, retval] BOOL * pfRestrictGroupVisibility );
  1104. [propput]
  1105. HRESULT RestrictGroupVisibility ( [in] BOOL fRestrictGroupVisibility );
  1106. [propget, helpstring("")]
  1107. HRESULT IndexContent ( [out, retval] BOOL * pfIndexContent );
  1108. [propput]
  1109. HRESULT IndexContent ( [in] BOOL fIndexContent );
  1110. [propget, helpstring("")]
  1111. HRESULT LogAccess ( [out, retval] BOOL * pfLogAccess );
  1112. [propput]
  1113. HRESULT LogAccess ( [in] BOOL fLogAccess );
  1114. [propget, helpstring("")]
  1115. HRESULT RequireSsl ( [out, retval] BOOL * pfRequireSsl );
  1116. [propput]
  1117. HRESULT RequireSsl ( [in] BOOL fRequireSsl );
  1118. [propget, helpstring("")]
  1119. HRESULT Require128BitSsl ( [out, retval] BOOL * pfRequire128BitSsl );
  1120. [propput]
  1121. HRESULT Require128BitSsl ( [in] BOOL fRequire128BitSsl );
  1122. [propget, helpstring("")]
  1123. HRESULT UNCUsername ( [out, retval] BSTR * pstrUNCUsername );
  1124. [propput]
  1125. HRESULT UNCUsername ( [in] BSTR strUNCUsername );
  1126. [propget, helpstring("")]
  1127. HRESULT UNCPassword ( [out, retval] BSTR * pstrUNCPassword );
  1128. [propput]
  1129. HRESULT UNCPassword ( [in] BSTR strUNCPassword );
  1130. [propget, helpstring("")]
  1131. HRESULT DriverProgId( [out, retval] BSTR * pstrDriverProgId );
  1132. [propput]
  1133. HRESULT DriverProgId( [in] BSTR strDriverPropId );
  1134. [propget, helpstring("")]
  1135. HRESULT GroupPropFile( [out, retval] BSTR *pstrGroupPropFile );
  1136. [propput]
  1137. HRESULT GroupPropFile( [in] BSTR strGroupPropFile );
  1138. [propget, helpstring("")]
  1139. HRESULT UseAccount( [out, retval] DWORD *pfIsUNC );
  1140. [propput]
  1141. HRESULT UseAccount( [in] DWORD UseAccount );
  1142. [propget, helpstring("")]
  1143. HRESULT OwnExpire( [out, retval] BOOL *pfOwnExpire );
  1144. [propput]
  1145. HRESULT OwnExpire( [in] BOOL fOwnExpire );
  1146. [propget, helpstring("")]
  1147. HRESULT OwnModerator( [out, retval] BOOL *pfOwnModerator );
  1148. [propput]
  1149. HRESULT OwnModerator( [in] BOOL fOwnModerator );
  1150. [propget, helpstring("")]
  1151. HRESULT MdbGuid( [out, retval] BSTR *pstrMdbGuid );
  1152. [propput]
  1153. HRESULT MdbGuid( [in] BSTR strMdbGuid );
  1154. };
  1155. [
  1156. object,
  1157. uuid(aa068dc1-a635-11d0-896f-00aa00a74bf2),
  1158. dual,
  1159. helpstring("INntpVirtualRoots Interface"),
  1160. pointer_default(unique)
  1161. ]
  1162. interface INntpVirtualRoots : IDispatch
  1163. {
  1164. import "oaidl.idl";
  1165. // Which service to configure:
  1166. [propget, helpstring("Computer Name to Configure")]
  1167. HRESULT Server ( [out, retval] BSTR * pstrServer );
  1168. [propput]
  1169. HRESULT Server ( [in] BSTR strServer );
  1170. [propget, helpstring("")]
  1171. HRESULT ServiceInstance ( [out, retval] long * pdwServiceInstance );
  1172. [propput]
  1173. HRESULT ServiceInstance ( [in] long dwServiceInstance );
  1174. //
  1175. // Standard collection methods & properties:
  1176. //
  1177. [propget, helpstring("")]
  1178. HRESULT Count ( [out, retval] long * pdwCount );
  1179. [helpstring("")]
  1180. HRESULT Enumerate ( );
  1181. [helpstring("")]
  1182. HRESULT Item ( [in] long index, [out, retval] INntpVirtualRoot ** ppVRoot );
  1183. [helpstring("")]
  1184. HRESULT ItemDispatch ( [in] long index, [out, retval] IDispatch ** ppVRoot );
  1185. [helpstring("")]
  1186. HRESULT Add ( INntpVirtualRoot * pVRoot );
  1187. [helpstring("")]
  1188. HRESULT AddDispatch ( IDispatch * pVRoot );
  1189. [helpstring("")]
  1190. HRESULT Set ( [in] long index, [in] INntpVirtualRoot * pVRoot );
  1191. [helpstring("")]
  1192. HRESULT SetDispatch ( [in] long index, [in] IDispatch * pVRoot );
  1193. [helpstring("")]
  1194. HRESULT Remove ( [in] long index );
  1195. [helpstring("")]
  1196. HRESULT Find ( [in] BSTR strNewsgroupSubtree, [out, retval] long * pIndex );
  1197. };
  1198. [
  1199. object,
  1200. uuid(cbf09fa0-b9ac-11d0-8977-00aa00a74bf2),
  1201. dual,
  1202. helpstring("ITcpAccess Interface"),
  1203. pointer_default(unique)
  1204. ]
  1205. interface ITcpAccess : IDispatch
  1206. {
  1207. import "oaidl.idl";
  1208. [propget, helpstring("")]
  1209. HRESULT GrantedList ( [out, retval] ITcpAccessExceptions ** ppGrantedList );
  1210. [propget, helpstring("")]
  1211. HRESULT DeniedList ( [out, retval] ITcpAccessExceptions ** ppDeniedList );
  1212. };
  1213. [
  1214. object,
  1215. uuid(cbf09fa1-b9ac-11d0-8977-00aa00a74bf2),
  1216. dual,
  1217. helpstring("ITcpAccessExceptions Interface"),
  1218. pointer_default(unique)
  1219. ]
  1220. interface ITcpAccessExceptions : IDispatch
  1221. {
  1222. import "oaidl.idl";
  1223. [propget, helpstring("")]
  1224. HRESULT Count ( [out, retval] long * pcCount );
  1225. [helpstring("")]
  1226. HRESULT AddDnsName ( [in] BSTR strDnsName );
  1227. [helpstring("")]
  1228. HRESULT AddIpAddress ( [in] long lIpAddress, [in] long lIpMask );
  1229. [helpstring("")]
  1230. HRESULT Item ( [in] long index, [out, retval] ITcpAccessException ** ppItem );
  1231. [helpstring("")]
  1232. HRESULT Remove ( [in] long index );
  1233. [helpstring("")]
  1234. HRESULT Clear ( );
  1235. [helpstring("")]
  1236. HRESULT FindDnsIndex ( [in] BSTR strDnsName, [out, retval] long * pIndex );
  1237. [helpstring("")]
  1238. HRESULT FindIpIndex ( [in] long lIpAddress, [in] long lIpMask, [out, retval] long * pIndex );
  1239. };
  1240. [
  1241. object,
  1242. uuid(326e38c0-c32a-11d0-8989-00aa00a74bf2),
  1243. dual,
  1244. helpstring("ITcpAccessException Interface"),
  1245. pointer_default(unique)
  1246. ]
  1247. interface ITcpAccessException : IDispatch
  1248. {
  1249. import "oaidl.idl";
  1250. [propget, helpstring("")]
  1251. HRESULT IsDnsName ( [out, retval] BOOL * pfIsDnsName );
  1252. [propget, helpstring("")]
  1253. HRESULT IsIpAddress ( [out, retval] BOOL * pfIsIpAddress );
  1254. [propget, helpstring("")]
  1255. HRESULT DnsName ( [out, retval] BSTR * pstrDnsName );
  1256. [propput]
  1257. HRESULT DnsName ( [in] BSTR strDnsName );
  1258. [propget, helpstring("")]
  1259. HRESULT IpAddress ( [out, retval] long * plIpAddress );
  1260. [propput]
  1261. HRESULT IpAddress ( [in] long lIpAddress );
  1262. [propget, helpstring("")]
  1263. HRESULT IpMask ( [out, retval] long * plIpMask );
  1264. [propput]
  1265. HRESULT IpMask ( [in] long lIpMask );
  1266. };
  1267. //////////////////////////////////////////////////////////////////////
  1268. //
  1269. // Class Definitions:
  1270. //
  1271. //////////////////////////////////////////////////////////////////////
  1272. [
  1273. uuid(3241F066-6D68-11D0-8950-00AA00A74BF2),
  1274. helpstring("NntpAdmin Class")
  1275. ]
  1276. coclass CNntpAdmin
  1277. {
  1278. [default] interface INntpAdmin;
  1279. };
  1280. [
  1281. uuid(3241F07F-6D68-11D0-8950-00AA00A74BF2),
  1282. helpstring("NntpAdminServer Class")
  1283. ]
  1284. coclass CNntpAdminService
  1285. {
  1286. [default] interface INntpService;
  1287. };
  1288. [
  1289. uuid(3241F06B-6D68-11D0-8950-00AA00A74BF2),
  1290. helpstring("NntpAdminService Class")
  1291. ]
  1292. coclass CNntpVirtualServer
  1293. {
  1294. [default] interface INntpVirtualServer;
  1295. };
  1296. [
  1297. uuid(3241F070-6D68-11D0-8950-00AA00A74BF2),
  1298. helpstring("NntpAdminFeeds Class")
  1299. ]
  1300. coclass CNntpAdminFeeds
  1301. {
  1302. [default] interface INntpAdminFeeds;
  1303. // interface IADs;
  1304. };
  1305. [
  1306. uuid(5bddc640-ae09-11d0-8974-00aa00a74bf2),
  1307. helpstring("NntpFeed Class")
  1308. ]
  1309. coclass CNntpFeed
  1310. {
  1311. [default] interface INntpFeed;
  1312. };
  1313. [
  1314. uuid(5bddc641-ae09-11d0-8974-00aa00a74bf2),
  1315. helpstring("NntpOneWayFeed Class")
  1316. ]
  1317. coclass CNntpOneWayFeed
  1318. {
  1319. [default] interface INntpOneWayFeed;
  1320. };
  1321. [
  1322. uuid(772bbad1-7a22-11d0-895d-00aa00a74bf2),
  1323. helpstring("NntpAdminExpiration Class")
  1324. ]
  1325. coclass CNntpAdminExpiration
  1326. {
  1327. [default] interface INntpAdminExpiration;
  1328. // interface IADs;
  1329. };
  1330. [
  1331. uuid(3241F075-6D68-11D0-8950-00AA00A74BF2),
  1332. helpstring("NntpAdminGroups Class")
  1333. ]
  1334. coclass CNntpAdminGroups
  1335. {
  1336. [default] interface INntpAdminGroups;
  1337. interface IADs;
  1338. };
  1339. [
  1340. uuid(3241F07A-6D68-11D0-8950-00AA00A74BF2),
  1341. helpstring("NntpAdminSessions Class")
  1342. ]
  1343. coclass CNntpAdminSessions
  1344. {
  1345. [default] interface INntpAdminSessions;
  1346. // interface IADs;
  1347. };
  1348. [
  1349. uuid(dee3b231-a3c2-11d0-896e-00aa00a74bf2),
  1350. helpstring("NntpAdminRebuild Class")
  1351. ]
  1352. coclass CNntpAdminRebuild
  1353. {
  1354. [default] interface INntpAdminRebuild;
  1355. // interface IADs;
  1356. };
  1357. [
  1358. uuid(28e6a820-a6c4-11d0-896f-00aa00a74bf2),
  1359. helpstring("NntpVirtualRoot Class")
  1360. ]
  1361. coclass CNntpVirtualRoot
  1362. {
  1363. [default] interface INntpVirtualRoot;
  1364. }
  1365. /*
  1366. [
  1367. uuid(cbf09fa2-b9ac-11d0-8977-00aa00a74bf2),
  1368. helpstring("TcpAccess Class")
  1369. ]
  1370. coclass CTcpAccess
  1371. {
  1372. [default] interface ITcpAccess;
  1373. }
  1374. [
  1375. uuid(cbf09fa3-b9ac-11d0-8977-00aa00a74bf2),
  1376. helpstring("TcpAccessExceptions Class")
  1377. ]
  1378. coclass CTcpAccessExceptions
  1379. {
  1380. [default] interface ITcpAccessExceptions;
  1381. }
  1382. [
  1383. uuid(326e38c2-c32a-11d0-8989-00aa00a74bf2),
  1384. helpstring("TcpAccessException Class")
  1385. ]
  1386. coclass CTcpAccessException
  1387. {
  1388. [default] interface ITcpAccessException;
  1389. }
  1390. */
  1391. };
  1392. cpp_quote("#endif _NNTPADM_IDL_INCLUDED_")