Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4493 lines
136 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for hnetcfg.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __hnetcfg_h__
  27. #define __hnetcfg_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IHNetCfgMgr_FWD_DEFINED__
  33. #define __IHNetCfgMgr_FWD_DEFINED__
  34. typedef interface IHNetCfgMgr IHNetCfgMgr;
  35. #endif /* __IHNetCfgMgr_FWD_DEFINED__ */
  36. #ifndef __IHNetBridgeSettings_FWD_DEFINED__
  37. #define __IHNetBridgeSettings_FWD_DEFINED__
  38. typedef interface IHNetBridgeSettings IHNetBridgeSettings;
  39. #endif /* __IHNetBridgeSettings_FWD_DEFINED__ */
  40. #ifndef __IHNetFirewallSettings_FWD_DEFINED__
  41. #define __IHNetFirewallSettings_FWD_DEFINED__
  42. typedef interface IHNetFirewallSettings IHNetFirewallSettings;
  43. #endif /* __IHNetFirewallSettings_FWD_DEFINED__ */
  44. #ifndef __IHNetIcsSettings_FWD_DEFINED__
  45. #define __IHNetIcsSettings_FWD_DEFINED__
  46. typedef interface IHNetIcsSettings IHNetIcsSettings;
  47. #endif /* __IHNetIcsSettings_FWD_DEFINED__ */
  48. #ifndef __IHNetProtocolSettings_FWD_DEFINED__
  49. #define __IHNetProtocolSettings_FWD_DEFINED__
  50. typedef interface IHNetProtocolSettings IHNetProtocolSettings;
  51. #endif /* __IHNetProtocolSettings_FWD_DEFINED__ */
  52. #ifndef __IHNetConnection_FWD_DEFINED__
  53. #define __IHNetConnection_FWD_DEFINED__
  54. typedef interface IHNetConnection IHNetConnection;
  55. #endif /* __IHNetConnection_FWD_DEFINED__ */
  56. #ifndef __IHNetFirewalledConnection_FWD_DEFINED__
  57. #define __IHNetFirewalledConnection_FWD_DEFINED__
  58. typedef interface IHNetFirewalledConnection IHNetFirewalledConnection;
  59. #endif /* __IHNetFirewalledConnection_FWD_DEFINED__ */
  60. #ifndef __IHNetIcsPublicConnection_FWD_DEFINED__
  61. #define __IHNetIcsPublicConnection_FWD_DEFINED__
  62. typedef interface IHNetIcsPublicConnection IHNetIcsPublicConnection;
  63. #endif /* __IHNetIcsPublicConnection_FWD_DEFINED__ */
  64. #ifndef __IHNetIcsPrivateConnection_FWD_DEFINED__
  65. #define __IHNetIcsPrivateConnection_FWD_DEFINED__
  66. typedef interface IHNetIcsPrivateConnection IHNetIcsPrivateConnection;
  67. #endif /* __IHNetIcsPrivateConnection_FWD_DEFINED__ */
  68. #ifndef __IHNetBridge_FWD_DEFINED__
  69. #define __IHNetBridge_FWD_DEFINED__
  70. typedef interface IHNetBridge IHNetBridge;
  71. #endif /* __IHNetBridge_FWD_DEFINED__ */
  72. #ifndef __IHNetBridgedConnection_FWD_DEFINED__
  73. #define __IHNetBridgedConnection_FWD_DEFINED__
  74. typedef interface IHNetBridgedConnection IHNetBridgedConnection;
  75. #endif /* __IHNetBridgedConnection_FWD_DEFINED__ */
  76. #ifndef __IHNetPortMappingProtocol_FWD_DEFINED__
  77. #define __IHNetPortMappingProtocol_FWD_DEFINED__
  78. typedef interface IHNetPortMappingProtocol IHNetPortMappingProtocol;
  79. #endif /* __IHNetPortMappingProtocol_FWD_DEFINED__ */
  80. #ifndef __IHNetPortMappingBinding_FWD_DEFINED__
  81. #define __IHNetPortMappingBinding_FWD_DEFINED__
  82. typedef interface IHNetPortMappingBinding IHNetPortMappingBinding;
  83. #endif /* __IHNetPortMappingBinding_FWD_DEFINED__ */
  84. #ifndef __IHNetApplicationProtocol_FWD_DEFINED__
  85. #define __IHNetApplicationProtocol_FWD_DEFINED__
  86. typedef interface IHNetApplicationProtocol IHNetApplicationProtocol;
  87. #endif /* __IHNetApplicationProtocol_FWD_DEFINED__ */
  88. #ifndef __IEnumHNetBridges_FWD_DEFINED__
  89. #define __IEnumHNetBridges_FWD_DEFINED__
  90. typedef interface IEnumHNetBridges IEnumHNetBridges;
  91. #endif /* __IEnumHNetBridges_FWD_DEFINED__ */
  92. #ifndef __IEnumHNetFirewalledConnections_FWD_DEFINED__
  93. #define __IEnumHNetFirewalledConnections_FWD_DEFINED__
  94. typedef interface IEnumHNetFirewalledConnections IEnumHNetFirewalledConnections;
  95. #endif /* __IEnumHNetFirewalledConnections_FWD_DEFINED__ */
  96. #ifndef __IEnumHNetIcsPublicConnections_FWD_DEFINED__
  97. #define __IEnumHNetIcsPublicConnections_FWD_DEFINED__
  98. typedef interface IEnumHNetIcsPublicConnections IEnumHNetIcsPublicConnections;
  99. #endif /* __IEnumHNetIcsPublicConnections_FWD_DEFINED__ */
  100. #ifndef __IEnumHNetIcsPrivateConnections_FWD_DEFINED__
  101. #define __IEnumHNetIcsPrivateConnections_FWD_DEFINED__
  102. typedef interface IEnumHNetIcsPrivateConnections IEnumHNetIcsPrivateConnections;
  103. #endif /* __IEnumHNetIcsPrivateConnections_FWD_DEFINED__ */
  104. #ifndef __IEnumHNetApplicationProtocols_FWD_DEFINED__
  105. #define __IEnumHNetApplicationProtocols_FWD_DEFINED__
  106. typedef interface IEnumHNetApplicationProtocols IEnumHNetApplicationProtocols;
  107. #endif /* __IEnumHNetApplicationProtocols_FWD_DEFINED__ */
  108. #ifndef __IEnumHNetPortMappingProtocols_FWD_DEFINED__
  109. #define __IEnumHNetPortMappingProtocols_FWD_DEFINED__
  110. typedef interface IEnumHNetPortMappingProtocols IEnumHNetPortMappingProtocols;
  111. #endif /* __IEnumHNetPortMappingProtocols_FWD_DEFINED__ */
  112. #ifndef __IEnumHNetPortMappingBindings_FWD_DEFINED__
  113. #define __IEnumHNetPortMappingBindings_FWD_DEFINED__
  114. typedef interface IEnumHNetPortMappingBindings IEnumHNetPortMappingBindings;
  115. #endif /* __IEnumHNetPortMappingBindings_FWD_DEFINED__ */
  116. #ifndef __IEnumHNetBridgedConnections_FWD_DEFINED__
  117. #define __IEnumHNetBridgedConnections_FWD_DEFINED__
  118. typedef interface IEnumHNetBridgedConnections IEnumHNetBridgedConnections;
  119. #endif /* __IEnumHNetBridgedConnections_FWD_DEFINED__ */
  120. /* header files for imported files */
  121. #include "unknwn.h"
  122. #include "netcon.h"
  123. #include "netcfgx.h"
  124. #ifdef __cplusplus
  125. extern "C"{
  126. #endif
  127. void * __RPC_USER MIDL_user_allocate(size_t);
  128. void __RPC_USER MIDL_user_free( void * );
  129. /* interface __MIDL_itf_hnetcfg_0000 */
  130. /* [local] */
  131. //+-------------------------------------------------------------------------
  132. //
  133. // Microsoft Windows
  134. // Copyright (c) Microsoft Corporation. All rights reserved.
  135. //
  136. //--------------------------------------------------------------------------
  137. #if ( _MSC_VER >= 800 )
  138. #pragma warning(disable:4201)
  139. #endif
  140. EXTERN_C const CLSID CLSID_HNetCfgMgr;
  141. EXTERN_C const CLSID CLSID_SharingManagerEnumPublicConnection;
  142. EXTERN_C const CLSID CLSID_SharingManagerEnumPrivateConnection;
  143. EXTERN_C const CLSID CLSID_SharingManagerEnumApplicationDefinition;
  144. EXTERN_C const CLSID CLSID_SharingManagerEnumPortMapping;
  145. EXTERN_C const CLSID CLSID_SharingApplicationDefinition;
  146. EXTERN_C const CLSID CLSID_SharingApplicationConfiguration;
  147. EXTERN_C const CLSID CLSID_NetSharingConfiguration;
  148. extern RPC_IF_HANDLE __MIDL_itf_hnetcfg_0000_v0_0_c_ifspec;
  149. extern RPC_IF_HANDLE __MIDL_itf_hnetcfg_0000_v0_0_s_ifspec;
  150. #ifndef __IHNetCfgMgr_INTERFACE_DEFINED__
  151. #define __IHNetCfgMgr_INTERFACE_DEFINED__
  152. /* interface IHNetCfgMgr */
  153. /* [unique][uuid][object][local] */
  154. EXTERN_C const IID IID_IHNetCfgMgr;
  155. #if defined(__cplusplus) && !defined(CINTERFACE)
  156. MIDL_INTERFACE("85D18B6C-3032-11D4-9348-00C04F8EEB71")
  157. IHNetCfgMgr : public IUnknown
  158. {
  159. public:
  160. virtual HRESULT STDMETHODCALLTYPE GetIHNetConnectionForINetConnection(
  161. /* [in] */ INetConnection *pNetConnection,
  162. /* [out] */ IHNetConnection **ppHNetConnection) = 0;
  163. virtual HRESULT STDMETHODCALLTYPE GetIHNetConnectionForGuid(
  164. /* [in] */ GUID *pGuid,
  165. /* [in] */ BOOLEAN fLanConnection,
  166. /* [in] */ BOOLEAN fCreateEntries,
  167. /* [out] */ IHNetConnection **ppHNetConnection) = 0;
  168. };
  169. #else /* C style interface */
  170. typedef struct IHNetCfgMgrVtbl
  171. {
  172. BEGIN_INTERFACE
  173. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  174. IHNetCfgMgr * This,
  175. /* [in] */ REFIID riid,
  176. /* [iid_is][out] */ void **ppvObject);
  177. ULONG ( STDMETHODCALLTYPE *AddRef )(
  178. IHNetCfgMgr * This);
  179. ULONG ( STDMETHODCALLTYPE *Release )(
  180. IHNetCfgMgr * This);
  181. HRESULT ( STDMETHODCALLTYPE *GetIHNetConnectionForINetConnection )(
  182. IHNetCfgMgr * This,
  183. /* [in] */ INetConnection *pNetConnection,
  184. /* [out] */ IHNetConnection **ppHNetConnection);
  185. HRESULT ( STDMETHODCALLTYPE *GetIHNetConnectionForGuid )(
  186. IHNetCfgMgr * This,
  187. /* [in] */ GUID *pGuid,
  188. /* [in] */ BOOLEAN fLanConnection,
  189. /* [in] */ BOOLEAN fCreateEntries,
  190. /* [out] */ IHNetConnection **ppHNetConnection);
  191. END_INTERFACE
  192. } IHNetCfgMgrVtbl;
  193. interface IHNetCfgMgr
  194. {
  195. CONST_VTBL struct IHNetCfgMgrVtbl *lpVtbl;
  196. };
  197. #ifdef COBJMACROS
  198. #define IHNetCfgMgr_QueryInterface(This,riid,ppvObject) \
  199. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  200. #define IHNetCfgMgr_AddRef(This) \
  201. (This)->lpVtbl -> AddRef(This)
  202. #define IHNetCfgMgr_Release(This) \
  203. (This)->lpVtbl -> Release(This)
  204. #define IHNetCfgMgr_GetIHNetConnectionForINetConnection(This,pNetConnection,ppHNetConnection) \
  205. (This)->lpVtbl -> GetIHNetConnectionForINetConnection(This,pNetConnection,ppHNetConnection)
  206. #define IHNetCfgMgr_GetIHNetConnectionForGuid(This,pGuid,fLanConnection,fCreateEntries,ppHNetConnection) \
  207. (This)->lpVtbl -> GetIHNetConnectionForGuid(This,pGuid,fLanConnection,fCreateEntries,ppHNetConnection)
  208. #endif /* COBJMACROS */
  209. #endif /* C style interface */
  210. HRESULT STDMETHODCALLTYPE IHNetCfgMgr_GetIHNetConnectionForINetConnection_Proxy(
  211. IHNetCfgMgr * This,
  212. /* [in] */ INetConnection *pNetConnection,
  213. /* [out] */ IHNetConnection **ppHNetConnection);
  214. void __RPC_STUB IHNetCfgMgr_GetIHNetConnectionForINetConnection_Stub(
  215. IRpcStubBuffer *This,
  216. IRpcChannelBuffer *_pRpcChannelBuffer,
  217. PRPC_MESSAGE _pRpcMessage,
  218. DWORD *_pdwStubPhase);
  219. HRESULT STDMETHODCALLTYPE IHNetCfgMgr_GetIHNetConnectionForGuid_Proxy(
  220. IHNetCfgMgr * This,
  221. /* [in] */ GUID *pGuid,
  222. /* [in] */ BOOLEAN fLanConnection,
  223. /* [in] */ BOOLEAN fCreateEntries,
  224. /* [out] */ IHNetConnection **ppHNetConnection);
  225. void __RPC_STUB IHNetCfgMgr_GetIHNetConnectionForGuid_Stub(
  226. IRpcStubBuffer *This,
  227. IRpcChannelBuffer *_pRpcChannelBuffer,
  228. PRPC_MESSAGE _pRpcMessage,
  229. DWORD *_pdwStubPhase);
  230. #endif /* __IHNetCfgMgr_INTERFACE_DEFINED__ */
  231. #ifndef __IHNetBridgeSettings_INTERFACE_DEFINED__
  232. #define __IHNetBridgeSettings_INTERFACE_DEFINED__
  233. /* interface IHNetBridgeSettings */
  234. /* [unique][uuid][object][local] */
  235. EXTERN_C const IID IID_IHNetBridgeSettings;
  236. #if defined(__cplusplus) && !defined(CINTERFACE)
  237. MIDL_INTERFACE("85D18B6D-3032-11D4-9348-00C04F8EEB71")
  238. IHNetBridgeSettings : public IUnknown
  239. {
  240. public:
  241. virtual HRESULT STDMETHODCALLTYPE EnumBridges(
  242. /* [out] */ IEnumHNetBridges **ppEnum) = 0;
  243. virtual HRESULT STDMETHODCALLTYPE CreateBridge(
  244. /* [out] */ IHNetBridge **ppHNetBridge,
  245. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting = 0) = 0;
  246. virtual HRESULT STDMETHODCALLTYPE DestroyAllBridges(
  247. /* [out] */ ULONG *pcBridges,
  248. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting = 0) = 0;
  249. };
  250. #else /* C style interface */
  251. typedef struct IHNetBridgeSettingsVtbl
  252. {
  253. BEGIN_INTERFACE
  254. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  255. IHNetBridgeSettings * This,
  256. /* [in] */ REFIID riid,
  257. /* [iid_is][out] */ void **ppvObject);
  258. ULONG ( STDMETHODCALLTYPE *AddRef )(
  259. IHNetBridgeSettings * This);
  260. ULONG ( STDMETHODCALLTYPE *Release )(
  261. IHNetBridgeSettings * This);
  262. HRESULT ( STDMETHODCALLTYPE *EnumBridges )(
  263. IHNetBridgeSettings * This,
  264. /* [out] */ IEnumHNetBridges **ppEnum);
  265. HRESULT ( STDMETHODCALLTYPE *CreateBridge )(
  266. IHNetBridgeSettings * This,
  267. /* [out] */ IHNetBridge **ppHNetBridge,
  268. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting);
  269. HRESULT ( STDMETHODCALLTYPE *DestroyAllBridges )(
  270. IHNetBridgeSettings * This,
  271. /* [out] */ ULONG *pcBridges,
  272. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting);
  273. END_INTERFACE
  274. } IHNetBridgeSettingsVtbl;
  275. interface IHNetBridgeSettings
  276. {
  277. CONST_VTBL struct IHNetBridgeSettingsVtbl *lpVtbl;
  278. };
  279. #ifdef COBJMACROS
  280. #define IHNetBridgeSettings_QueryInterface(This,riid,ppvObject) \
  281. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  282. #define IHNetBridgeSettings_AddRef(This) \
  283. (This)->lpVtbl -> AddRef(This)
  284. #define IHNetBridgeSettings_Release(This) \
  285. (This)->lpVtbl -> Release(This)
  286. #define IHNetBridgeSettings_EnumBridges(This,ppEnum) \
  287. (This)->lpVtbl -> EnumBridges(This,ppEnum)
  288. #define IHNetBridgeSettings_CreateBridge(This,ppHNetBridge,pnetcfgExisting) \
  289. (This)->lpVtbl -> CreateBridge(This,ppHNetBridge,pnetcfgExisting)
  290. #define IHNetBridgeSettings_DestroyAllBridges(This,pcBridges,pnetcfgExisting) \
  291. (This)->lpVtbl -> DestroyAllBridges(This,pcBridges,pnetcfgExisting)
  292. #endif /* COBJMACROS */
  293. #endif /* C style interface */
  294. HRESULT STDMETHODCALLTYPE IHNetBridgeSettings_EnumBridges_Proxy(
  295. IHNetBridgeSettings * This,
  296. /* [out] */ IEnumHNetBridges **ppEnum);
  297. void __RPC_STUB IHNetBridgeSettings_EnumBridges_Stub(
  298. IRpcStubBuffer *This,
  299. IRpcChannelBuffer *_pRpcChannelBuffer,
  300. PRPC_MESSAGE _pRpcMessage,
  301. DWORD *_pdwStubPhase);
  302. HRESULT STDMETHODCALLTYPE IHNetBridgeSettings_CreateBridge_Proxy(
  303. IHNetBridgeSettings * This,
  304. /* [out] */ IHNetBridge **ppHNetBridge,
  305. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting);
  306. void __RPC_STUB IHNetBridgeSettings_CreateBridge_Stub(
  307. IRpcStubBuffer *This,
  308. IRpcChannelBuffer *_pRpcChannelBuffer,
  309. PRPC_MESSAGE _pRpcMessage,
  310. DWORD *_pdwStubPhase);
  311. HRESULT STDMETHODCALLTYPE IHNetBridgeSettings_DestroyAllBridges_Proxy(
  312. IHNetBridgeSettings * This,
  313. /* [out] */ ULONG *pcBridges,
  314. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting);
  315. void __RPC_STUB IHNetBridgeSettings_DestroyAllBridges_Stub(
  316. IRpcStubBuffer *This,
  317. IRpcChannelBuffer *_pRpcChannelBuffer,
  318. PRPC_MESSAGE _pRpcMessage,
  319. DWORD *_pdwStubPhase);
  320. #endif /* __IHNetBridgeSettings_INTERFACE_DEFINED__ */
  321. #ifndef __IHNetFirewallSettings_INTERFACE_DEFINED__
  322. #define __IHNetFirewallSettings_INTERFACE_DEFINED__
  323. /* interface IHNetFirewallSettings */
  324. /* [unique][uuid][object][local] */
  325. typedef struct tagHNET_FW_LOGGING_SETTINGS
  326. {
  327. /* [string] */ LPWSTR pszwPath;
  328. ULONG ulMaxFileSize;
  329. BOOLEAN fLogDroppedPackets;
  330. BOOLEAN fLogConnections;
  331. } HNET_FW_LOGGING_SETTINGS;
  332. EXTERN_C const IID IID_IHNetFirewallSettings;
  333. #if defined(__cplusplus) && !defined(CINTERFACE)
  334. MIDL_INTERFACE("85D18B6E-3032-11D4-9348-00C04F8EEB71")
  335. IHNetFirewallSettings : public IUnknown
  336. {
  337. public:
  338. virtual HRESULT STDMETHODCALLTYPE EnumFirewalledConnections(
  339. /* [out] */ IEnumHNetFirewalledConnections **ppEnum) = 0;
  340. virtual HRESULT STDMETHODCALLTYPE GetFirewallLoggingSettings(
  341. /* [out] */ HNET_FW_LOGGING_SETTINGS **ppSettings) = 0;
  342. virtual HRESULT STDMETHODCALLTYPE SetFirewallLoggingSettings(
  343. /* [in] */ HNET_FW_LOGGING_SETTINGS *pSettings) = 0;
  344. virtual HRESULT STDMETHODCALLTYPE DisableAllFirewalling(
  345. /* [out] */ ULONG *pcFirewalledConnections) = 0;
  346. };
  347. #else /* C style interface */
  348. typedef struct IHNetFirewallSettingsVtbl
  349. {
  350. BEGIN_INTERFACE
  351. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  352. IHNetFirewallSettings * This,
  353. /* [in] */ REFIID riid,
  354. /* [iid_is][out] */ void **ppvObject);
  355. ULONG ( STDMETHODCALLTYPE *AddRef )(
  356. IHNetFirewallSettings * This);
  357. ULONG ( STDMETHODCALLTYPE *Release )(
  358. IHNetFirewallSettings * This);
  359. HRESULT ( STDMETHODCALLTYPE *EnumFirewalledConnections )(
  360. IHNetFirewallSettings * This,
  361. /* [out] */ IEnumHNetFirewalledConnections **ppEnum);
  362. HRESULT ( STDMETHODCALLTYPE *GetFirewallLoggingSettings )(
  363. IHNetFirewallSettings * This,
  364. /* [out] */ HNET_FW_LOGGING_SETTINGS **ppSettings);
  365. HRESULT ( STDMETHODCALLTYPE *SetFirewallLoggingSettings )(
  366. IHNetFirewallSettings * This,
  367. /* [in] */ HNET_FW_LOGGING_SETTINGS *pSettings);
  368. HRESULT ( STDMETHODCALLTYPE *DisableAllFirewalling )(
  369. IHNetFirewallSettings * This,
  370. /* [out] */ ULONG *pcFirewalledConnections);
  371. END_INTERFACE
  372. } IHNetFirewallSettingsVtbl;
  373. interface IHNetFirewallSettings
  374. {
  375. CONST_VTBL struct IHNetFirewallSettingsVtbl *lpVtbl;
  376. };
  377. #ifdef COBJMACROS
  378. #define IHNetFirewallSettings_QueryInterface(This,riid,ppvObject) \
  379. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  380. #define IHNetFirewallSettings_AddRef(This) \
  381. (This)->lpVtbl -> AddRef(This)
  382. #define IHNetFirewallSettings_Release(This) \
  383. (This)->lpVtbl -> Release(This)
  384. #define IHNetFirewallSettings_EnumFirewalledConnections(This,ppEnum) \
  385. (This)->lpVtbl -> EnumFirewalledConnections(This,ppEnum)
  386. #define IHNetFirewallSettings_GetFirewallLoggingSettings(This,ppSettings) \
  387. (This)->lpVtbl -> GetFirewallLoggingSettings(This,ppSettings)
  388. #define IHNetFirewallSettings_SetFirewallLoggingSettings(This,pSettings) \
  389. (This)->lpVtbl -> SetFirewallLoggingSettings(This,pSettings)
  390. #define IHNetFirewallSettings_DisableAllFirewalling(This,pcFirewalledConnections) \
  391. (This)->lpVtbl -> DisableAllFirewalling(This,pcFirewalledConnections)
  392. #endif /* COBJMACROS */
  393. #endif /* C style interface */
  394. HRESULT STDMETHODCALLTYPE IHNetFirewallSettings_EnumFirewalledConnections_Proxy(
  395. IHNetFirewallSettings * This,
  396. /* [out] */ IEnumHNetFirewalledConnections **ppEnum);
  397. void __RPC_STUB IHNetFirewallSettings_EnumFirewalledConnections_Stub(
  398. IRpcStubBuffer *This,
  399. IRpcChannelBuffer *_pRpcChannelBuffer,
  400. PRPC_MESSAGE _pRpcMessage,
  401. DWORD *_pdwStubPhase);
  402. HRESULT STDMETHODCALLTYPE IHNetFirewallSettings_GetFirewallLoggingSettings_Proxy(
  403. IHNetFirewallSettings * This,
  404. /* [out] */ HNET_FW_LOGGING_SETTINGS **ppSettings);
  405. void __RPC_STUB IHNetFirewallSettings_GetFirewallLoggingSettings_Stub(
  406. IRpcStubBuffer *This,
  407. IRpcChannelBuffer *_pRpcChannelBuffer,
  408. PRPC_MESSAGE _pRpcMessage,
  409. DWORD *_pdwStubPhase);
  410. HRESULT STDMETHODCALLTYPE IHNetFirewallSettings_SetFirewallLoggingSettings_Proxy(
  411. IHNetFirewallSettings * This,
  412. /* [in] */ HNET_FW_LOGGING_SETTINGS *pSettings);
  413. void __RPC_STUB IHNetFirewallSettings_SetFirewallLoggingSettings_Stub(
  414. IRpcStubBuffer *This,
  415. IRpcChannelBuffer *_pRpcChannelBuffer,
  416. PRPC_MESSAGE _pRpcMessage,
  417. DWORD *_pdwStubPhase);
  418. HRESULT STDMETHODCALLTYPE IHNetFirewallSettings_DisableAllFirewalling_Proxy(
  419. IHNetFirewallSettings * This,
  420. /* [out] */ ULONG *pcFirewalledConnections);
  421. void __RPC_STUB IHNetFirewallSettings_DisableAllFirewalling_Stub(
  422. IRpcStubBuffer *This,
  423. IRpcChannelBuffer *_pRpcChannelBuffer,
  424. PRPC_MESSAGE _pRpcMessage,
  425. DWORD *_pdwStubPhase);
  426. #endif /* __IHNetFirewallSettings_INTERFACE_DEFINED__ */
  427. /* interface __MIDL_itf_hnetcfg_0163 */
  428. /* [local] */
  429. VOID
  430. HNetFreeFirewallLoggingSettings(
  431. HNET_FW_LOGGING_SETTINGS *pSettings
  432. );
  433. extern RPC_IF_HANDLE __MIDL_itf_hnetcfg_0163_v0_0_c_ifspec;
  434. extern RPC_IF_HANDLE __MIDL_itf_hnetcfg_0163_v0_0_s_ifspec;
  435. #ifndef __IHNetIcsSettings_INTERFACE_DEFINED__
  436. #define __IHNetIcsSettings_INTERFACE_DEFINED__
  437. /* interface IHNetIcsSettings */
  438. /* [unique][uuid][object][local] */
  439. EXTERN_C const IID IID_IHNetIcsSettings;
  440. #if defined(__cplusplus) && !defined(CINTERFACE)
  441. MIDL_INTERFACE("85D18B6F-3032-11D4-9348-00C04F8EEB71")
  442. IHNetIcsSettings : public IUnknown
  443. {
  444. public:
  445. virtual HRESULT STDMETHODCALLTYPE EnumIcsPublicConnections(
  446. /* [out] */ IEnumHNetIcsPublicConnections **ppEnum) = 0;
  447. virtual HRESULT STDMETHODCALLTYPE EnumIcsPrivateConnections(
  448. /* [out] */ IEnumHNetIcsPrivateConnections **ppEnum) = 0;
  449. virtual HRESULT STDMETHODCALLTYPE DisableIcs(
  450. /* [out] */ ULONG *pcIcsPublicConnections,
  451. /* [out] */ ULONG *pcIcsPrivateConnections) = 0;
  452. virtual HRESULT STDMETHODCALLTYPE GetPossiblePrivateConnections(
  453. /* [in] */ IHNetConnection *pConn,
  454. /* [out] */ ULONG *pcPrivateConnections,
  455. /* [length_is][out] */ IHNetConnection **pprgPrivateConnections[ ],
  456. /* [out] */ LONG *pxCurrentPrivate) = 0;
  457. virtual HRESULT STDMETHODCALLTYPE GetAutodialSettings(
  458. /* [out] */ BOOLEAN *pfAutodialEnabled) = 0;
  459. virtual HRESULT STDMETHODCALLTYPE SetAutodialSettings(
  460. /* [in] */ BOOLEAN fEnableAutodial) = 0;
  461. virtual HRESULT STDMETHODCALLTYPE GetDhcpEnabled(
  462. /* [out] */ BOOLEAN *pfDhcpEnabled) = 0;
  463. virtual HRESULT STDMETHODCALLTYPE SetDhcpEnabled(
  464. /* [in] */ BOOLEAN fEnableDhcp) = 0;
  465. virtual HRESULT STDMETHODCALLTYPE GetDhcpScopeSettings(
  466. /* [out] */ DWORD *pdwScopeAddress,
  467. /* [out] */ DWORD *pdwScopeMask) = 0;
  468. virtual HRESULT STDMETHODCALLTYPE SetDhcpScopeSettings(
  469. /* [in] */ DWORD dwScopeAddress,
  470. /* [in] */ DWORD dwScopeMask) = 0;
  471. virtual HRESULT STDMETHODCALLTYPE EnumDhcpReservedAddresses(
  472. /* [out] */ IEnumHNetPortMappingBindings **ppEnum) = 0;
  473. virtual HRESULT STDMETHODCALLTYPE GetDnsEnabled(
  474. /* [out] */ BOOLEAN *pfDnsEnabled) = 0;
  475. virtual HRESULT STDMETHODCALLTYPE SetDnsEnabled(
  476. /* [in] */ BOOLEAN fEnableDns) = 0;
  477. virtual HRESULT STDMETHODCALLTYPE RefreshTargetComputerAddress(
  478. /* [in] */ OLECHAR *pszwName,
  479. /* [in] */ ULONG ulAddress) = 0;
  480. };
  481. #else /* C style interface */
  482. typedef struct IHNetIcsSettingsVtbl
  483. {
  484. BEGIN_INTERFACE
  485. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  486. IHNetIcsSettings * This,
  487. /* [in] */ REFIID riid,
  488. /* [iid_is][out] */ void **ppvObject);
  489. ULONG ( STDMETHODCALLTYPE *AddRef )(
  490. IHNetIcsSettings * This);
  491. ULONG ( STDMETHODCALLTYPE *Release )(
  492. IHNetIcsSettings * This);
  493. HRESULT ( STDMETHODCALLTYPE *EnumIcsPublicConnections )(
  494. IHNetIcsSettings * This,
  495. /* [out] */ IEnumHNetIcsPublicConnections **ppEnum);
  496. HRESULT ( STDMETHODCALLTYPE *EnumIcsPrivateConnections )(
  497. IHNetIcsSettings * This,
  498. /* [out] */ IEnumHNetIcsPrivateConnections **ppEnum);
  499. HRESULT ( STDMETHODCALLTYPE *DisableIcs )(
  500. IHNetIcsSettings * This,
  501. /* [out] */ ULONG *pcIcsPublicConnections,
  502. /* [out] */ ULONG *pcIcsPrivateConnections);
  503. HRESULT ( STDMETHODCALLTYPE *GetPossiblePrivateConnections )(
  504. IHNetIcsSettings * This,
  505. /* [in] */ IHNetConnection *pConn,
  506. /* [out] */ ULONG *pcPrivateConnections,
  507. /* [length_is][out] */ IHNetConnection **pprgPrivateConnections[ ],
  508. /* [out] */ LONG *pxCurrentPrivate);
  509. HRESULT ( STDMETHODCALLTYPE *GetAutodialSettings )(
  510. IHNetIcsSettings * This,
  511. /* [out] */ BOOLEAN *pfAutodialEnabled);
  512. HRESULT ( STDMETHODCALLTYPE *SetAutodialSettings )(
  513. IHNetIcsSettings * This,
  514. /* [in] */ BOOLEAN fEnableAutodial);
  515. HRESULT ( STDMETHODCALLTYPE *GetDhcpEnabled )(
  516. IHNetIcsSettings * This,
  517. /* [out] */ BOOLEAN *pfDhcpEnabled);
  518. HRESULT ( STDMETHODCALLTYPE *SetDhcpEnabled )(
  519. IHNetIcsSettings * This,
  520. /* [in] */ BOOLEAN fEnableDhcp);
  521. HRESULT ( STDMETHODCALLTYPE *GetDhcpScopeSettings )(
  522. IHNetIcsSettings * This,
  523. /* [out] */ DWORD *pdwScopeAddress,
  524. /* [out] */ DWORD *pdwScopeMask);
  525. HRESULT ( STDMETHODCALLTYPE *SetDhcpScopeSettings )(
  526. IHNetIcsSettings * This,
  527. /* [in] */ DWORD dwScopeAddress,
  528. /* [in] */ DWORD dwScopeMask);
  529. HRESULT ( STDMETHODCALLTYPE *EnumDhcpReservedAddresses )(
  530. IHNetIcsSettings * This,
  531. /* [out] */ IEnumHNetPortMappingBindings **ppEnum);
  532. HRESULT ( STDMETHODCALLTYPE *GetDnsEnabled )(
  533. IHNetIcsSettings * This,
  534. /* [out] */ BOOLEAN *pfDnsEnabled);
  535. HRESULT ( STDMETHODCALLTYPE *SetDnsEnabled )(
  536. IHNetIcsSettings * This,
  537. /* [in] */ BOOLEAN fEnableDns);
  538. HRESULT ( STDMETHODCALLTYPE *RefreshTargetComputerAddress )(
  539. IHNetIcsSettings * This,
  540. /* [in] */ OLECHAR *pszwName,
  541. /* [in] */ ULONG ulAddress);
  542. END_INTERFACE
  543. } IHNetIcsSettingsVtbl;
  544. interface IHNetIcsSettings
  545. {
  546. CONST_VTBL struct IHNetIcsSettingsVtbl *lpVtbl;
  547. };
  548. #ifdef COBJMACROS
  549. #define IHNetIcsSettings_QueryInterface(This,riid,ppvObject) \
  550. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  551. #define IHNetIcsSettings_AddRef(This) \
  552. (This)->lpVtbl -> AddRef(This)
  553. #define IHNetIcsSettings_Release(This) \
  554. (This)->lpVtbl -> Release(This)
  555. #define IHNetIcsSettings_EnumIcsPublicConnections(This,ppEnum) \
  556. (This)->lpVtbl -> EnumIcsPublicConnections(This,ppEnum)
  557. #define IHNetIcsSettings_EnumIcsPrivateConnections(This,ppEnum) \
  558. (This)->lpVtbl -> EnumIcsPrivateConnections(This,ppEnum)
  559. #define IHNetIcsSettings_DisableIcs(This,pcIcsPublicConnections,pcIcsPrivateConnections) \
  560. (This)->lpVtbl -> DisableIcs(This,pcIcsPublicConnections,pcIcsPrivateConnections)
  561. #define IHNetIcsSettings_GetPossiblePrivateConnections(This,pConn,pcPrivateConnections,pprgPrivateConnections,pxCurrentPrivate) \
  562. (This)->lpVtbl -> GetPossiblePrivateConnections(This,pConn,pcPrivateConnections,pprgPrivateConnections,pxCurrentPrivate)
  563. #define IHNetIcsSettings_GetAutodialSettings(This,pfAutodialEnabled) \
  564. (This)->lpVtbl -> GetAutodialSettings(This,pfAutodialEnabled)
  565. #define IHNetIcsSettings_SetAutodialSettings(This,fEnableAutodial) \
  566. (This)->lpVtbl -> SetAutodialSettings(This,fEnableAutodial)
  567. #define IHNetIcsSettings_GetDhcpEnabled(This,pfDhcpEnabled) \
  568. (This)->lpVtbl -> GetDhcpEnabled(This,pfDhcpEnabled)
  569. #define IHNetIcsSettings_SetDhcpEnabled(This,fEnableDhcp) \
  570. (This)->lpVtbl -> SetDhcpEnabled(This,fEnableDhcp)
  571. #define IHNetIcsSettings_GetDhcpScopeSettings(This,pdwScopeAddress,pdwScopeMask) \
  572. (This)->lpVtbl -> GetDhcpScopeSettings(This,pdwScopeAddress,pdwScopeMask)
  573. #define IHNetIcsSettings_SetDhcpScopeSettings(This,dwScopeAddress,dwScopeMask) \
  574. (This)->lpVtbl -> SetDhcpScopeSettings(This,dwScopeAddress,dwScopeMask)
  575. #define IHNetIcsSettings_EnumDhcpReservedAddresses(This,ppEnum) \
  576. (This)->lpVtbl -> EnumDhcpReservedAddresses(This,ppEnum)
  577. #define IHNetIcsSettings_GetDnsEnabled(This,pfDnsEnabled) \
  578. (This)->lpVtbl -> GetDnsEnabled(This,pfDnsEnabled)
  579. #define IHNetIcsSettings_SetDnsEnabled(This,fEnableDns) \
  580. (This)->lpVtbl -> SetDnsEnabled(This,fEnableDns)
  581. #define IHNetIcsSettings_RefreshTargetComputerAddress(This,pszwName,ulAddress) \
  582. (This)->lpVtbl -> RefreshTargetComputerAddress(This,pszwName,ulAddress)
  583. #endif /* COBJMACROS */
  584. #endif /* C style interface */
  585. HRESULT STDMETHODCALLTYPE IHNetIcsSettings_EnumIcsPublicConnections_Proxy(
  586. IHNetIcsSettings * This,
  587. /* [out] */ IEnumHNetIcsPublicConnections **ppEnum);
  588. void __RPC_STUB IHNetIcsSettings_EnumIcsPublicConnections_Stub(
  589. IRpcStubBuffer *This,
  590. IRpcChannelBuffer *_pRpcChannelBuffer,
  591. PRPC_MESSAGE _pRpcMessage,
  592. DWORD *_pdwStubPhase);
  593. HRESULT STDMETHODCALLTYPE IHNetIcsSettings_EnumIcsPrivateConnections_Proxy(
  594. IHNetIcsSettings * This,
  595. /* [out] */ IEnumHNetIcsPrivateConnections **ppEnum);
  596. void __RPC_STUB IHNetIcsSettings_EnumIcsPrivateConnections_Stub(
  597. IRpcStubBuffer *This,
  598. IRpcChannelBuffer *_pRpcChannelBuffer,
  599. PRPC_MESSAGE _pRpcMessage,
  600. DWORD *_pdwStubPhase);
  601. HRESULT STDMETHODCALLTYPE IHNetIcsSettings_DisableIcs_Proxy(
  602. IHNetIcsSettings * This,
  603. /* [out] */ ULONG *pcIcsPublicConnections,
  604. /* [out] */ ULONG *pcIcsPrivateConnections);
  605. void __RPC_STUB IHNetIcsSettings_DisableIcs_Stub(
  606. IRpcStubBuffer *This,
  607. IRpcChannelBuffer *_pRpcChannelBuffer,
  608. PRPC_MESSAGE _pRpcMessage,
  609. DWORD *_pdwStubPhase);
  610. HRESULT STDMETHODCALLTYPE IHNetIcsSettings_GetPossiblePrivateConnections_Proxy(
  611. IHNetIcsSettings * This,
  612. /* [in] */ IHNetConnection *pConn,
  613. /* [out] */ ULONG *pcPrivateConnections,
  614. /* [length_is][out] */ IHNetConnection **pprgPrivateConnections[ ],
  615. /* [out] */ LONG *pxCurrentPrivate);
  616. void __RPC_STUB IHNetIcsSettings_GetPossiblePrivateConnections_Stub(
  617. IRpcStubBuffer *This,
  618. IRpcChannelBuffer *_pRpcChannelBuffer,
  619. PRPC_MESSAGE _pRpcMessage,
  620. DWORD *_pdwStubPhase);
  621. HRESULT STDMETHODCALLTYPE IHNetIcsSettings_GetAutodialSettings_Proxy(
  622. IHNetIcsSettings * This,
  623. /* [out] */ BOOLEAN *pfAutodialEnabled);
  624. void __RPC_STUB IHNetIcsSettings_GetAutodialSettings_Stub(
  625. IRpcStubBuffer *This,
  626. IRpcChannelBuffer *_pRpcChannelBuffer,
  627. PRPC_MESSAGE _pRpcMessage,
  628. DWORD *_pdwStubPhase);
  629. HRESULT STDMETHODCALLTYPE IHNetIcsSettings_SetAutodialSettings_Proxy(
  630. IHNetIcsSettings * This,
  631. /* [in] */ BOOLEAN fEnableAutodial);
  632. void __RPC_STUB IHNetIcsSettings_SetAutodialSettings_Stub(
  633. IRpcStubBuffer *This,
  634. IRpcChannelBuffer *_pRpcChannelBuffer,
  635. PRPC_MESSAGE _pRpcMessage,
  636. DWORD *_pdwStubPhase);
  637. HRESULT STDMETHODCALLTYPE IHNetIcsSettings_GetDhcpEnabled_Proxy(
  638. IHNetIcsSettings * This,
  639. /* [out] */ BOOLEAN *pfDhcpEnabled);
  640. void __RPC_STUB IHNetIcsSettings_GetDhcpEnabled_Stub(
  641. IRpcStubBuffer *This,
  642. IRpcChannelBuffer *_pRpcChannelBuffer,
  643. PRPC_MESSAGE _pRpcMessage,
  644. DWORD *_pdwStubPhase);
  645. HRESULT STDMETHODCALLTYPE IHNetIcsSettings_SetDhcpEnabled_Proxy(
  646. IHNetIcsSettings * This,
  647. /* [in] */ BOOLEAN fEnableDhcp);
  648. void __RPC_STUB IHNetIcsSettings_SetDhcpEnabled_Stub(
  649. IRpcStubBuffer *This,
  650. IRpcChannelBuffer *_pRpcChannelBuffer,
  651. PRPC_MESSAGE _pRpcMessage,
  652. DWORD *_pdwStubPhase);
  653. HRESULT STDMETHODCALLTYPE IHNetIcsSettings_GetDhcpScopeSettings_Proxy(
  654. IHNetIcsSettings * This,
  655. /* [out] */ DWORD *pdwScopeAddress,
  656. /* [out] */ DWORD *pdwScopeMask);
  657. void __RPC_STUB IHNetIcsSettings_GetDhcpScopeSettings_Stub(
  658. IRpcStubBuffer *This,
  659. IRpcChannelBuffer *_pRpcChannelBuffer,
  660. PRPC_MESSAGE _pRpcMessage,
  661. DWORD *_pdwStubPhase);
  662. HRESULT STDMETHODCALLTYPE IHNetIcsSettings_SetDhcpScopeSettings_Proxy(
  663. IHNetIcsSettings * This,
  664. /* [in] */ DWORD dwScopeAddress,
  665. /* [in] */ DWORD dwScopeMask);
  666. void __RPC_STUB IHNetIcsSettings_SetDhcpScopeSettings_Stub(
  667. IRpcStubBuffer *This,
  668. IRpcChannelBuffer *_pRpcChannelBuffer,
  669. PRPC_MESSAGE _pRpcMessage,
  670. DWORD *_pdwStubPhase);
  671. HRESULT STDMETHODCALLTYPE IHNetIcsSettings_EnumDhcpReservedAddresses_Proxy(
  672. IHNetIcsSettings * This,
  673. /* [out] */ IEnumHNetPortMappingBindings **ppEnum);
  674. void __RPC_STUB IHNetIcsSettings_EnumDhcpReservedAddresses_Stub(
  675. IRpcStubBuffer *This,
  676. IRpcChannelBuffer *_pRpcChannelBuffer,
  677. PRPC_MESSAGE _pRpcMessage,
  678. DWORD *_pdwStubPhase);
  679. HRESULT STDMETHODCALLTYPE IHNetIcsSettings_GetDnsEnabled_Proxy(
  680. IHNetIcsSettings * This,
  681. /* [out] */ BOOLEAN *pfDnsEnabled);
  682. void __RPC_STUB IHNetIcsSettings_GetDnsEnabled_Stub(
  683. IRpcStubBuffer *This,
  684. IRpcChannelBuffer *_pRpcChannelBuffer,
  685. PRPC_MESSAGE _pRpcMessage,
  686. DWORD *_pdwStubPhase);
  687. HRESULT STDMETHODCALLTYPE IHNetIcsSettings_SetDnsEnabled_Proxy(
  688. IHNetIcsSettings * This,
  689. /* [in] */ BOOLEAN fEnableDns);
  690. void __RPC_STUB IHNetIcsSettings_SetDnsEnabled_Stub(
  691. IRpcStubBuffer *This,
  692. IRpcChannelBuffer *_pRpcChannelBuffer,
  693. PRPC_MESSAGE _pRpcMessage,
  694. DWORD *_pdwStubPhase);
  695. HRESULT STDMETHODCALLTYPE IHNetIcsSettings_RefreshTargetComputerAddress_Proxy(
  696. IHNetIcsSettings * This,
  697. /* [in] */ OLECHAR *pszwName,
  698. /* [in] */ ULONG ulAddress);
  699. void __RPC_STUB IHNetIcsSettings_RefreshTargetComputerAddress_Stub(
  700. IRpcStubBuffer *This,
  701. IRpcChannelBuffer *_pRpcChannelBuffer,
  702. PRPC_MESSAGE _pRpcMessage,
  703. DWORD *_pdwStubPhase);
  704. #endif /* __IHNetIcsSettings_INTERFACE_DEFINED__ */
  705. /* interface __MIDL_itf_hnetcfg_0164 */
  706. /* [local] */
  707. typedef struct tagHNET_RESPONSE_RANGE
  708. {
  709. UCHAR ucIPProtocol;
  710. USHORT usStartPort;
  711. USHORT usEndPort;
  712. } HNET_RESPONSE_RANGE;
  713. typedef struct tagHNET_PORT_MAPPING_BINDING
  714. {
  715. OLECHAR *pszwTargetMachineName;
  716. ULONG ulTargetMachineAddress;
  717. } HNET_PORT_MAPPING_BINDING;
  718. extern RPC_IF_HANDLE __MIDL_itf_hnetcfg_0164_v0_0_c_ifspec;
  719. extern RPC_IF_HANDLE __MIDL_itf_hnetcfg_0164_v0_0_s_ifspec;
  720. #ifndef __IHNetProtocolSettings_INTERFACE_DEFINED__
  721. #define __IHNetProtocolSettings_INTERFACE_DEFINED__
  722. /* interface IHNetProtocolSettings */
  723. /* [unique][uuid][object][local] */
  724. EXTERN_C const IID IID_IHNetProtocolSettings;
  725. #if defined(__cplusplus) && !defined(CINTERFACE)
  726. MIDL_INTERFACE("85D18B70-3032-11D4-9348-00C04F8EEB71")
  727. IHNetProtocolSettings : public IUnknown
  728. {
  729. public:
  730. virtual HRESULT STDMETHODCALLTYPE EnumApplicationProtocols(
  731. /* [in] */ BOOLEAN fEnabledOnly,
  732. /* [out] */ IEnumHNetApplicationProtocols **ppEnum) = 0;
  733. virtual HRESULT STDMETHODCALLTYPE CreateApplicationProtocol(
  734. /* [in] */ OLECHAR *pszwName,
  735. /* [in] */ UCHAR ucOutgoingIPProtocol,
  736. /* [in] */ USHORT usOutgoingPort,
  737. /* [in] */ USHORT uscResponses,
  738. /* [size_is][in] */ HNET_RESPONSE_RANGE rgResponses[ ],
  739. /* [out] */ IHNetApplicationProtocol **ppProtocol) = 0;
  740. virtual HRESULT STDMETHODCALLTYPE EnumPortMappingProtocols(
  741. /* [out] */ IEnumHNetPortMappingProtocols **ppEnum) = 0;
  742. virtual HRESULT STDMETHODCALLTYPE CreatePortMappingProtocol(
  743. /* [in] */ OLECHAR *pszwName,
  744. /* [in] */ UCHAR ucIPProtocol,
  745. /* [in] */ USHORT usPort,
  746. /* [out] */ IHNetPortMappingProtocol **ppProtocol) = 0;
  747. virtual HRESULT STDMETHODCALLTYPE FindPortMappingProtocol(
  748. /* [in] */ GUID *pGuid,
  749. /* [out] */ IHNetPortMappingProtocol **ppProtocol) = 0;
  750. };
  751. #else /* C style interface */
  752. typedef struct IHNetProtocolSettingsVtbl
  753. {
  754. BEGIN_INTERFACE
  755. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  756. IHNetProtocolSettings * This,
  757. /* [in] */ REFIID riid,
  758. /* [iid_is][out] */ void **ppvObject);
  759. ULONG ( STDMETHODCALLTYPE *AddRef )(
  760. IHNetProtocolSettings * This);
  761. ULONG ( STDMETHODCALLTYPE *Release )(
  762. IHNetProtocolSettings * This);
  763. HRESULT ( STDMETHODCALLTYPE *EnumApplicationProtocols )(
  764. IHNetProtocolSettings * This,
  765. /* [in] */ BOOLEAN fEnabledOnly,
  766. /* [out] */ IEnumHNetApplicationProtocols **ppEnum);
  767. HRESULT ( STDMETHODCALLTYPE *CreateApplicationProtocol )(
  768. IHNetProtocolSettings * This,
  769. /* [in] */ OLECHAR *pszwName,
  770. /* [in] */ UCHAR ucOutgoingIPProtocol,
  771. /* [in] */ USHORT usOutgoingPort,
  772. /* [in] */ USHORT uscResponses,
  773. /* [size_is][in] */ HNET_RESPONSE_RANGE rgResponses[ ],
  774. /* [out] */ IHNetApplicationProtocol **ppProtocol);
  775. HRESULT ( STDMETHODCALLTYPE *EnumPortMappingProtocols )(
  776. IHNetProtocolSettings * This,
  777. /* [out] */ IEnumHNetPortMappingProtocols **ppEnum);
  778. HRESULT ( STDMETHODCALLTYPE *CreatePortMappingProtocol )(
  779. IHNetProtocolSettings * This,
  780. /* [in] */ OLECHAR *pszwName,
  781. /* [in] */ UCHAR ucIPProtocol,
  782. /* [in] */ USHORT usPort,
  783. /* [out] */ IHNetPortMappingProtocol **ppProtocol);
  784. HRESULT ( STDMETHODCALLTYPE *FindPortMappingProtocol )(
  785. IHNetProtocolSettings * This,
  786. /* [in] */ GUID *pGuid,
  787. /* [out] */ IHNetPortMappingProtocol **ppProtocol);
  788. END_INTERFACE
  789. } IHNetProtocolSettingsVtbl;
  790. interface IHNetProtocolSettings
  791. {
  792. CONST_VTBL struct IHNetProtocolSettingsVtbl *lpVtbl;
  793. };
  794. #ifdef COBJMACROS
  795. #define IHNetProtocolSettings_QueryInterface(This,riid,ppvObject) \
  796. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  797. #define IHNetProtocolSettings_AddRef(This) \
  798. (This)->lpVtbl -> AddRef(This)
  799. #define IHNetProtocolSettings_Release(This) \
  800. (This)->lpVtbl -> Release(This)
  801. #define IHNetProtocolSettings_EnumApplicationProtocols(This,fEnabledOnly,ppEnum) \
  802. (This)->lpVtbl -> EnumApplicationProtocols(This,fEnabledOnly,ppEnum)
  803. #define IHNetProtocolSettings_CreateApplicationProtocol(This,pszwName,ucOutgoingIPProtocol,usOutgoingPort,uscResponses,rgResponses,ppProtocol) \
  804. (This)->lpVtbl -> CreateApplicationProtocol(This,pszwName,ucOutgoingIPProtocol,usOutgoingPort,uscResponses,rgResponses,ppProtocol)
  805. #define IHNetProtocolSettings_EnumPortMappingProtocols(This,ppEnum) \
  806. (This)->lpVtbl -> EnumPortMappingProtocols(This,ppEnum)
  807. #define IHNetProtocolSettings_CreatePortMappingProtocol(This,pszwName,ucIPProtocol,usPort,ppProtocol) \
  808. (This)->lpVtbl -> CreatePortMappingProtocol(This,pszwName,ucIPProtocol,usPort,ppProtocol)
  809. #define IHNetProtocolSettings_FindPortMappingProtocol(This,pGuid,ppProtocol) \
  810. (This)->lpVtbl -> FindPortMappingProtocol(This,pGuid,ppProtocol)
  811. #endif /* COBJMACROS */
  812. #endif /* C style interface */
  813. HRESULT STDMETHODCALLTYPE IHNetProtocolSettings_EnumApplicationProtocols_Proxy(
  814. IHNetProtocolSettings * This,
  815. /* [in] */ BOOLEAN fEnabledOnly,
  816. /* [out] */ IEnumHNetApplicationProtocols **ppEnum);
  817. void __RPC_STUB IHNetProtocolSettings_EnumApplicationProtocols_Stub(
  818. IRpcStubBuffer *This,
  819. IRpcChannelBuffer *_pRpcChannelBuffer,
  820. PRPC_MESSAGE _pRpcMessage,
  821. DWORD *_pdwStubPhase);
  822. HRESULT STDMETHODCALLTYPE IHNetProtocolSettings_CreateApplicationProtocol_Proxy(
  823. IHNetProtocolSettings * This,
  824. /* [in] */ OLECHAR *pszwName,
  825. /* [in] */ UCHAR ucOutgoingIPProtocol,
  826. /* [in] */ USHORT usOutgoingPort,
  827. /* [in] */ USHORT uscResponses,
  828. /* [size_is][in] */ HNET_RESPONSE_RANGE rgResponses[ ],
  829. /* [out] */ IHNetApplicationProtocol **ppProtocol);
  830. void __RPC_STUB IHNetProtocolSettings_CreateApplicationProtocol_Stub(
  831. IRpcStubBuffer *This,
  832. IRpcChannelBuffer *_pRpcChannelBuffer,
  833. PRPC_MESSAGE _pRpcMessage,
  834. DWORD *_pdwStubPhase);
  835. HRESULT STDMETHODCALLTYPE IHNetProtocolSettings_EnumPortMappingProtocols_Proxy(
  836. IHNetProtocolSettings * This,
  837. /* [out] */ IEnumHNetPortMappingProtocols **ppEnum);
  838. void __RPC_STUB IHNetProtocolSettings_EnumPortMappingProtocols_Stub(
  839. IRpcStubBuffer *This,
  840. IRpcChannelBuffer *_pRpcChannelBuffer,
  841. PRPC_MESSAGE _pRpcMessage,
  842. DWORD *_pdwStubPhase);
  843. HRESULT STDMETHODCALLTYPE IHNetProtocolSettings_CreatePortMappingProtocol_Proxy(
  844. IHNetProtocolSettings * This,
  845. /* [in] */ OLECHAR *pszwName,
  846. /* [in] */ UCHAR ucIPProtocol,
  847. /* [in] */ USHORT usPort,
  848. /* [out] */ IHNetPortMappingProtocol **ppProtocol);
  849. void __RPC_STUB IHNetProtocolSettings_CreatePortMappingProtocol_Stub(
  850. IRpcStubBuffer *This,
  851. IRpcChannelBuffer *_pRpcChannelBuffer,
  852. PRPC_MESSAGE _pRpcMessage,
  853. DWORD *_pdwStubPhase);
  854. HRESULT STDMETHODCALLTYPE IHNetProtocolSettings_FindPortMappingProtocol_Proxy(
  855. IHNetProtocolSettings * This,
  856. /* [in] */ GUID *pGuid,
  857. /* [out] */ IHNetPortMappingProtocol **ppProtocol);
  858. void __RPC_STUB IHNetProtocolSettings_FindPortMappingProtocol_Stub(
  859. IRpcStubBuffer *This,
  860. IRpcChannelBuffer *_pRpcChannelBuffer,
  861. PRPC_MESSAGE _pRpcMessage,
  862. DWORD *_pdwStubPhase);
  863. #endif /* __IHNetProtocolSettings_INTERFACE_DEFINED__ */
  864. #ifndef __IHNetConnection_INTERFACE_DEFINED__
  865. #define __IHNetConnection_INTERFACE_DEFINED__
  866. /* interface IHNetConnection */
  867. /* [unique][uuid][object][local] */
  868. typedef struct tagHNET_CONN_PROPERTIES
  869. {
  870. BOOLEAN fLanConnection;
  871. BOOLEAN fFirewalled;
  872. BOOLEAN fIcsPublic;
  873. BOOLEAN fIcsPrivate;
  874. BOOLEAN fBridge;
  875. BOOLEAN fPartOfBridge;
  876. BOOLEAN fCanBeBridged;
  877. BOOLEAN fCanBeFirewalled;
  878. BOOLEAN fCanBeIcsPublic;
  879. BOOLEAN fCanBeIcsPrivate;
  880. } HNET_CONN_PROPERTIES;
  881. typedef struct tagHNET_FW_ICMP_SETTINGS
  882. {
  883. BOOLEAN fAllowOutboundDestinationUnreachable;
  884. BOOLEAN fAllowOutboundSourceQuench;
  885. BOOLEAN fAllowRedirect;
  886. BOOLEAN fAllowInboundEchoRequest;
  887. BOOLEAN fAllowInboundRouterRequest;
  888. BOOLEAN fAllowOutboundTimeExceeded;
  889. BOOLEAN fAllowOutboundParameterProblem;
  890. BOOLEAN fAllowInboundTimestampRequest;
  891. BOOLEAN fAllowInboundMaskRequest;
  892. } HNET_FW_ICMP_SETTINGS;
  893. EXTERN_C const IID IID_IHNetConnection;
  894. #if defined(__cplusplus) && !defined(CINTERFACE)
  895. MIDL_INTERFACE("85D18B71-3032-11D4-9348-00C04F8EEB71")
  896. IHNetConnection : public IUnknown
  897. {
  898. public:
  899. virtual HRESULT STDMETHODCALLTYPE GetINetConnection(
  900. /* [out] */ INetConnection **ppNetConnection) = 0;
  901. virtual HRESULT STDMETHODCALLTYPE GetGuid(
  902. /* [out] */ GUID **ppGuid) = 0;
  903. virtual HRESULT STDMETHODCALLTYPE GetName(
  904. /* [string][out] */ OLECHAR **ppszwName) = 0;
  905. virtual HRESULT STDMETHODCALLTYPE GetRasPhonebookPath(
  906. /* [string][out] */ OLECHAR **ppszwPath) = 0;
  907. virtual HRESULT STDMETHODCALLTYPE GetProperties(
  908. /* [out] */ HNET_CONN_PROPERTIES **ppProperties) = 0;
  909. virtual HRESULT STDMETHODCALLTYPE GetControlInterface(
  910. REFIID iid,
  911. /* [iid_is] */ void **ppv) = 0;
  912. virtual HRESULT STDMETHODCALLTYPE Firewall(
  913. /* [out] */ IHNetFirewalledConnection **ppFirewalledConn) = 0;
  914. virtual HRESULT STDMETHODCALLTYPE SharePublic(
  915. /* [out] */ IHNetIcsPublicConnection **ppIcsPublicConn) = 0;
  916. virtual HRESULT STDMETHODCALLTYPE SharePrivate(
  917. /* [out] */ IHNetIcsPrivateConnection **ppIcsPrivateConn) = 0;
  918. virtual HRESULT STDMETHODCALLTYPE EnumPortMappings(
  919. /* [in] */ BOOLEAN fEnabledOnly,
  920. /* [out] */ IEnumHNetPortMappingBindings **ppEnum) = 0;
  921. virtual HRESULT STDMETHODCALLTYPE GetBindingForPortMappingProtocol(
  922. /* [in] */ IHNetPortMappingProtocol *pProtocol,
  923. /* [out] */ IHNetPortMappingBinding **ppBinding) = 0;
  924. virtual HRESULT STDMETHODCALLTYPE GetIcmpSettings(
  925. /* [out] */ HNET_FW_ICMP_SETTINGS **ppSettings) = 0;
  926. virtual HRESULT STDMETHODCALLTYPE SetIcmpSettings(
  927. /* [in] */ HNET_FW_ICMP_SETTINGS *pSettings) = 0;
  928. virtual HRESULT STDMETHODCALLTYPE ShowAutoconfigBalloon(
  929. /* [out] */ BOOLEAN *pfShowBalloon) = 0;
  930. virtual HRESULT STDMETHODCALLTYPE DeleteRasConnectionEntry( void) = 0;
  931. };
  932. #else /* C style interface */
  933. typedef struct IHNetConnectionVtbl
  934. {
  935. BEGIN_INTERFACE
  936. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  937. IHNetConnection * This,
  938. /* [in] */ REFIID riid,
  939. /* [iid_is][out] */ void **ppvObject);
  940. ULONG ( STDMETHODCALLTYPE *AddRef )(
  941. IHNetConnection * This);
  942. ULONG ( STDMETHODCALLTYPE *Release )(
  943. IHNetConnection * This);
  944. HRESULT ( STDMETHODCALLTYPE *GetINetConnection )(
  945. IHNetConnection * This,
  946. /* [out] */ INetConnection **ppNetConnection);
  947. HRESULT ( STDMETHODCALLTYPE *GetGuid )(
  948. IHNetConnection * This,
  949. /* [out] */ GUID **ppGuid);
  950. HRESULT ( STDMETHODCALLTYPE *GetName )(
  951. IHNetConnection * This,
  952. /* [string][out] */ OLECHAR **ppszwName);
  953. HRESULT ( STDMETHODCALLTYPE *GetRasPhonebookPath )(
  954. IHNetConnection * This,
  955. /* [string][out] */ OLECHAR **ppszwPath);
  956. HRESULT ( STDMETHODCALLTYPE *GetProperties )(
  957. IHNetConnection * This,
  958. /* [out] */ HNET_CONN_PROPERTIES **ppProperties);
  959. HRESULT ( STDMETHODCALLTYPE *GetControlInterface )(
  960. IHNetConnection * This,
  961. REFIID iid,
  962. /* [iid_is] */ void **ppv);
  963. HRESULT ( STDMETHODCALLTYPE *Firewall )(
  964. IHNetConnection * This,
  965. /* [out] */ IHNetFirewalledConnection **ppFirewalledConn);
  966. HRESULT ( STDMETHODCALLTYPE *SharePublic )(
  967. IHNetConnection * This,
  968. /* [out] */ IHNetIcsPublicConnection **ppIcsPublicConn);
  969. HRESULT ( STDMETHODCALLTYPE *SharePrivate )(
  970. IHNetConnection * This,
  971. /* [out] */ IHNetIcsPrivateConnection **ppIcsPrivateConn);
  972. HRESULT ( STDMETHODCALLTYPE *EnumPortMappings )(
  973. IHNetConnection * This,
  974. /* [in] */ BOOLEAN fEnabledOnly,
  975. /* [out] */ IEnumHNetPortMappingBindings **ppEnum);
  976. HRESULT ( STDMETHODCALLTYPE *GetBindingForPortMappingProtocol )(
  977. IHNetConnection * This,
  978. /* [in] */ IHNetPortMappingProtocol *pProtocol,
  979. /* [out] */ IHNetPortMappingBinding **ppBinding);
  980. HRESULT ( STDMETHODCALLTYPE *GetIcmpSettings )(
  981. IHNetConnection * This,
  982. /* [out] */ HNET_FW_ICMP_SETTINGS **ppSettings);
  983. HRESULT ( STDMETHODCALLTYPE *SetIcmpSettings )(
  984. IHNetConnection * This,
  985. /* [in] */ HNET_FW_ICMP_SETTINGS *pSettings);
  986. HRESULT ( STDMETHODCALLTYPE *ShowAutoconfigBalloon )(
  987. IHNetConnection * This,
  988. /* [out] */ BOOLEAN *pfShowBalloon);
  989. HRESULT ( STDMETHODCALLTYPE *DeleteRasConnectionEntry )(
  990. IHNetConnection * This);
  991. END_INTERFACE
  992. } IHNetConnectionVtbl;
  993. interface IHNetConnection
  994. {
  995. CONST_VTBL struct IHNetConnectionVtbl *lpVtbl;
  996. };
  997. #ifdef COBJMACROS
  998. #define IHNetConnection_QueryInterface(This,riid,ppvObject) \
  999. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1000. #define IHNetConnection_AddRef(This) \
  1001. (This)->lpVtbl -> AddRef(This)
  1002. #define IHNetConnection_Release(This) \
  1003. (This)->lpVtbl -> Release(This)
  1004. #define IHNetConnection_GetINetConnection(This,ppNetConnection) \
  1005. (This)->lpVtbl -> GetINetConnection(This,ppNetConnection)
  1006. #define IHNetConnection_GetGuid(This,ppGuid) \
  1007. (This)->lpVtbl -> GetGuid(This,ppGuid)
  1008. #define IHNetConnection_GetName(This,ppszwName) \
  1009. (This)->lpVtbl -> GetName(This,ppszwName)
  1010. #define IHNetConnection_GetRasPhonebookPath(This,ppszwPath) \
  1011. (This)->lpVtbl -> GetRasPhonebookPath(This,ppszwPath)
  1012. #define IHNetConnection_GetProperties(This,ppProperties) \
  1013. (This)->lpVtbl -> GetProperties(This,ppProperties)
  1014. #define IHNetConnection_GetControlInterface(This,iid,ppv) \
  1015. (This)->lpVtbl -> GetControlInterface(This,iid,ppv)
  1016. #define IHNetConnection_Firewall(This,ppFirewalledConn) \
  1017. (This)->lpVtbl -> Firewall(This,ppFirewalledConn)
  1018. #define IHNetConnection_SharePublic(This,ppIcsPublicConn) \
  1019. (This)->lpVtbl -> SharePublic(This,ppIcsPublicConn)
  1020. #define IHNetConnection_SharePrivate(This,ppIcsPrivateConn) \
  1021. (This)->lpVtbl -> SharePrivate(This,ppIcsPrivateConn)
  1022. #define IHNetConnection_EnumPortMappings(This,fEnabledOnly,ppEnum) \
  1023. (This)->lpVtbl -> EnumPortMappings(This,fEnabledOnly,ppEnum)
  1024. #define IHNetConnection_GetBindingForPortMappingProtocol(This,pProtocol,ppBinding) \
  1025. (This)->lpVtbl -> GetBindingForPortMappingProtocol(This,pProtocol,ppBinding)
  1026. #define IHNetConnection_GetIcmpSettings(This,ppSettings) \
  1027. (This)->lpVtbl -> GetIcmpSettings(This,ppSettings)
  1028. #define IHNetConnection_SetIcmpSettings(This,pSettings) \
  1029. (This)->lpVtbl -> SetIcmpSettings(This,pSettings)
  1030. #define IHNetConnection_ShowAutoconfigBalloon(This,pfShowBalloon) \
  1031. (This)->lpVtbl -> ShowAutoconfigBalloon(This,pfShowBalloon)
  1032. #define IHNetConnection_DeleteRasConnectionEntry(This) \
  1033. (This)->lpVtbl -> DeleteRasConnectionEntry(This)
  1034. #endif /* COBJMACROS */
  1035. #endif /* C style interface */
  1036. HRESULT STDMETHODCALLTYPE IHNetConnection_GetINetConnection_Proxy(
  1037. IHNetConnection * This,
  1038. /* [out] */ INetConnection **ppNetConnection);
  1039. void __RPC_STUB IHNetConnection_GetINetConnection_Stub(
  1040. IRpcStubBuffer *This,
  1041. IRpcChannelBuffer *_pRpcChannelBuffer,
  1042. PRPC_MESSAGE _pRpcMessage,
  1043. DWORD *_pdwStubPhase);
  1044. HRESULT STDMETHODCALLTYPE IHNetConnection_GetGuid_Proxy(
  1045. IHNetConnection * This,
  1046. /* [out] */ GUID **ppGuid);
  1047. void __RPC_STUB IHNetConnection_GetGuid_Stub(
  1048. IRpcStubBuffer *This,
  1049. IRpcChannelBuffer *_pRpcChannelBuffer,
  1050. PRPC_MESSAGE _pRpcMessage,
  1051. DWORD *_pdwStubPhase);
  1052. HRESULT STDMETHODCALLTYPE IHNetConnection_GetName_Proxy(
  1053. IHNetConnection * This,
  1054. /* [string][out] */ OLECHAR **ppszwName);
  1055. void __RPC_STUB IHNetConnection_GetName_Stub(
  1056. IRpcStubBuffer *This,
  1057. IRpcChannelBuffer *_pRpcChannelBuffer,
  1058. PRPC_MESSAGE _pRpcMessage,
  1059. DWORD *_pdwStubPhase);
  1060. HRESULT STDMETHODCALLTYPE IHNetConnection_GetRasPhonebookPath_Proxy(
  1061. IHNetConnection * This,
  1062. /* [string][out] */ OLECHAR **ppszwPath);
  1063. void __RPC_STUB IHNetConnection_GetRasPhonebookPath_Stub(
  1064. IRpcStubBuffer *This,
  1065. IRpcChannelBuffer *_pRpcChannelBuffer,
  1066. PRPC_MESSAGE _pRpcMessage,
  1067. DWORD *_pdwStubPhase);
  1068. HRESULT STDMETHODCALLTYPE IHNetConnection_GetProperties_Proxy(
  1069. IHNetConnection * This,
  1070. /* [out] */ HNET_CONN_PROPERTIES **ppProperties);
  1071. void __RPC_STUB IHNetConnection_GetProperties_Stub(
  1072. IRpcStubBuffer *This,
  1073. IRpcChannelBuffer *_pRpcChannelBuffer,
  1074. PRPC_MESSAGE _pRpcMessage,
  1075. DWORD *_pdwStubPhase);
  1076. HRESULT STDMETHODCALLTYPE IHNetConnection_GetControlInterface_Proxy(
  1077. IHNetConnection * This,
  1078. REFIID iid,
  1079. /* [iid_is] */ void **ppv);
  1080. void __RPC_STUB IHNetConnection_GetControlInterface_Stub(
  1081. IRpcStubBuffer *This,
  1082. IRpcChannelBuffer *_pRpcChannelBuffer,
  1083. PRPC_MESSAGE _pRpcMessage,
  1084. DWORD *_pdwStubPhase);
  1085. HRESULT STDMETHODCALLTYPE IHNetConnection_Firewall_Proxy(
  1086. IHNetConnection * This,
  1087. /* [out] */ IHNetFirewalledConnection **ppFirewalledConn);
  1088. void __RPC_STUB IHNetConnection_Firewall_Stub(
  1089. IRpcStubBuffer *This,
  1090. IRpcChannelBuffer *_pRpcChannelBuffer,
  1091. PRPC_MESSAGE _pRpcMessage,
  1092. DWORD *_pdwStubPhase);
  1093. HRESULT STDMETHODCALLTYPE IHNetConnection_SharePublic_Proxy(
  1094. IHNetConnection * This,
  1095. /* [out] */ IHNetIcsPublicConnection **ppIcsPublicConn);
  1096. void __RPC_STUB IHNetConnection_SharePublic_Stub(
  1097. IRpcStubBuffer *This,
  1098. IRpcChannelBuffer *_pRpcChannelBuffer,
  1099. PRPC_MESSAGE _pRpcMessage,
  1100. DWORD *_pdwStubPhase);
  1101. HRESULT STDMETHODCALLTYPE IHNetConnection_SharePrivate_Proxy(
  1102. IHNetConnection * This,
  1103. /* [out] */ IHNetIcsPrivateConnection **ppIcsPrivateConn);
  1104. void __RPC_STUB IHNetConnection_SharePrivate_Stub(
  1105. IRpcStubBuffer *This,
  1106. IRpcChannelBuffer *_pRpcChannelBuffer,
  1107. PRPC_MESSAGE _pRpcMessage,
  1108. DWORD *_pdwStubPhase);
  1109. HRESULT STDMETHODCALLTYPE IHNetConnection_EnumPortMappings_Proxy(
  1110. IHNetConnection * This,
  1111. /* [in] */ BOOLEAN fEnabledOnly,
  1112. /* [out] */ IEnumHNetPortMappingBindings **ppEnum);
  1113. void __RPC_STUB IHNetConnection_EnumPortMappings_Stub(
  1114. IRpcStubBuffer *This,
  1115. IRpcChannelBuffer *_pRpcChannelBuffer,
  1116. PRPC_MESSAGE _pRpcMessage,
  1117. DWORD *_pdwStubPhase);
  1118. HRESULT STDMETHODCALLTYPE IHNetConnection_GetBindingForPortMappingProtocol_Proxy(
  1119. IHNetConnection * This,
  1120. /* [in] */ IHNetPortMappingProtocol *pProtocol,
  1121. /* [out] */ IHNetPortMappingBinding **ppBinding);
  1122. void __RPC_STUB IHNetConnection_GetBindingForPortMappingProtocol_Stub(
  1123. IRpcStubBuffer *This,
  1124. IRpcChannelBuffer *_pRpcChannelBuffer,
  1125. PRPC_MESSAGE _pRpcMessage,
  1126. DWORD *_pdwStubPhase);
  1127. HRESULT STDMETHODCALLTYPE IHNetConnection_GetIcmpSettings_Proxy(
  1128. IHNetConnection * This,
  1129. /* [out] */ HNET_FW_ICMP_SETTINGS **ppSettings);
  1130. void __RPC_STUB IHNetConnection_GetIcmpSettings_Stub(
  1131. IRpcStubBuffer *This,
  1132. IRpcChannelBuffer *_pRpcChannelBuffer,
  1133. PRPC_MESSAGE _pRpcMessage,
  1134. DWORD *_pdwStubPhase);
  1135. HRESULT STDMETHODCALLTYPE IHNetConnection_SetIcmpSettings_Proxy(
  1136. IHNetConnection * This,
  1137. /* [in] */ HNET_FW_ICMP_SETTINGS *pSettings);
  1138. void __RPC_STUB IHNetConnection_SetIcmpSettings_Stub(
  1139. IRpcStubBuffer *This,
  1140. IRpcChannelBuffer *_pRpcChannelBuffer,
  1141. PRPC_MESSAGE _pRpcMessage,
  1142. DWORD *_pdwStubPhase);
  1143. HRESULT STDMETHODCALLTYPE IHNetConnection_ShowAutoconfigBalloon_Proxy(
  1144. IHNetConnection * This,
  1145. /* [out] */ BOOLEAN *pfShowBalloon);
  1146. void __RPC_STUB IHNetConnection_ShowAutoconfigBalloon_Stub(
  1147. IRpcStubBuffer *This,
  1148. IRpcChannelBuffer *_pRpcChannelBuffer,
  1149. PRPC_MESSAGE _pRpcMessage,
  1150. DWORD *_pdwStubPhase);
  1151. HRESULT STDMETHODCALLTYPE IHNetConnection_DeleteRasConnectionEntry_Proxy(
  1152. IHNetConnection * This);
  1153. void __RPC_STUB IHNetConnection_DeleteRasConnectionEntry_Stub(
  1154. IRpcStubBuffer *This,
  1155. IRpcChannelBuffer *_pRpcChannelBuffer,
  1156. PRPC_MESSAGE _pRpcMessage,
  1157. DWORD *_pdwStubPhase);
  1158. #endif /* __IHNetConnection_INTERFACE_DEFINED__ */
  1159. #ifndef __IHNetFirewalledConnection_INTERFACE_DEFINED__
  1160. #define __IHNetFirewalledConnection_INTERFACE_DEFINED__
  1161. /* interface IHNetFirewalledConnection */
  1162. /* [unique][uuid][object][local] */
  1163. EXTERN_C const IID IID_IHNetFirewalledConnection;
  1164. #if defined(__cplusplus) && !defined(CINTERFACE)
  1165. MIDL_INTERFACE("85D18B72-3032-11D4-9348-00C04F8EEB71")
  1166. IHNetFirewalledConnection : public IUnknown
  1167. {
  1168. public:
  1169. virtual HRESULT STDMETHODCALLTYPE Unfirewall( void) = 0;
  1170. };
  1171. #else /* C style interface */
  1172. typedef struct IHNetFirewalledConnectionVtbl
  1173. {
  1174. BEGIN_INTERFACE
  1175. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1176. IHNetFirewalledConnection * This,
  1177. /* [in] */ REFIID riid,
  1178. /* [iid_is][out] */ void **ppvObject);
  1179. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1180. IHNetFirewalledConnection * This);
  1181. ULONG ( STDMETHODCALLTYPE *Release )(
  1182. IHNetFirewalledConnection * This);
  1183. HRESULT ( STDMETHODCALLTYPE *Unfirewall )(
  1184. IHNetFirewalledConnection * This);
  1185. END_INTERFACE
  1186. } IHNetFirewalledConnectionVtbl;
  1187. interface IHNetFirewalledConnection
  1188. {
  1189. CONST_VTBL struct IHNetFirewalledConnectionVtbl *lpVtbl;
  1190. };
  1191. #ifdef COBJMACROS
  1192. #define IHNetFirewalledConnection_QueryInterface(This,riid,ppvObject) \
  1193. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1194. #define IHNetFirewalledConnection_AddRef(This) \
  1195. (This)->lpVtbl -> AddRef(This)
  1196. #define IHNetFirewalledConnection_Release(This) \
  1197. (This)->lpVtbl -> Release(This)
  1198. #define IHNetFirewalledConnection_Unfirewall(This) \
  1199. (This)->lpVtbl -> Unfirewall(This)
  1200. #endif /* COBJMACROS */
  1201. #endif /* C style interface */
  1202. HRESULT STDMETHODCALLTYPE IHNetFirewalledConnection_Unfirewall_Proxy(
  1203. IHNetFirewalledConnection * This);
  1204. void __RPC_STUB IHNetFirewalledConnection_Unfirewall_Stub(
  1205. IRpcStubBuffer *This,
  1206. IRpcChannelBuffer *_pRpcChannelBuffer,
  1207. PRPC_MESSAGE _pRpcMessage,
  1208. DWORD *_pdwStubPhase);
  1209. #endif /* __IHNetFirewalledConnection_INTERFACE_DEFINED__ */
  1210. #ifndef __IHNetIcsPublicConnection_INTERFACE_DEFINED__
  1211. #define __IHNetIcsPublicConnection_INTERFACE_DEFINED__
  1212. /* interface IHNetIcsPublicConnection */
  1213. /* [unique][uuid][object][local] */
  1214. EXTERN_C const IID IID_IHNetIcsPublicConnection;
  1215. #if defined(__cplusplus) && !defined(CINTERFACE)
  1216. MIDL_INTERFACE("85D18B73-3032-11D4-9348-00C04F8EEB71")
  1217. IHNetIcsPublicConnection : public IUnknown
  1218. {
  1219. public:
  1220. virtual HRESULT STDMETHODCALLTYPE Unshare( void) = 0;
  1221. };
  1222. #else /* C style interface */
  1223. typedef struct IHNetIcsPublicConnectionVtbl
  1224. {
  1225. BEGIN_INTERFACE
  1226. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1227. IHNetIcsPublicConnection * This,
  1228. /* [in] */ REFIID riid,
  1229. /* [iid_is][out] */ void **ppvObject);
  1230. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1231. IHNetIcsPublicConnection * This);
  1232. ULONG ( STDMETHODCALLTYPE *Release )(
  1233. IHNetIcsPublicConnection * This);
  1234. HRESULT ( STDMETHODCALLTYPE *Unshare )(
  1235. IHNetIcsPublicConnection * This);
  1236. END_INTERFACE
  1237. } IHNetIcsPublicConnectionVtbl;
  1238. interface IHNetIcsPublicConnection
  1239. {
  1240. CONST_VTBL struct IHNetIcsPublicConnectionVtbl *lpVtbl;
  1241. };
  1242. #ifdef COBJMACROS
  1243. #define IHNetIcsPublicConnection_QueryInterface(This,riid,ppvObject) \
  1244. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1245. #define IHNetIcsPublicConnection_AddRef(This) \
  1246. (This)->lpVtbl -> AddRef(This)
  1247. #define IHNetIcsPublicConnection_Release(This) \
  1248. (This)->lpVtbl -> Release(This)
  1249. #define IHNetIcsPublicConnection_Unshare(This) \
  1250. (This)->lpVtbl -> Unshare(This)
  1251. #endif /* COBJMACROS */
  1252. #endif /* C style interface */
  1253. HRESULT STDMETHODCALLTYPE IHNetIcsPublicConnection_Unshare_Proxy(
  1254. IHNetIcsPublicConnection * This);
  1255. void __RPC_STUB IHNetIcsPublicConnection_Unshare_Stub(
  1256. IRpcStubBuffer *This,
  1257. IRpcChannelBuffer *_pRpcChannelBuffer,
  1258. PRPC_MESSAGE _pRpcMessage,
  1259. DWORD *_pdwStubPhase);
  1260. #endif /* __IHNetIcsPublicConnection_INTERFACE_DEFINED__ */
  1261. #ifndef __IHNetIcsPrivateConnection_INTERFACE_DEFINED__
  1262. #define __IHNetIcsPrivateConnection_INTERFACE_DEFINED__
  1263. /* interface IHNetIcsPrivateConnection */
  1264. /* [unique][uuid][object][local] */
  1265. EXTERN_C const IID IID_IHNetIcsPrivateConnection;
  1266. #if defined(__cplusplus) && !defined(CINTERFACE)
  1267. MIDL_INTERFACE("85D18B74-3032-11D4-9348-00C04F8EEB71")
  1268. IHNetIcsPrivateConnection : public IUnknown
  1269. {
  1270. public:
  1271. virtual HRESULT STDMETHODCALLTYPE RemoveFromIcs( void) = 0;
  1272. };
  1273. #else /* C style interface */
  1274. typedef struct IHNetIcsPrivateConnectionVtbl
  1275. {
  1276. BEGIN_INTERFACE
  1277. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1278. IHNetIcsPrivateConnection * This,
  1279. /* [in] */ REFIID riid,
  1280. /* [iid_is][out] */ void **ppvObject);
  1281. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1282. IHNetIcsPrivateConnection * This);
  1283. ULONG ( STDMETHODCALLTYPE *Release )(
  1284. IHNetIcsPrivateConnection * This);
  1285. HRESULT ( STDMETHODCALLTYPE *RemoveFromIcs )(
  1286. IHNetIcsPrivateConnection * This);
  1287. END_INTERFACE
  1288. } IHNetIcsPrivateConnectionVtbl;
  1289. interface IHNetIcsPrivateConnection
  1290. {
  1291. CONST_VTBL struct IHNetIcsPrivateConnectionVtbl *lpVtbl;
  1292. };
  1293. #ifdef COBJMACROS
  1294. #define IHNetIcsPrivateConnection_QueryInterface(This,riid,ppvObject) \
  1295. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1296. #define IHNetIcsPrivateConnection_AddRef(This) \
  1297. (This)->lpVtbl -> AddRef(This)
  1298. #define IHNetIcsPrivateConnection_Release(This) \
  1299. (This)->lpVtbl -> Release(This)
  1300. #define IHNetIcsPrivateConnection_RemoveFromIcs(This) \
  1301. (This)->lpVtbl -> RemoveFromIcs(This)
  1302. #endif /* COBJMACROS */
  1303. #endif /* C style interface */
  1304. HRESULT STDMETHODCALLTYPE IHNetIcsPrivateConnection_RemoveFromIcs_Proxy(
  1305. IHNetIcsPrivateConnection * This);
  1306. void __RPC_STUB IHNetIcsPrivateConnection_RemoveFromIcs_Stub(
  1307. IRpcStubBuffer *This,
  1308. IRpcChannelBuffer *_pRpcChannelBuffer,
  1309. PRPC_MESSAGE _pRpcMessage,
  1310. DWORD *_pdwStubPhase);
  1311. #endif /* __IHNetIcsPrivateConnection_INTERFACE_DEFINED__ */
  1312. #ifndef __IHNetBridge_INTERFACE_DEFINED__
  1313. #define __IHNetBridge_INTERFACE_DEFINED__
  1314. /* interface IHNetBridge */
  1315. /* [unique][uuid][object][local] */
  1316. EXTERN_C const IID IID_IHNetBridge;
  1317. #if defined(__cplusplus) && !defined(CINTERFACE)
  1318. MIDL_INTERFACE("85D18B75-3032-11D4-9348-00C04F8EEB71")
  1319. IHNetBridge : public IUnknown
  1320. {
  1321. public:
  1322. virtual HRESULT STDMETHODCALLTYPE EnumMembers(
  1323. /* [out] */ IEnumHNetBridgedConnections **ppEnum) = 0;
  1324. virtual HRESULT STDMETHODCALLTYPE AddMember(
  1325. /* [in] */ IHNetConnection *pConn,
  1326. /* [out] */ IHNetBridgedConnection **ppBridgedConn,
  1327. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting = 0) = 0;
  1328. virtual HRESULT STDMETHODCALLTYPE Destroy(
  1329. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting = 0) = 0;
  1330. };
  1331. #else /* C style interface */
  1332. typedef struct IHNetBridgeVtbl
  1333. {
  1334. BEGIN_INTERFACE
  1335. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1336. IHNetBridge * This,
  1337. /* [in] */ REFIID riid,
  1338. /* [iid_is][out] */ void **ppvObject);
  1339. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1340. IHNetBridge * This);
  1341. ULONG ( STDMETHODCALLTYPE *Release )(
  1342. IHNetBridge * This);
  1343. HRESULT ( STDMETHODCALLTYPE *EnumMembers )(
  1344. IHNetBridge * This,
  1345. /* [out] */ IEnumHNetBridgedConnections **ppEnum);
  1346. HRESULT ( STDMETHODCALLTYPE *AddMember )(
  1347. IHNetBridge * This,
  1348. /* [in] */ IHNetConnection *pConn,
  1349. /* [out] */ IHNetBridgedConnection **ppBridgedConn,
  1350. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting);
  1351. HRESULT ( STDMETHODCALLTYPE *Destroy )(
  1352. IHNetBridge * This,
  1353. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting);
  1354. END_INTERFACE
  1355. } IHNetBridgeVtbl;
  1356. interface IHNetBridge
  1357. {
  1358. CONST_VTBL struct IHNetBridgeVtbl *lpVtbl;
  1359. };
  1360. #ifdef COBJMACROS
  1361. #define IHNetBridge_QueryInterface(This,riid,ppvObject) \
  1362. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1363. #define IHNetBridge_AddRef(This) \
  1364. (This)->lpVtbl -> AddRef(This)
  1365. #define IHNetBridge_Release(This) \
  1366. (This)->lpVtbl -> Release(This)
  1367. #define IHNetBridge_EnumMembers(This,ppEnum) \
  1368. (This)->lpVtbl -> EnumMembers(This,ppEnum)
  1369. #define IHNetBridge_AddMember(This,pConn,ppBridgedConn,pnetcfgExisting) \
  1370. (This)->lpVtbl -> AddMember(This,pConn,ppBridgedConn,pnetcfgExisting)
  1371. #define IHNetBridge_Destroy(This,pnetcfgExisting) \
  1372. (This)->lpVtbl -> Destroy(This,pnetcfgExisting)
  1373. #endif /* COBJMACROS */
  1374. #endif /* C style interface */
  1375. HRESULT STDMETHODCALLTYPE IHNetBridge_EnumMembers_Proxy(
  1376. IHNetBridge * This,
  1377. /* [out] */ IEnumHNetBridgedConnections **ppEnum);
  1378. void __RPC_STUB IHNetBridge_EnumMembers_Stub(
  1379. IRpcStubBuffer *This,
  1380. IRpcChannelBuffer *_pRpcChannelBuffer,
  1381. PRPC_MESSAGE _pRpcMessage,
  1382. DWORD *_pdwStubPhase);
  1383. HRESULT STDMETHODCALLTYPE IHNetBridge_AddMember_Proxy(
  1384. IHNetBridge * This,
  1385. /* [in] */ IHNetConnection *pConn,
  1386. /* [out] */ IHNetBridgedConnection **ppBridgedConn,
  1387. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting);
  1388. void __RPC_STUB IHNetBridge_AddMember_Stub(
  1389. IRpcStubBuffer *This,
  1390. IRpcChannelBuffer *_pRpcChannelBuffer,
  1391. PRPC_MESSAGE _pRpcMessage,
  1392. DWORD *_pdwStubPhase);
  1393. HRESULT STDMETHODCALLTYPE IHNetBridge_Destroy_Proxy(
  1394. IHNetBridge * This,
  1395. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting);
  1396. void __RPC_STUB IHNetBridge_Destroy_Stub(
  1397. IRpcStubBuffer *This,
  1398. IRpcChannelBuffer *_pRpcChannelBuffer,
  1399. PRPC_MESSAGE _pRpcMessage,
  1400. DWORD *_pdwStubPhase);
  1401. #endif /* __IHNetBridge_INTERFACE_DEFINED__ */
  1402. #ifndef __IHNetBridgedConnection_INTERFACE_DEFINED__
  1403. #define __IHNetBridgedConnection_INTERFACE_DEFINED__
  1404. /* interface IHNetBridgedConnection */
  1405. /* [unique][uuid][object][local] */
  1406. EXTERN_C const IID IID_IHNetBridgedConnection;
  1407. #if defined(__cplusplus) && !defined(CINTERFACE)
  1408. MIDL_INTERFACE("85D18B76-3032-11D4-9348-00C04F8EEB71")
  1409. IHNetBridgedConnection : public IUnknown
  1410. {
  1411. public:
  1412. virtual HRESULT STDMETHODCALLTYPE GetBridge(
  1413. /* [out] */ IHNetBridge **ppBridge) = 0;
  1414. virtual HRESULT STDMETHODCALLTYPE RemoveFromBridge(
  1415. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting = 0) = 0;
  1416. };
  1417. #else /* C style interface */
  1418. typedef struct IHNetBridgedConnectionVtbl
  1419. {
  1420. BEGIN_INTERFACE
  1421. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1422. IHNetBridgedConnection * This,
  1423. /* [in] */ REFIID riid,
  1424. /* [iid_is][out] */ void **ppvObject);
  1425. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1426. IHNetBridgedConnection * This);
  1427. ULONG ( STDMETHODCALLTYPE *Release )(
  1428. IHNetBridgedConnection * This);
  1429. HRESULT ( STDMETHODCALLTYPE *GetBridge )(
  1430. IHNetBridgedConnection * This,
  1431. /* [out] */ IHNetBridge **ppBridge);
  1432. HRESULT ( STDMETHODCALLTYPE *RemoveFromBridge )(
  1433. IHNetBridgedConnection * This,
  1434. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting);
  1435. END_INTERFACE
  1436. } IHNetBridgedConnectionVtbl;
  1437. interface IHNetBridgedConnection
  1438. {
  1439. CONST_VTBL struct IHNetBridgedConnectionVtbl *lpVtbl;
  1440. };
  1441. #ifdef COBJMACROS
  1442. #define IHNetBridgedConnection_QueryInterface(This,riid,ppvObject) \
  1443. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1444. #define IHNetBridgedConnection_AddRef(This) \
  1445. (This)->lpVtbl -> AddRef(This)
  1446. #define IHNetBridgedConnection_Release(This) \
  1447. (This)->lpVtbl -> Release(This)
  1448. #define IHNetBridgedConnection_GetBridge(This,ppBridge) \
  1449. (This)->lpVtbl -> GetBridge(This,ppBridge)
  1450. #define IHNetBridgedConnection_RemoveFromBridge(This,pnetcfgExisting) \
  1451. (This)->lpVtbl -> RemoveFromBridge(This,pnetcfgExisting)
  1452. #endif /* COBJMACROS */
  1453. #endif /* C style interface */
  1454. HRESULT STDMETHODCALLTYPE IHNetBridgedConnection_GetBridge_Proxy(
  1455. IHNetBridgedConnection * This,
  1456. /* [out] */ IHNetBridge **ppBridge);
  1457. void __RPC_STUB IHNetBridgedConnection_GetBridge_Stub(
  1458. IRpcStubBuffer *This,
  1459. IRpcChannelBuffer *_pRpcChannelBuffer,
  1460. PRPC_MESSAGE _pRpcMessage,
  1461. DWORD *_pdwStubPhase);
  1462. HRESULT STDMETHODCALLTYPE IHNetBridgedConnection_RemoveFromBridge_Proxy(
  1463. IHNetBridgedConnection * This,
  1464. /* [defaultvalue][in] */ INetCfg *pnetcfgExisting);
  1465. void __RPC_STUB IHNetBridgedConnection_RemoveFromBridge_Stub(
  1466. IRpcStubBuffer *This,
  1467. IRpcChannelBuffer *_pRpcChannelBuffer,
  1468. PRPC_MESSAGE _pRpcMessage,
  1469. DWORD *_pdwStubPhase);
  1470. #endif /* __IHNetBridgedConnection_INTERFACE_DEFINED__ */
  1471. #ifndef __IHNetPortMappingProtocol_INTERFACE_DEFINED__
  1472. #define __IHNetPortMappingProtocol_INTERFACE_DEFINED__
  1473. /* interface IHNetPortMappingProtocol */
  1474. /* [unique][uuid][object][local] */
  1475. EXTERN_C const IID IID_IHNetPortMappingProtocol;
  1476. #if defined(__cplusplus) && !defined(CINTERFACE)
  1477. MIDL_INTERFACE("85D18B7E-3032-11D4-9348-00C04F8EEB71")
  1478. IHNetPortMappingProtocol : public IUnknown
  1479. {
  1480. public:
  1481. virtual HRESULT STDMETHODCALLTYPE GetName(
  1482. /* [string][out] */ OLECHAR **ppszwName) = 0;
  1483. virtual HRESULT STDMETHODCALLTYPE SetName(
  1484. /* [string][in] */ OLECHAR *pszwName) = 0;
  1485. virtual HRESULT STDMETHODCALLTYPE GetIPProtocol(
  1486. /* [out] */ UCHAR *pucProtocol) = 0;
  1487. virtual HRESULT STDMETHODCALLTYPE SetIPProtocol(
  1488. /* [in] */ UCHAR ucProtocol) = 0;
  1489. virtual HRESULT STDMETHODCALLTYPE GetPort(
  1490. /* [out] */ USHORT *pusPort) = 0;
  1491. virtual HRESULT STDMETHODCALLTYPE SetPort(
  1492. /* [in] */ USHORT usPort) = 0;
  1493. virtual HRESULT STDMETHODCALLTYPE GetBuiltIn(
  1494. /* [out] */ BOOLEAN *pfBuiltIn) = 0;
  1495. virtual HRESULT STDMETHODCALLTYPE Delete( void) = 0;
  1496. virtual HRESULT STDMETHODCALLTYPE GetGuid(
  1497. /* [out] */ GUID **ppGuid) = 0;
  1498. };
  1499. #else /* C style interface */
  1500. typedef struct IHNetPortMappingProtocolVtbl
  1501. {
  1502. BEGIN_INTERFACE
  1503. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1504. IHNetPortMappingProtocol * This,
  1505. /* [in] */ REFIID riid,
  1506. /* [iid_is][out] */ void **ppvObject);
  1507. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1508. IHNetPortMappingProtocol * This);
  1509. ULONG ( STDMETHODCALLTYPE *Release )(
  1510. IHNetPortMappingProtocol * This);
  1511. HRESULT ( STDMETHODCALLTYPE *GetName )(
  1512. IHNetPortMappingProtocol * This,
  1513. /* [string][out] */ OLECHAR **ppszwName);
  1514. HRESULT ( STDMETHODCALLTYPE *SetName )(
  1515. IHNetPortMappingProtocol * This,
  1516. /* [string][in] */ OLECHAR *pszwName);
  1517. HRESULT ( STDMETHODCALLTYPE *GetIPProtocol )(
  1518. IHNetPortMappingProtocol * This,
  1519. /* [out] */ UCHAR *pucProtocol);
  1520. HRESULT ( STDMETHODCALLTYPE *SetIPProtocol )(
  1521. IHNetPortMappingProtocol * This,
  1522. /* [in] */ UCHAR ucProtocol);
  1523. HRESULT ( STDMETHODCALLTYPE *GetPort )(
  1524. IHNetPortMappingProtocol * This,
  1525. /* [out] */ USHORT *pusPort);
  1526. HRESULT ( STDMETHODCALLTYPE *SetPort )(
  1527. IHNetPortMappingProtocol * This,
  1528. /* [in] */ USHORT usPort);
  1529. HRESULT ( STDMETHODCALLTYPE *GetBuiltIn )(
  1530. IHNetPortMappingProtocol * This,
  1531. /* [out] */ BOOLEAN *pfBuiltIn);
  1532. HRESULT ( STDMETHODCALLTYPE *Delete )(
  1533. IHNetPortMappingProtocol * This);
  1534. HRESULT ( STDMETHODCALLTYPE *GetGuid )(
  1535. IHNetPortMappingProtocol * This,
  1536. /* [out] */ GUID **ppGuid);
  1537. END_INTERFACE
  1538. } IHNetPortMappingProtocolVtbl;
  1539. interface IHNetPortMappingProtocol
  1540. {
  1541. CONST_VTBL struct IHNetPortMappingProtocolVtbl *lpVtbl;
  1542. };
  1543. #ifdef COBJMACROS
  1544. #define IHNetPortMappingProtocol_QueryInterface(This,riid,ppvObject) \
  1545. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1546. #define IHNetPortMappingProtocol_AddRef(This) \
  1547. (This)->lpVtbl -> AddRef(This)
  1548. #define IHNetPortMappingProtocol_Release(This) \
  1549. (This)->lpVtbl -> Release(This)
  1550. #define IHNetPortMappingProtocol_GetName(This,ppszwName) \
  1551. (This)->lpVtbl -> GetName(This,ppszwName)
  1552. #define IHNetPortMappingProtocol_SetName(This,pszwName) \
  1553. (This)->lpVtbl -> SetName(This,pszwName)
  1554. #define IHNetPortMappingProtocol_GetIPProtocol(This,pucProtocol) \
  1555. (This)->lpVtbl -> GetIPProtocol(This,pucProtocol)
  1556. #define IHNetPortMappingProtocol_SetIPProtocol(This,ucProtocol) \
  1557. (This)->lpVtbl -> SetIPProtocol(This,ucProtocol)
  1558. #define IHNetPortMappingProtocol_GetPort(This,pusPort) \
  1559. (This)->lpVtbl -> GetPort(This,pusPort)
  1560. #define IHNetPortMappingProtocol_SetPort(This,usPort) \
  1561. (This)->lpVtbl -> SetPort(This,usPort)
  1562. #define IHNetPortMappingProtocol_GetBuiltIn(This,pfBuiltIn) \
  1563. (This)->lpVtbl -> GetBuiltIn(This,pfBuiltIn)
  1564. #define IHNetPortMappingProtocol_Delete(This) \
  1565. (This)->lpVtbl -> Delete(This)
  1566. #define IHNetPortMappingProtocol_GetGuid(This,ppGuid) \
  1567. (This)->lpVtbl -> GetGuid(This,ppGuid)
  1568. #endif /* COBJMACROS */
  1569. #endif /* C style interface */
  1570. HRESULT STDMETHODCALLTYPE IHNetPortMappingProtocol_GetName_Proxy(
  1571. IHNetPortMappingProtocol * This,
  1572. /* [string][out] */ OLECHAR **ppszwName);
  1573. void __RPC_STUB IHNetPortMappingProtocol_GetName_Stub(
  1574. IRpcStubBuffer *This,
  1575. IRpcChannelBuffer *_pRpcChannelBuffer,
  1576. PRPC_MESSAGE _pRpcMessage,
  1577. DWORD *_pdwStubPhase);
  1578. HRESULT STDMETHODCALLTYPE IHNetPortMappingProtocol_SetName_Proxy(
  1579. IHNetPortMappingProtocol * This,
  1580. /* [string][in] */ OLECHAR *pszwName);
  1581. void __RPC_STUB IHNetPortMappingProtocol_SetName_Stub(
  1582. IRpcStubBuffer *This,
  1583. IRpcChannelBuffer *_pRpcChannelBuffer,
  1584. PRPC_MESSAGE _pRpcMessage,
  1585. DWORD *_pdwStubPhase);
  1586. HRESULT STDMETHODCALLTYPE IHNetPortMappingProtocol_GetIPProtocol_Proxy(
  1587. IHNetPortMappingProtocol * This,
  1588. /* [out] */ UCHAR *pucProtocol);
  1589. void __RPC_STUB IHNetPortMappingProtocol_GetIPProtocol_Stub(
  1590. IRpcStubBuffer *This,
  1591. IRpcChannelBuffer *_pRpcChannelBuffer,
  1592. PRPC_MESSAGE _pRpcMessage,
  1593. DWORD *_pdwStubPhase);
  1594. HRESULT STDMETHODCALLTYPE IHNetPortMappingProtocol_SetIPProtocol_Proxy(
  1595. IHNetPortMappingProtocol * This,
  1596. /* [in] */ UCHAR ucProtocol);
  1597. void __RPC_STUB IHNetPortMappingProtocol_SetIPProtocol_Stub(
  1598. IRpcStubBuffer *This,
  1599. IRpcChannelBuffer *_pRpcChannelBuffer,
  1600. PRPC_MESSAGE _pRpcMessage,
  1601. DWORD *_pdwStubPhase);
  1602. HRESULT STDMETHODCALLTYPE IHNetPortMappingProtocol_GetPort_Proxy(
  1603. IHNetPortMappingProtocol * This,
  1604. /* [out] */ USHORT *pusPort);
  1605. void __RPC_STUB IHNetPortMappingProtocol_GetPort_Stub(
  1606. IRpcStubBuffer *This,
  1607. IRpcChannelBuffer *_pRpcChannelBuffer,
  1608. PRPC_MESSAGE _pRpcMessage,
  1609. DWORD *_pdwStubPhase);
  1610. HRESULT STDMETHODCALLTYPE IHNetPortMappingProtocol_SetPort_Proxy(
  1611. IHNetPortMappingProtocol * This,
  1612. /* [in] */ USHORT usPort);
  1613. void __RPC_STUB IHNetPortMappingProtocol_SetPort_Stub(
  1614. IRpcStubBuffer *This,
  1615. IRpcChannelBuffer *_pRpcChannelBuffer,
  1616. PRPC_MESSAGE _pRpcMessage,
  1617. DWORD *_pdwStubPhase);
  1618. HRESULT STDMETHODCALLTYPE IHNetPortMappingProtocol_GetBuiltIn_Proxy(
  1619. IHNetPortMappingProtocol * This,
  1620. /* [out] */ BOOLEAN *pfBuiltIn);
  1621. void __RPC_STUB IHNetPortMappingProtocol_GetBuiltIn_Stub(
  1622. IRpcStubBuffer *This,
  1623. IRpcChannelBuffer *_pRpcChannelBuffer,
  1624. PRPC_MESSAGE _pRpcMessage,
  1625. DWORD *_pdwStubPhase);
  1626. HRESULT STDMETHODCALLTYPE IHNetPortMappingProtocol_Delete_Proxy(
  1627. IHNetPortMappingProtocol * This);
  1628. void __RPC_STUB IHNetPortMappingProtocol_Delete_Stub(
  1629. IRpcStubBuffer *This,
  1630. IRpcChannelBuffer *_pRpcChannelBuffer,
  1631. PRPC_MESSAGE _pRpcMessage,
  1632. DWORD *_pdwStubPhase);
  1633. HRESULT STDMETHODCALLTYPE IHNetPortMappingProtocol_GetGuid_Proxy(
  1634. IHNetPortMappingProtocol * This,
  1635. /* [out] */ GUID **ppGuid);
  1636. void __RPC_STUB IHNetPortMappingProtocol_GetGuid_Stub(
  1637. IRpcStubBuffer *This,
  1638. IRpcChannelBuffer *_pRpcChannelBuffer,
  1639. PRPC_MESSAGE _pRpcMessage,
  1640. DWORD *_pdwStubPhase);
  1641. #endif /* __IHNetPortMappingProtocol_INTERFACE_DEFINED__ */
  1642. #ifndef __IHNetPortMappingBinding_INTERFACE_DEFINED__
  1643. #define __IHNetPortMappingBinding_INTERFACE_DEFINED__
  1644. /* interface IHNetPortMappingBinding */
  1645. /* [unique][uuid][object][local] */
  1646. EXTERN_C const IID IID_IHNetPortMappingBinding;
  1647. #if defined(__cplusplus) && !defined(CINTERFACE)
  1648. MIDL_INTERFACE("85D18B80-3032-11D4-9348-00C04F8EEB71")
  1649. IHNetPortMappingBinding : public IUnknown
  1650. {
  1651. public:
  1652. virtual HRESULT STDMETHODCALLTYPE GetConnection(
  1653. /* [out] */ IHNetConnection **ppConnection) = 0;
  1654. virtual HRESULT STDMETHODCALLTYPE GetProtocol(
  1655. /* [out] */ IHNetPortMappingProtocol **ppProtocol) = 0;
  1656. virtual HRESULT STDMETHODCALLTYPE GetEnabled(
  1657. /* [out] */ BOOLEAN *pfEnabled) = 0;
  1658. virtual HRESULT STDMETHODCALLTYPE SetEnabled(
  1659. /* [in] */ BOOLEAN fEnable) = 0;
  1660. virtual HRESULT STDMETHODCALLTYPE GetCurrentMethod(
  1661. /* [out] */ BOOLEAN *pfUseName) = 0;
  1662. virtual HRESULT STDMETHODCALLTYPE GetTargetComputerName(
  1663. /* [string][out] */ OLECHAR **ppszwName) = 0;
  1664. virtual HRESULT STDMETHODCALLTYPE SetTargetComputerName(
  1665. /* [string][in] */ OLECHAR *pszwName) = 0;
  1666. virtual HRESULT STDMETHODCALLTYPE GetTargetComputerAddress(
  1667. /* [out] */ ULONG *pulAddress) = 0;
  1668. virtual HRESULT STDMETHODCALLTYPE SetTargetComputerAddress(
  1669. /* [in] */ ULONG ulAddress) = 0;
  1670. virtual HRESULT STDMETHODCALLTYPE GetTargetPort(
  1671. /* [out] */ USHORT *pusPort) = 0;
  1672. virtual HRESULT STDMETHODCALLTYPE SetTargetPort(
  1673. /* [in] */ USHORT usPort) = 0;
  1674. };
  1675. #else /* C style interface */
  1676. typedef struct IHNetPortMappingBindingVtbl
  1677. {
  1678. BEGIN_INTERFACE
  1679. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1680. IHNetPortMappingBinding * This,
  1681. /* [in] */ REFIID riid,
  1682. /* [iid_is][out] */ void **ppvObject);
  1683. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1684. IHNetPortMappingBinding * This);
  1685. ULONG ( STDMETHODCALLTYPE *Release )(
  1686. IHNetPortMappingBinding * This);
  1687. HRESULT ( STDMETHODCALLTYPE *GetConnection )(
  1688. IHNetPortMappingBinding * This,
  1689. /* [out] */ IHNetConnection **ppConnection);
  1690. HRESULT ( STDMETHODCALLTYPE *GetProtocol )(
  1691. IHNetPortMappingBinding * This,
  1692. /* [out] */ IHNetPortMappingProtocol **ppProtocol);
  1693. HRESULT ( STDMETHODCALLTYPE *GetEnabled )(
  1694. IHNetPortMappingBinding * This,
  1695. /* [out] */ BOOLEAN *pfEnabled);
  1696. HRESULT ( STDMETHODCALLTYPE *SetEnabled )(
  1697. IHNetPortMappingBinding * This,
  1698. /* [in] */ BOOLEAN fEnable);
  1699. HRESULT ( STDMETHODCALLTYPE *GetCurrentMethod )(
  1700. IHNetPortMappingBinding * This,
  1701. /* [out] */ BOOLEAN *pfUseName);
  1702. HRESULT ( STDMETHODCALLTYPE *GetTargetComputerName )(
  1703. IHNetPortMappingBinding * This,
  1704. /* [string][out] */ OLECHAR **ppszwName);
  1705. HRESULT ( STDMETHODCALLTYPE *SetTargetComputerName )(
  1706. IHNetPortMappingBinding * This,
  1707. /* [string][in] */ OLECHAR *pszwName);
  1708. HRESULT ( STDMETHODCALLTYPE *GetTargetComputerAddress )(
  1709. IHNetPortMappingBinding * This,
  1710. /* [out] */ ULONG *pulAddress);
  1711. HRESULT ( STDMETHODCALLTYPE *SetTargetComputerAddress )(
  1712. IHNetPortMappingBinding * This,
  1713. /* [in] */ ULONG ulAddress);
  1714. HRESULT ( STDMETHODCALLTYPE *GetTargetPort )(
  1715. IHNetPortMappingBinding * This,
  1716. /* [out] */ USHORT *pusPort);
  1717. HRESULT ( STDMETHODCALLTYPE *SetTargetPort )(
  1718. IHNetPortMappingBinding * This,
  1719. /* [in] */ USHORT usPort);
  1720. END_INTERFACE
  1721. } IHNetPortMappingBindingVtbl;
  1722. interface IHNetPortMappingBinding
  1723. {
  1724. CONST_VTBL struct IHNetPortMappingBindingVtbl *lpVtbl;
  1725. };
  1726. #ifdef COBJMACROS
  1727. #define IHNetPortMappingBinding_QueryInterface(This,riid,ppvObject) \
  1728. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1729. #define IHNetPortMappingBinding_AddRef(This) \
  1730. (This)->lpVtbl -> AddRef(This)
  1731. #define IHNetPortMappingBinding_Release(This) \
  1732. (This)->lpVtbl -> Release(This)
  1733. #define IHNetPortMappingBinding_GetConnection(This,ppConnection) \
  1734. (This)->lpVtbl -> GetConnection(This,ppConnection)
  1735. #define IHNetPortMappingBinding_GetProtocol(This,ppProtocol) \
  1736. (This)->lpVtbl -> GetProtocol(This,ppProtocol)
  1737. #define IHNetPortMappingBinding_GetEnabled(This,pfEnabled) \
  1738. (This)->lpVtbl -> GetEnabled(This,pfEnabled)
  1739. #define IHNetPortMappingBinding_SetEnabled(This,fEnable) \
  1740. (This)->lpVtbl -> SetEnabled(This,fEnable)
  1741. #define IHNetPortMappingBinding_GetCurrentMethod(This,pfUseName) \
  1742. (This)->lpVtbl -> GetCurrentMethod(This,pfUseName)
  1743. #define IHNetPortMappingBinding_GetTargetComputerName(This,ppszwName) \
  1744. (This)->lpVtbl -> GetTargetComputerName(This,ppszwName)
  1745. #define IHNetPortMappingBinding_SetTargetComputerName(This,pszwName) \
  1746. (This)->lpVtbl -> SetTargetComputerName(This,pszwName)
  1747. #define IHNetPortMappingBinding_GetTargetComputerAddress(This,pulAddress) \
  1748. (This)->lpVtbl -> GetTargetComputerAddress(This,pulAddress)
  1749. #define IHNetPortMappingBinding_SetTargetComputerAddress(This,ulAddress) \
  1750. (This)->lpVtbl -> SetTargetComputerAddress(This,ulAddress)
  1751. #define IHNetPortMappingBinding_GetTargetPort(This,pusPort) \
  1752. (This)->lpVtbl -> GetTargetPort(This,pusPort)
  1753. #define IHNetPortMappingBinding_SetTargetPort(This,usPort) \
  1754. (This)->lpVtbl -> SetTargetPort(This,usPort)
  1755. #endif /* COBJMACROS */
  1756. #endif /* C style interface */
  1757. HRESULT STDMETHODCALLTYPE IHNetPortMappingBinding_GetConnection_Proxy(
  1758. IHNetPortMappingBinding * This,
  1759. /* [out] */ IHNetConnection **ppConnection);
  1760. void __RPC_STUB IHNetPortMappingBinding_GetConnection_Stub(
  1761. IRpcStubBuffer *This,
  1762. IRpcChannelBuffer *_pRpcChannelBuffer,
  1763. PRPC_MESSAGE _pRpcMessage,
  1764. DWORD *_pdwStubPhase);
  1765. HRESULT STDMETHODCALLTYPE IHNetPortMappingBinding_GetProtocol_Proxy(
  1766. IHNetPortMappingBinding * This,
  1767. /* [out] */ IHNetPortMappingProtocol **ppProtocol);
  1768. void __RPC_STUB IHNetPortMappingBinding_GetProtocol_Stub(
  1769. IRpcStubBuffer *This,
  1770. IRpcChannelBuffer *_pRpcChannelBuffer,
  1771. PRPC_MESSAGE _pRpcMessage,
  1772. DWORD *_pdwStubPhase);
  1773. HRESULT STDMETHODCALLTYPE IHNetPortMappingBinding_GetEnabled_Proxy(
  1774. IHNetPortMappingBinding * This,
  1775. /* [out] */ BOOLEAN *pfEnabled);
  1776. void __RPC_STUB IHNetPortMappingBinding_GetEnabled_Stub(
  1777. IRpcStubBuffer *This,
  1778. IRpcChannelBuffer *_pRpcChannelBuffer,
  1779. PRPC_MESSAGE _pRpcMessage,
  1780. DWORD *_pdwStubPhase);
  1781. HRESULT STDMETHODCALLTYPE IHNetPortMappingBinding_SetEnabled_Proxy(
  1782. IHNetPortMappingBinding * This,
  1783. /* [in] */ BOOLEAN fEnable);
  1784. void __RPC_STUB IHNetPortMappingBinding_SetEnabled_Stub(
  1785. IRpcStubBuffer *This,
  1786. IRpcChannelBuffer *_pRpcChannelBuffer,
  1787. PRPC_MESSAGE _pRpcMessage,
  1788. DWORD *_pdwStubPhase);
  1789. HRESULT STDMETHODCALLTYPE IHNetPortMappingBinding_GetCurrentMethod_Proxy(
  1790. IHNetPortMappingBinding * This,
  1791. /* [out] */ BOOLEAN *pfUseName);
  1792. void __RPC_STUB IHNetPortMappingBinding_GetCurrentMethod_Stub(
  1793. IRpcStubBuffer *This,
  1794. IRpcChannelBuffer *_pRpcChannelBuffer,
  1795. PRPC_MESSAGE _pRpcMessage,
  1796. DWORD *_pdwStubPhase);
  1797. HRESULT STDMETHODCALLTYPE IHNetPortMappingBinding_GetTargetComputerName_Proxy(
  1798. IHNetPortMappingBinding * This,
  1799. /* [string][out] */ OLECHAR **ppszwName);
  1800. void __RPC_STUB IHNetPortMappingBinding_GetTargetComputerName_Stub(
  1801. IRpcStubBuffer *This,
  1802. IRpcChannelBuffer *_pRpcChannelBuffer,
  1803. PRPC_MESSAGE _pRpcMessage,
  1804. DWORD *_pdwStubPhase);
  1805. HRESULT STDMETHODCALLTYPE IHNetPortMappingBinding_SetTargetComputerName_Proxy(
  1806. IHNetPortMappingBinding * This,
  1807. /* [string][in] */ OLECHAR *pszwName);
  1808. void __RPC_STUB IHNetPortMappingBinding_SetTargetComputerName_Stub(
  1809. IRpcStubBuffer *This,
  1810. IRpcChannelBuffer *_pRpcChannelBuffer,
  1811. PRPC_MESSAGE _pRpcMessage,
  1812. DWORD *_pdwStubPhase);
  1813. HRESULT STDMETHODCALLTYPE IHNetPortMappingBinding_GetTargetComputerAddress_Proxy(
  1814. IHNetPortMappingBinding * This,
  1815. /* [out] */ ULONG *pulAddress);
  1816. void __RPC_STUB IHNetPortMappingBinding_GetTargetComputerAddress_Stub(
  1817. IRpcStubBuffer *This,
  1818. IRpcChannelBuffer *_pRpcChannelBuffer,
  1819. PRPC_MESSAGE _pRpcMessage,
  1820. DWORD *_pdwStubPhase);
  1821. HRESULT STDMETHODCALLTYPE IHNetPortMappingBinding_SetTargetComputerAddress_Proxy(
  1822. IHNetPortMappingBinding * This,
  1823. /* [in] */ ULONG ulAddress);
  1824. void __RPC_STUB IHNetPortMappingBinding_SetTargetComputerAddress_Stub(
  1825. IRpcStubBuffer *This,
  1826. IRpcChannelBuffer *_pRpcChannelBuffer,
  1827. PRPC_MESSAGE _pRpcMessage,
  1828. DWORD *_pdwStubPhase);
  1829. HRESULT STDMETHODCALLTYPE IHNetPortMappingBinding_GetTargetPort_Proxy(
  1830. IHNetPortMappingBinding * This,
  1831. /* [out] */ USHORT *pusPort);
  1832. void __RPC_STUB IHNetPortMappingBinding_GetTargetPort_Stub(
  1833. IRpcStubBuffer *This,
  1834. IRpcChannelBuffer *_pRpcChannelBuffer,
  1835. PRPC_MESSAGE _pRpcMessage,
  1836. DWORD *_pdwStubPhase);
  1837. HRESULT STDMETHODCALLTYPE IHNetPortMappingBinding_SetTargetPort_Proxy(
  1838. IHNetPortMappingBinding * This,
  1839. /* [in] */ USHORT usPort);
  1840. void __RPC_STUB IHNetPortMappingBinding_SetTargetPort_Stub(
  1841. IRpcStubBuffer *This,
  1842. IRpcChannelBuffer *_pRpcChannelBuffer,
  1843. PRPC_MESSAGE _pRpcMessage,
  1844. DWORD *_pdwStubPhase);
  1845. #endif /* __IHNetPortMappingBinding_INTERFACE_DEFINED__ */
  1846. #ifndef __IHNetApplicationProtocol_INTERFACE_DEFINED__
  1847. #define __IHNetApplicationProtocol_INTERFACE_DEFINED__
  1848. /* interface IHNetApplicationProtocol */
  1849. /* [unique][uuid][object][local] */
  1850. EXTERN_C const IID IID_IHNetApplicationProtocol;
  1851. #if defined(__cplusplus) && !defined(CINTERFACE)
  1852. MIDL_INTERFACE("85D18B7F-3032-11D4-9348-00C04F8EEB71")
  1853. IHNetApplicationProtocol : public IUnknown
  1854. {
  1855. public:
  1856. virtual HRESULT STDMETHODCALLTYPE GetName(
  1857. /* [string][out] */ OLECHAR **ppszwName) = 0;
  1858. virtual HRESULT STDMETHODCALLTYPE SetName(
  1859. /* [string][in] */ OLECHAR *pszwName) = 0;
  1860. virtual HRESULT STDMETHODCALLTYPE GetOutgoingIPProtocol(
  1861. /* [out] */ UCHAR *pucProtocol) = 0;
  1862. virtual HRESULT STDMETHODCALLTYPE SetOutgoingIPProtocol(
  1863. /* [in] */ UCHAR ucProtocol) = 0;
  1864. virtual HRESULT STDMETHODCALLTYPE GetOutgoingPort(
  1865. /* [out] */ USHORT *pusPort) = 0;
  1866. virtual HRESULT STDMETHODCALLTYPE SetOutgoingPort(
  1867. /* [in] */ USHORT usPort) = 0;
  1868. virtual HRESULT STDMETHODCALLTYPE GetResponseRanges(
  1869. /* [out] */ USHORT *puscResponses,
  1870. /* [length_is][out] */ HNET_RESPONSE_RANGE *prgResponseRange[ ]) = 0;
  1871. virtual HRESULT STDMETHODCALLTYPE SetResponseRanges(
  1872. /* [in] */ USHORT uscResponses,
  1873. /* [size_is][in] */ HNET_RESPONSE_RANGE rgResponseRange[ ]) = 0;
  1874. virtual HRESULT STDMETHODCALLTYPE GetBuiltIn(
  1875. /* [out] */ BOOLEAN *pfBuiltIn) = 0;
  1876. virtual HRESULT STDMETHODCALLTYPE GetEnabled(
  1877. /* [out] */ BOOLEAN *pfEnabled) = 0;
  1878. virtual HRESULT STDMETHODCALLTYPE SetEnabled(
  1879. /* [in] */ BOOLEAN fEnable) = 0;
  1880. virtual HRESULT STDMETHODCALLTYPE Delete( void) = 0;
  1881. };
  1882. #else /* C style interface */
  1883. typedef struct IHNetApplicationProtocolVtbl
  1884. {
  1885. BEGIN_INTERFACE
  1886. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1887. IHNetApplicationProtocol * This,
  1888. /* [in] */ REFIID riid,
  1889. /* [iid_is][out] */ void **ppvObject);
  1890. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1891. IHNetApplicationProtocol * This);
  1892. ULONG ( STDMETHODCALLTYPE *Release )(
  1893. IHNetApplicationProtocol * This);
  1894. HRESULT ( STDMETHODCALLTYPE *GetName )(
  1895. IHNetApplicationProtocol * This,
  1896. /* [string][out] */ OLECHAR **ppszwName);
  1897. HRESULT ( STDMETHODCALLTYPE *SetName )(
  1898. IHNetApplicationProtocol * This,
  1899. /* [string][in] */ OLECHAR *pszwName);
  1900. HRESULT ( STDMETHODCALLTYPE *GetOutgoingIPProtocol )(
  1901. IHNetApplicationProtocol * This,
  1902. /* [out] */ UCHAR *pucProtocol);
  1903. HRESULT ( STDMETHODCALLTYPE *SetOutgoingIPProtocol )(
  1904. IHNetApplicationProtocol * This,
  1905. /* [in] */ UCHAR ucProtocol);
  1906. HRESULT ( STDMETHODCALLTYPE *GetOutgoingPort )(
  1907. IHNetApplicationProtocol * This,
  1908. /* [out] */ USHORT *pusPort);
  1909. HRESULT ( STDMETHODCALLTYPE *SetOutgoingPort )(
  1910. IHNetApplicationProtocol * This,
  1911. /* [in] */ USHORT usPort);
  1912. HRESULT ( STDMETHODCALLTYPE *GetResponseRanges )(
  1913. IHNetApplicationProtocol * This,
  1914. /* [out] */ USHORT *puscResponses,
  1915. /* [length_is][out] */ HNET_RESPONSE_RANGE *prgResponseRange[ ]);
  1916. HRESULT ( STDMETHODCALLTYPE *SetResponseRanges )(
  1917. IHNetApplicationProtocol * This,
  1918. /* [in] */ USHORT uscResponses,
  1919. /* [size_is][in] */ HNET_RESPONSE_RANGE rgResponseRange[ ]);
  1920. HRESULT ( STDMETHODCALLTYPE *GetBuiltIn )(
  1921. IHNetApplicationProtocol * This,
  1922. /* [out] */ BOOLEAN *pfBuiltIn);
  1923. HRESULT ( STDMETHODCALLTYPE *GetEnabled )(
  1924. IHNetApplicationProtocol * This,
  1925. /* [out] */ BOOLEAN *pfEnabled);
  1926. HRESULT ( STDMETHODCALLTYPE *SetEnabled )(
  1927. IHNetApplicationProtocol * This,
  1928. /* [in] */ BOOLEAN fEnable);
  1929. HRESULT ( STDMETHODCALLTYPE *Delete )(
  1930. IHNetApplicationProtocol * This);
  1931. END_INTERFACE
  1932. } IHNetApplicationProtocolVtbl;
  1933. interface IHNetApplicationProtocol
  1934. {
  1935. CONST_VTBL struct IHNetApplicationProtocolVtbl *lpVtbl;
  1936. };
  1937. #ifdef COBJMACROS
  1938. #define IHNetApplicationProtocol_QueryInterface(This,riid,ppvObject) \
  1939. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1940. #define IHNetApplicationProtocol_AddRef(This) \
  1941. (This)->lpVtbl -> AddRef(This)
  1942. #define IHNetApplicationProtocol_Release(This) \
  1943. (This)->lpVtbl -> Release(This)
  1944. #define IHNetApplicationProtocol_GetName(This,ppszwName) \
  1945. (This)->lpVtbl -> GetName(This,ppszwName)
  1946. #define IHNetApplicationProtocol_SetName(This,pszwName) \
  1947. (This)->lpVtbl -> SetName(This,pszwName)
  1948. #define IHNetApplicationProtocol_GetOutgoingIPProtocol(This,pucProtocol) \
  1949. (This)->lpVtbl -> GetOutgoingIPProtocol(This,pucProtocol)
  1950. #define IHNetApplicationProtocol_SetOutgoingIPProtocol(This,ucProtocol) \
  1951. (This)->lpVtbl -> SetOutgoingIPProtocol(This,ucProtocol)
  1952. #define IHNetApplicationProtocol_GetOutgoingPort(This,pusPort) \
  1953. (This)->lpVtbl -> GetOutgoingPort(This,pusPort)
  1954. #define IHNetApplicationProtocol_SetOutgoingPort(This,usPort) \
  1955. (This)->lpVtbl -> SetOutgoingPort(This,usPort)
  1956. #define IHNetApplicationProtocol_GetResponseRanges(This,puscResponses,prgResponseRange) \
  1957. (This)->lpVtbl -> GetResponseRanges(This,puscResponses,prgResponseRange)
  1958. #define IHNetApplicationProtocol_SetResponseRanges(This,uscResponses,rgResponseRange) \
  1959. (This)->lpVtbl -> SetResponseRanges(This,uscResponses,rgResponseRange)
  1960. #define IHNetApplicationProtocol_GetBuiltIn(This,pfBuiltIn) \
  1961. (This)->lpVtbl -> GetBuiltIn(This,pfBuiltIn)
  1962. #define IHNetApplicationProtocol_GetEnabled(This,pfEnabled) \
  1963. (This)->lpVtbl -> GetEnabled(This,pfEnabled)
  1964. #define IHNetApplicationProtocol_SetEnabled(This,fEnable) \
  1965. (This)->lpVtbl -> SetEnabled(This,fEnable)
  1966. #define IHNetApplicationProtocol_Delete(This) \
  1967. (This)->lpVtbl -> Delete(This)
  1968. #endif /* COBJMACROS */
  1969. #endif /* C style interface */
  1970. HRESULT STDMETHODCALLTYPE IHNetApplicationProtocol_GetName_Proxy(
  1971. IHNetApplicationProtocol * This,
  1972. /* [string][out] */ OLECHAR **ppszwName);
  1973. void __RPC_STUB IHNetApplicationProtocol_GetName_Stub(
  1974. IRpcStubBuffer *This,
  1975. IRpcChannelBuffer *_pRpcChannelBuffer,
  1976. PRPC_MESSAGE _pRpcMessage,
  1977. DWORD *_pdwStubPhase);
  1978. HRESULT STDMETHODCALLTYPE IHNetApplicationProtocol_SetName_Proxy(
  1979. IHNetApplicationProtocol * This,
  1980. /* [string][in] */ OLECHAR *pszwName);
  1981. void __RPC_STUB IHNetApplicationProtocol_SetName_Stub(
  1982. IRpcStubBuffer *This,
  1983. IRpcChannelBuffer *_pRpcChannelBuffer,
  1984. PRPC_MESSAGE _pRpcMessage,
  1985. DWORD *_pdwStubPhase);
  1986. HRESULT STDMETHODCALLTYPE IHNetApplicationProtocol_GetOutgoingIPProtocol_Proxy(
  1987. IHNetApplicationProtocol * This,
  1988. /* [out] */ UCHAR *pucProtocol);
  1989. void __RPC_STUB IHNetApplicationProtocol_GetOutgoingIPProtocol_Stub(
  1990. IRpcStubBuffer *This,
  1991. IRpcChannelBuffer *_pRpcChannelBuffer,
  1992. PRPC_MESSAGE _pRpcMessage,
  1993. DWORD *_pdwStubPhase);
  1994. HRESULT STDMETHODCALLTYPE IHNetApplicationProtocol_SetOutgoingIPProtocol_Proxy(
  1995. IHNetApplicationProtocol * This,
  1996. /* [in] */ UCHAR ucProtocol);
  1997. void __RPC_STUB IHNetApplicationProtocol_SetOutgoingIPProtocol_Stub(
  1998. IRpcStubBuffer *This,
  1999. IRpcChannelBuffer *_pRpcChannelBuffer,
  2000. PRPC_MESSAGE _pRpcMessage,
  2001. DWORD *_pdwStubPhase);
  2002. HRESULT STDMETHODCALLTYPE IHNetApplicationProtocol_GetOutgoingPort_Proxy(
  2003. IHNetApplicationProtocol * This,
  2004. /* [out] */ USHORT *pusPort);
  2005. void __RPC_STUB IHNetApplicationProtocol_GetOutgoingPort_Stub(
  2006. IRpcStubBuffer *This,
  2007. IRpcChannelBuffer *_pRpcChannelBuffer,
  2008. PRPC_MESSAGE _pRpcMessage,
  2009. DWORD *_pdwStubPhase);
  2010. HRESULT STDMETHODCALLTYPE IHNetApplicationProtocol_SetOutgoingPort_Proxy(
  2011. IHNetApplicationProtocol * This,
  2012. /* [in] */ USHORT usPort);
  2013. void __RPC_STUB IHNetApplicationProtocol_SetOutgoingPort_Stub(
  2014. IRpcStubBuffer *This,
  2015. IRpcChannelBuffer *_pRpcChannelBuffer,
  2016. PRPC_MESSAGE _pRpcMessage,
  2017. DWORD *_pdwStubPhase);
  2018. HRESULT STDMETHODCALLTYPE IHNetApplicationProtocol_GetResponseRanges_Proxy(
  2019. IHNetApplicationProtocol * This,
  2020. /* [out] */ USHORT *puscResponses,
  2021. /* [length_is][out] */ HNET_RESPONSE_RANGE *prgResponseRange[ ]);
  2022. void __RPC_STUB IHNetApplicationProtocol_GetResponseRanges_Stub(
  2023. IRpcStubBuffer *This,
  2024. IRpcChannelBuffer *_pRpcChannelBuffer,
  2025. PRPC_MESSAGE _pRpcMessage,
  2026. DWORD *_pdwStubPhase);
  2027. HRESULT STDMETHODCALLTYPE IHNetApplicationProtocol_SetResponseRanges_Proxy(
  2028. IHNetApplicationProtocol * This,
  2029. /* [in] */ USHORT uscResponses,
  2030. /* [size_is][in] */ HNET_RESPONSE_RANGE rgResponseRange[ ]);
  2031. void __RPC_STUB IHNetApplicationProtocol_SetResponseRanges_Stub(
  2032. IRpcStubBuffer *This,
  2033. IRpcChannelBuffer *_pRpcChannelBuffer,
  2034. PRPC_MESSAGE _pRpcMessage,
  2035. DWORD *_pdwStubPhase);
  2036. HRESULT STDMETHODCALLTYPE IHNetApplicationProtocol_GetBuiltIn_Proxy(
  2037. IHNetApplicationProtocol * This,
  2038. /* [out] */ BOOLEAN *pfBuiltIn);
  2039. void __RPC_STUB IHNetApplicationProtocol_GetBuiltIn_Stub(
  2040. IRpcStubBuffer *This,
  2041. IRpcChannelBuffer *_pRpcChannelBuffer,
  2042. PRPC_MESSAGE _pRpcMessage,
  2043. DWORD *_pdwStubPhase);
  2044. HRESULT STDMETHODCALLTYPE IHNetApplicationProtocol_GetEnabled_Proxy(
  2045. IHNetApplicationProtocol * This,
  2046. /* [out] */ BOOLEAN *pfEnabled);
  2047. void __RPC_STUB IHNetApplicationProtocol_GetEnabled_Stub(
  2048. IRpcStubBuffer *This,
  2049. IRpcChannelBuffer *_pRpcChannelBuffer,
  2050. PRPC_MESSAGE _pRpcMessage,
  2051. DWORD *_pdwStubPhase);
  2052. HRESULT STDMETHODCALLTYPE IHNetApplicationProtocol_SetEnabled_Proxy(
  2053. IHNetApplicationProtocol * This,
  2054. /* [in] */ BOOLEAN fEnable);
  2055. void __RPC_STUB IHNetApplicationProtocol_SetEnabled_Stub(
  2056. IRpcStubBuffer *This,
  2057. IRpcChannelBuffer *_pRpcChannelBuffer,
  2058. PRPC_MESSAGE _pRpcMessage,
  2059. DWORD *_pdwStubPhase);
  2060. HRESULT STDMETHODCALLTYPE IHNetApplicationProtocol_Delete_Proxy(
  2061. IHNetApplicationProtocol * This);
  2062. void __RPC_STUB IHNetApplicationProtocol_Delete_Stub(
  2063. IRpcStubBuffer *This,
  2064. IRpcChannelBuffer *_pRpcChannelBuffer,
  2065. PRPC_MESSAGE _pRpcMessage,
  2066. DWORD *_pdwStubPhase);
  2067. #endif /* __IHNetApplicationProtocol_INTERFACE_DEFINED__ */
  2068. #ifndef __IEnumHNetBridges_INTERFACE_DEFINED__
  2069. #define __IEnumHNetBridges_INTERFACE_DEFINED__
  2070. /* interface IEnumHNetBridges */
  2071. /* [unique][uuid][object][local] */
  2072. EXTERN_C const IID IID_IEnumHNetBridges;
  2073. #if defined(__cplusplus) && !defined(CINTERFACE)
  2074. MIDL_INTERFACE("85D18B77-3032-11D4-9348-00C04F8EEB71")
  2075. IEnumHNetBridges : public IUnknown
  2076. {
  2077. public:
  2078. virtual HRESULT STDMETHODCALLTYPE Next(
  2079. /* [in] */ ULONG cElt,
  2080. /* [length_is][size_is][out] */ IHNetBridge **rgElt,
  2081. /* [out] */ ULONG *pcEltFetched) = 0;
  2082. virtual HRESULT STDMETHODCALLTYPE Skip(
  2083. /* [in] */ ULONG cElt) = 0;
  2084. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2085. virtual HRESULT STDMETHODCALLTYPE Clone(
  2086. /* [out] */ IEnumHNetBridges **ppEnum) = 0;
  2087. };
  2088. #else /* C style interface */
  2089. typedef struct IEnumHNetBridgesVtbl
  2090. {
  2091. BEGIN_INTERFACE
  2092. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2093. IEnumHNetBridges * This,
  2094. /* [in] */ REFIID riid,
  2095. /* [iid_is][out] */ void **ppvObject);
  2096. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2097. IEnumHNetBridges * This);
  2098. ULONG ( STDMETHODCALLTYPE *Release )(
  2099. IEnumHNetBridges * This);
  2100. HRESULT ( STDMETHODCALLTYPE *Next )(
  2101. IEnumHNetBridges * This,
  2102. /* [in] */ ULONG cElt,
  2103. /* [length_is][size_is][out] */ IHNetBridge **rgElt,
  2104. /* [out] */ ULONG *pcEltFetched);
  2105. HRESULT ( STDMETHODCALLTYPE *Skip )(
  2106. IEnumHNetBridges * This,
  2107. /* [in] */ ULONG cElt);
  2108. HRESULT ( STDMETHODCALLTYPE *Reset )(
  2109. IEnumHNetBridges * This);
  2110. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2111. IEnumHNetBridges * This,
  2112. /* [out] */ IEnumHNetBridges **ppEnum);
  2113. END_INTERFACE
  2114. } IEnumHNetBridgesVtbl;
  2115. interface IEnumHNetBridges
  2116. {
  2117. CONST_VTBL struct IEnumHNetBridgesVtbl *lpVtbl;
  2118. };
  2119. #ifdef COBJMACROS
  2120. #define IEnumHNetBridges_QueryInterface(This,riid,ppvObject) \
  2121. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2122. #define IEnumHNetBridges_AddRef(This) \
  2123. (This)->lpVtbl -> AddRef(This)
  2124. #define IEnumHNetBridges_Release(This) \
  2125. (This)->lpVtbl -> Release(This)
  2126. #define IEnumHNetBridges_Next(This,cElt,rgElt,pcEltFetched) \
  2127. (This)->lpVtbl -> Next(This,cElt,rgElt,pcEltFetched)
  2128. #define IEnumHNetBridges_Skip(This,cElt) \
  2129. (This)->lpVtbl -> Skip(This,cElt)
  2130. #define IEnumHNetBridges_Reset(This) \
  2131. (This)->lpVtbl -> Reset(This)
  2132. #define IEnumHNetBridges_Clone(This,ppEnum) \
  2133. (This)->lpVtbl -> Clone(This,ppEnum)
  2134. #endif /* COBJMACROS */
  2135. #endif /* C style interface */
  2136. HRESULT STDMETHODCALLTYPE IEnumHNetBridges_Next_Proxy(
  2137. IEnumHNetBridges * This,
  2138. /* [in] */ ULONG cElt,
  2139. /* [length_is][size_is][out] */ IHNetBridge **rgElt,
  2140. /* [out] */ ULONG *pcEltFetched);
  2141. void __RPC_STUB IEnumHNetBridges_Next_Stub(
  2142. IRpcStubBuffer *This,
  2143. IRpcChannelBuffer *_pRpcChannelBuffer,
  2144. PRPC_MESSAGE _pRpcMessage,
  2145. DWORD *_pdwStubPhase);
  2146. HRESULT STDMETHODCALLTYPE IEnumHNetBridges_Skip_Proxy(
  2147. IEnumHNetBridges * This,
  2148. /* [in] */ ULONG cElt);
  2149. void __RPC_STUB IEnumHNetBridges_Skip_Stub(
  2150. IRpcStubBuffer *This,
  2151. IRpcChannelBuffer *_pRpcChannelBuffer,
  2152. PRPC_MESSAGE _pRpcMessage,
  2153. DWORD *_pdwStubPhase);
  2154. HRESULT STDMETHODCALLTYPE IEnumHNetBridges_Reset_Proxy(
  2155. IEnumHNetBridges * This);
  2156. void __RPC_STUB IEnumHNetBridges_Reset_Stub(
  2157. IRpcStubBuffer *This,
  2158. IRpcChannelBuffer *_pRpcChannelBuffer,
  2159. PRPC_MESSAGE _pRpcMessage,
  2160. DWORD *_pdwStubPhase);
  2161. HRESULT STDMETHODCALLTYPE IEnumHNetBridges_Clone_Proxy(
  2162. IEnumHNetBridges * This,
  2163. /* [out] */ IEnumHNetBridges **ppEnum);
  2164. void __RPC_STUB IEnumHNetBridges_Clone_Stub(
  2165. IRpcStubBuffer *This,
  2166. IRpcChannelBuffer *_pRpcChannelBuffer,
  2167. PRPC_MESSAGE _pRpcMessage,
  2168. DWORD *_pdwStubPhase);
  2169. #endif /* __IEnumHNetBridges_INTERFACE_DEFINED__ */
  2170. #ifndef __IEnumHNetFirewalledConnections_INTERFACE_DEFINED__
  2171. #define __IEnumHNetFirewalledConnections_INTERFACE_DEFINED__
  2172. /* interface IEnumHNetFirewalledConnections */
  2173. /* [unique][uuid][object][local] */
  2174. EXTERN_C const IID IID_IEnumHNetFirewalledConnections;
  2175. #if defined(__cplusplus) && !defined(CINTERFACE)
  2176. MIDL_INTERFACE("85D18B78-3032-11D4-9348-00C04F8EEB71")
  2177. IEnumHNetFirewalledConnections : public IUnknown
  2178. {
  2179. public:
  2180. virtual HRESULT STDMETHODCALLTYPE Next(
  2181. /* [in] */ ULONG cElt,
  2182. /* [length_is][size_is][out] */ IHNetFirewalledConnection **rgElt,
  2183. /* [out] */ ULONG *pcEltFetched) = 0;
  2184. virtual HRESULT STDMETHODCALLTYPE Skip(
  2185. /* [in] */ ULONG cElt) = 0;
  2186. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2187. virtual HRESULT STDMETHODCALLTYPE Clone(
  2188. /* [out] */ IEnumHNetFirewalledConnections **ppEnum) = 0;
  2189. };
  2190. #else /* C style interface */
  2191. typedef struct IEnumHNetFirewalledConnectionsVtbl
  2192. {
  2193. BEGIN_INTERFACE
  2194. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2195. IEnumHNetFirewalledConnections * This,
  2196. /* [in] */ REFIID riid,
  2197. /* [iid_is][out] */ void **ppvObject);
  2198. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2199. IEnumHNetFirewalledConnections * This);
  2200. ULONG ( STDMETHODCALLTYPE *Release )(
  2201. IEnumHNetFirewalledConnections * This);
  2202. HRESULT ( STDMETHODCALLTYPE *Next )(
  2203. IEnumHNetFirewalledConnections * This,
  2204. /* [in] */ ULONG cElt,
  2205. /* [length_is][size_is][out] */ IHNetFirewalledConnection **rgElt,
  2206. /* [out] */ ULONG *pcEltFetched);
  2207. HRESULT ( STDMETHODCALLTYPE *Skip )(
  2208. IEnumHNetFirewalledConnections * This,
  2209. /* [in] */ ULONG cElt);
  2210. HRESULT ( STDMETHODCALLTYPE *Reset )(
  2211. IEnumHNetFirewalledConnections * This);
  2212. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2213. IEnumHNetFirewalledConnections * This,
  2214. /* [out] */ IEnumHNetFirewalledConnections **ppEnum);
  2215. END_INTERFACE
  2216. } IEnumHNetFirewalledConnectionsVtbl;
  2217. interface IEnumHNetFirewalledConnections
  2218. {
  2219. CONST_VTBL struct IEnumHNetFirewalledConnectionsVtbl *lpVtbl;
  2220. };
  2221. #ifdef COBJMACROS
  2222. #define IEnumHNetFirewalledConnections_QueryInterface(This,riid,ppvObject) \
  2223. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2224. #define IEnumHNetFirewalledConnections_AddRef(This) \
  2225. (This)->lpVtbl -> AddRef(This)
  2226. #define IEnumHNetFirewalledConnections_Release(This) \
  2227. (This)->lpVtbl -> Release(This)
  2228. #define IEnumHNetFirewalledConnections_Next(This,cElt,rgElt,pcEltFetched) \
  2229. (This)->lpVtbl -> Next(This,cElt,rgElt,pcEltFetched)
  2230. #define IEnumHNetFirewalledConnections_Skip(This,cElt) \
  2231. (This)->lpVtbl -> Skip(This,cElt)
  2232. #define IEnumHNetFirewalledConnections_Reset(This) \
  2233. (This)->lpVtbl -> Reset(This)
  2234. #define IEnumHNetFirewalledConnections_Clone(This,ppEnum) \
  2235. (This)->lpVtbl -> Clone(This,ppEnum)
  2236. #endif /* COBJMACROS */
  2237. #endif /* C style interface */
  2238. HRESULT STDMETHODCALLTYPE IEnumHNetFirewalledConnections_Next_Proxy(
  2239. IEnumHNetFirewalledConnections * This,
  2240. /* [in] */ ULONG cElt,
  2241. /* [length_is][size_is][out] */ IHNetFirewalledConnection **rgElt,
  2242. /* [out] */ ULONG *pcEltFetched);
  2243. void __RPC_STUB IEnumHNetFirewalledConnections_Next_Stub(
  2244. IRpcStubBuffer *This,
  2245. IRpcChannelBuffer *_pRpcChannelBuffer,
  2246. PRPC_MESSAGE _pRpcMessage,
  2247. DWORD *_pdwStubPhase);
  2248. HRESULT STDMETHODCALLTYPE IEnumHNetFirewalledConnections_Skip_Proxy(
  2249. IEnumHNetFirewalledConnections * This,
  2250. /* [in] */ ULONG cElt);
  2251. void __RPC_STUB IEnumHNetFirewalledConnections_Skip_Stub(
  2252. IRpcStubBuffer *This,
  2253. IRpcChannelBuffer *_pRpcChannelBuffer,
  2254. PRPC_MESSAGE _pRpcMessage,
  2255. DWORD *_pdwStubPhase);
  2256. HRESULT STDMETHODCALLTYPE IEnumHNetFirewalledConnections_Reset_Proxy(
  2257. IEnumHNetFirewalledConnections * This);
  2258. void __RPC_STUB IEnumHNetFirewalledConnections_Reset_Stub(
  2259. IRpcStubBuffer *This,
  2260. IRpcChannelBuffer *_pRpcChannelBuffer,
  2261. PRPC_MESSAGE _pRpcMessage,
  2262. DWORD *_pdwStubPhase);
  2263. HRESULT STDMETHODCALLTYPE IEnumHNetFirewalledConnections_Clone_Proxy(
  2264. IEnumHNetFirewalledConnections * This,
  2265. /* [out] */ IEnumHNetFirewalledConnections **ppEnum);
  2266. void __RPC_STUB IEnumHNetFirewalledConnections_Clone_Stub(
  2267. IRpcStubBuffer *This,
  2268. IRpcChannelBuffer *_pRpcChannelBuffer,
  2269. PRPC_MESSAGE _pRpcMessage,
  2270. DWORD *_pdwStubPhase);
  2271. #endif /* __IEnumHNetFirewalledConnections_INTERFACE_DEFINED__ */
  2272. #ifndef __IEnumHNetIcsPublicConnections_INTERFACE_DEFINED__
  2273. #define __IEnumHNetIcsPublicConnections_INTERFACE_DEFINED__
  2274. /* interface IEnumHNetIcsPublicConnections */
  2275. /* [unique][uuid][object][local] */
  2276. EXTERN_C const IID IID_IEnumHNetIcsPublicConnections;
  2277. #if defined(__cplusplus) && !defined(CINTERFACE)
  2278. MIDL_INTERFACE("85D18B79-3032-11D4-9348-00C04F8EEB71")
  2279. IEnumHNetIcsPublicConnections : public IUnknown
  2280. {
  2281. public:
  2282. virtual HRESULT STDMETHODCALLTYPE Next(
  2283. /* [in] */ ULONG cElt,
  2284. /* [length_is][size_is][out] */ IHNetIcsPublicConnection **rgElt,
  2285. /* [out] */ ULONG *pcEltFetched) = 0;
  2286. virtual HRESULT STDMETHODCALLTYPE Skip(
  2287. /* [in] */ ULONG cElt) = 0;
  2288. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2289. virtual HRESULT STDMETHODCALLTYPE Clone(
  2290. /* [out] */ IEnumHNetIcsPublicConnections **ppEnum) = 0;
  2291. };
  2292. #else /* C style interface */
  2293. typedef struct IEnumHNetIcsPublicConnectionsVtbl
  2294. {
  2295. BEGIN_INTERFACE
  2296. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2297. IEnumHNetIcsPublicConnections * This,
  2298. /* [in] */ REFIID riid,
  2299. /* [iid_is][out] */ void **ppvObject);
  2300. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2301. IEnumHNetIcsPublicConnections * This);
  2302. ULONG ( STDMETHODCALLTYPE *Release )(
  2303. IEnumHNetIcsPublicConnections * This);
  2304. HRESULT ( STDMETHODCALLTYPE *Next )(
  2305. IEnumHNetIcsPublicConnections * This,
  2306. /* [in] */ ULONG cElt,
  2307. /* [length_is][size_is][out] */ IHNetIcsPublicConnection **rgElt,
  2308. /* [out] */ ULONG *pcEltFetched);
  2309. HRESULT ( STDMETHODCALLTYPE *Skip )(
  2310. IEnumHNetIcsPublicConnections * This,
  2311. /* [in] */ ULONG cElt);
  2312. HRESULT ( STDMETHODCALLTYPE *Reset )(
  2313. IEnumHNetIcsPublicConnections * This);
  2314. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2315. IEnumHNetIcsPublicConnections * This,
  2316. /* [out] */ IEnumHNetIcsPublicConnections **ppEnum);
  2317. END_INTERFACE
  2318. } IEnumHNetIcsPublicConnectionsVtbl;
  2319. interface IEnumHNetIcsPublicConnections
  2320. {
  2321. CONST_VTBL struct IEnumHNetIcsPublicConnectionsVtbl *lpVtbl;
  2322. };
  2323. #ifdef COBJMACROS
  2324. #define IEnumHNetIcsPublicConnections_QueryInterface(This,riid,ppvObject) \
  2325. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2326. #define IEnumHNetIcsPublicConnections_AddRef(This) \
  2327. (This)->lpVtbl -> AddRef(This)
  2328. #define IEnumHNetIcsPublicConnections_Release(This) \
  2329. (This)->lpVtbl -> Release(This)
  2330. #define IEnumHNetIcsPublicConnections_Next(This,cElt,rgElt,pcEltFetched) \
  2331. (This)->lpVtbl -> Next(This,cElt,rgElt,pcEltFetched)
  2332. #define IEnumHNetIcsPublicConnections_Skip(This,cElt) \
  2333. (This)->lpVtbl -> Skip(This,cElt)
  2334. #define IEnumHNetIcsPublicConnections_Reset(This) \
  2335. (This)->lpVtbl -> Reset(This)
  2336. #define IEnumHNetIcsPublicConnections_Clone(This,ppEnum) \
  2337. (This)->lpVtbl -> Clone(This,ppEnum)
  2338. #endif /* COBJMACROS */
  2339. #endif /* C style interface */
  2340. HRESULT STDMETHODCALLTYPE IEnumHNetIcsPublicConnections_Next_Proxy(
  2341. IEnumHNetIcsPublicConnections * This,
  2342. /* [in] */ ULONG cElt,
  2343. /* [length_is][size_is][out] */ IHNetIcsPublicConnection **rgElt,
  2344. /* [out] */ ULONG *pcEltFetched);
  2345. void __RPC_STUB IEnumHNetIcsPublicConnections_Next_Stub(
  2346. IRpcStubBuffer *This,
  2347. IRpcChannelBuffer *_pRpcChannelBuffer,
  2348. PRPC_MESSAGE _pRpcMessage,
  2349. DWORD *_pdwStubPhase);
  2350. HRESULT STDMETHODCALLTYPE IEnumHNetIcsPublicConnections_Skip_Proxy(
  2351. IEnumHNetIcsPublicConnections * This,
  2352. /* [in] */ ULONG cElt);
  2353. void __RPC_STUB IEnumHNetIcsPublicConnections_Skip_Stub(
  2354. IRpcStubBuffer *This,
  2355. IRpcChannelBuffer *_pRpcChannelBuffer,
  2356. PRPC_MESSAGE _pRpcMessage,
  2357. DWORD *_pdwStubPhase);
  2358. HRESULT STDMETHODCALLTYPE IEnumHNetIcsPublicConnections_Reset_Proxy(
  2359. IEnumHNetIcsPublicConnections * This);
  2360. void __RPC_STUB IEnumHNetIcsPublicConnections_Reset_Stub(
  2361. IRpcStubBuffer *This,
  2362. IRpcChannelBuffer *_pRpcChannelBuffer,
  2363. PRPC_MESSAGE _pRpcMessage,
  2364. DWORD *_pdwStubPhase);
  2365. HRESULT STDMETHODCALLTYPE IEnumHNetIcsPublicConnections_Clone_Proxy(
  2366. IEnumHNetIcsPublicConnections * This,
  2367. /* [out] */ IEnumHNetIcsPublicConnections **ppEnum);
  2368. void __RPC_STUB IEnumHNetIcsPublicConnections_Clone_Stub(
  2369. IRpcStubBuffer *This,
  2370. IRpcChannelBuffer *_pRpcChannelBuffer,
  2371. PRPC_MESSAGE _pRpcMessage,
  2372. DWORD *_pdwStubPhase);
  2373. #endif /* __IEnumHNetIcsPublicConnections_INTERFACE_DEFINED__ */
  2374. #ifndef __IEnumHNetIcsPrivateConnections_INTERFACE_DEFINED__
  2375. #define __IEnumHNetIcsPrivateConnections_INTERFACE_DEFINED__
  2376. /* interface IEnumHNetIcsPrivateConnections */
  2377. /* [unique][uuid][object][local] */
  2378. EXTERN_C const IID IID_IEnumHNetIcsPrivateConnections;
  2379. #if defined(__cplusplus) && !defined(CINTERFACE)
  2380. MIDL_INTERFACE("85D18B7A-3032-11D4-9348-00C04F8EEB71")
  2381. IEnumHNetIcsPrivateConnections : public IUnknown
  2382. {
  2383. public:
  2384. virtual HRESULT STDMETHODCALLTYPE Next(
  2385. /* [in] */ ULONG cElt,
  2386. /* [length_is][size_is][out] */ IHNetIcsPrivateConnection **rgElt,
  2387. /* [out] */ ULONG *pcEltFetched) = 0;
  2388. virtual HRESULT STDMETHODCALLTYPE Skip(
  2389. /* [in] */ ULONG cElt) = 0;
  2390. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2391. virtual HRESULT STDMETHODCALLTYPE Clone(
  2392. /* [out] */ IEnumHNetIcsPrivateConnections **ppEnum) = 0;
  2393. };
  2394. #else /* C style interface */
  2395. typedef struct IEnumHNetIcsPrivateConnectionsVtbl
  2396. {
  2397. BEGIN_INTERFACE
  2398. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2399. IEnumHNetIcsPrivateConnections * This,
  2400. /* [in] */ REFIID riid,
  2401. /* [iid_is][out] */ void **ppvObject);
  2402. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2403. IEnumHNetIcsPrivateConnections * This);
  2404. ULONG ( STDMETHODCALLTYPE *Release )(
  2405. IEnumHNetIcsPrivateConnections * This);
  2406. HRESULT ( STDMETHODCALLTYPE *Next )(
  2407. IEnumHNetIcsPrivateConnections * This,
  2408. /* [in] */ ULONG cElt,
  2409. /* [length_is][size_is][out] */ IHNetIcsPrivateConnection **rgElt,
  2410. /* [out] */ ULONG *pcEltFetched);
  2411. HRESULT ( STDMETHODCALLTYPE *Skip )(
  2412. IEnumHNetIcsPrivateConnections * This,
  2413. /* [in] */ ULONG cElt);
  2414. HRESULT ( STDMETHODCALLTYPE *Reset )(
  2415. IEnumHNetIcsPrivateConnections * This);
  2416. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2417. IEnumHNetIcsPrivateConnections * This,
  2418. /* [out] */ IEnumHNetIcsPrivateConnections **ppEnum);
  2419. END_INTERFACE
  2420. } IEnumHNetIcsPrivateConnectionsVtbl;
  2421. interface IEnumHNetIcsPrivateConnections
  2422. {
  2423. CONST_VTBL struct IEnumHNetIcsPrivateConnectionsVtbl *lpVtbl;
  2424. };
  2425. #ifdef COBJMACROS
  2426. #define IEnumHNetIcsPrivateConnections_QueryInterface(This,riid,ppvObject) \
  2427. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2428. #define IEnumHNetIcsPrivateConnections_AddRef(This) \
  2429. (This)->lpVtbl -> AddRef(This)
  2430. #define IEnumHNetIcsPrivateConnections_Release(This) \
  2431. (This)->lpVtbl -> Release(This)
  2432. #define IEnumHNetIcsPrivateConnections_Next(This,cElt,rgElt,pcEltFetched) \
  2433. (This)->lpVtbl -> Next(This,cElt,rgElt,pcEltFetched)
  2434. #define IEnumHNetIcsPrivateConnections_Skip(This,cElt) \
  2435. (This)->lpVtbl -> Skip(This,cElt)
  2436. #define IEnumHNetIcsPrivateConnections_Reset(This) \
  2437. (This)->lpVtbl -> Reset(This)
  2438. #define IEnumHNetIcsPrivateConnections_Clone(This,ppEnum) \
  2439. (This)->lpVtbl -> Clone(This,ppEnum)
  2440. #endif /* COBJMACROS */
  2441. #endif /* C style interface */
  2442. HRESULT STDMETHODCALLTYPE IEnumHNetIcsPrivateConnections_Next_Proxy(
  2443. IEnumHNetIcsPrivateConnections * This,
  2444. /* [in] */ ULONG cElt,
  2445. /* [length_is][size_is][out] */ IHNetIcsPrivateConnection **rgElt,
  2446. /* [out] */ ULONG *pcEltFetched);
  2447. void __RPC_STUB IEnumHNetIcsPrivateConnections_Next_Stub(
  2448. IRpcStubBuffer *This,
  2449. IRpcChannelBuffer *_pRpcChannelBuffer,
  2450. PRPC_MESSAGE _pRpcMessage,
  2451. DWORD *_pdwStubPhase);
  2452. HRESULT STDMETHODCALLTYPE IEnumHNetIcsPrivateConnections_Skip_Proxy(
  2453. IEnumHNetIcsPrivateConnections * This,
  2454. /* [in] */ ULONG cElt);
  2455. void __RPC_STUB IEnumHNetIcsPrivateConnections_Skip_Stub(
  2456. IRpcStubBuffer *This,
  2457. IRpcChannelBuffer *_pRpcChannelBuffer,
  2458. PRPC_MESSAGE _pRpcMessage,
  2459. DWORD *_pdwStubPhase);
  2460. HRESULT STDMETHODCALLTYPE IEnumHNetIcsPrivateConnections_Reset_Proxy(
  2461. IEnumHNetIcsPrivateConnections * This);
  2462. void __RPC_STUB IEnumHNetIcsPrivateConnections_Reset_Stub(
  2463. IRpcStubBuffer *This,
  2464. IRpcChannelBuffer *_pRpcChannelBuffer,
  2465. PRPC_MESSAGE _pRpcMessage,
  2466. DWORD *_pdwStubPhase);
  2467. HRESULT STDMETHODCALLTYPE IEnumHNetIcsPrivateConnections_Clone_Proxy(
  2468. IEnumHNetIcsPrivateConnections * This,
  2469. /* [out] */ IEnumHNetIcsPrivateConnections **ppEnum);
  2470. void __RPC_STUB IEnumHNetIcsPrivateConnections_Clone_Stub(
  2471. IRpcStubBuffer *This,
  2472. IRpcChannelBuffer *_pRpcChannelBuffer,
  2473. PRPC_MESSAGE _pRpcMessage,
  2474. DWORD *_pdwStubPhase);
  2475. #endif /* __IEnumHNetIcsPrivateConnections_INTERFACE_DEFINED__ */
  2476. #ifndef __IEnumHNetApplicationProtocols_INTERFACE_DEFINED__
  2477. #define __IEnumHNetApplicationProtocols_INTERFACE_DEFINED__
  2478. /* interface IEnumHNetApplicationProtocols */
  2479. /* [unique][uuid][object][local] */
  2480. EXTERN_C const IID IID_IEnumHNetApplicationProtocols;
  2481. #if defined(__cplusplus) && !defined(CINTERFACE)
  2482. MIDL_INTERFACE("85D18B7B-3032-11D4-9348-00C04F8EEB71")
  2483. IEnumHNetApplicationProtocols : public IUnknown
  2484. {
  2485. public:
  2486. virtual HRESULT STDMETHODCALLTYPE Next(
  2487. /* [in] */ ULONG cElt,
  2488. /* [length_is][size_is][out] */ IHNetApplicationProtocol **rgElt,
  2489. /* [out] */ ULONG *pcEltFetched) = 0;
  2490. virtual HRESULT STDMETHODCALLTYPE Skip(
  2491. /* [in] */ ULONG cElt) = 0;
  2492. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2493. virtual HRESULT STDMETHODCALLTYPE Clone(
  2494. /* [out] */ IEnumHNetApplicationProtocols **ppEnum) = 0;
  2495. };
  2496. #else /* C style interface */
  2497. typedef struct IEnumHNetApplicationProtocolsVtbl
  2498. {
  2499. BEGIN_INTERFACE
  2500. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2501. IEnumHNetApplicationProtocols * This,
  2502. /* [in] */ REFIID riid,
  2503. /* [iid_is][out] */ void **ppvObject);
  2504. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2505. IEnumHNetApplicationProtocols * This);
  2506. ULONG ( STDMETHODCALLTYPE *Release )(
  2507. IEnumHNetApplicationProtocols * This);
  2508. HRESULT ( STDMETHODCALLTYPE *Next )(
  2509. IEnumHNetApplicationProtocols * This,
  2510. /* [in] */ ULONG cElt,
  2511. /* [length_is][size_is][out] */ IHNetApplicationProtocol **rgElt,
  2512. /* [out] */ ULONG *pcEltFetched);
  2513. HRESULT ( STDMETHODCALLTYPE *Skip )(
  2514. IEnumHNetApplicationProtocols * This,
  2515. /* [in] */ ULONG cElt);
  2516. HRESULT ( STDMETHODCALLTYPE *Reset )(
  2517. IEnumHNetApplicationProtocols * This);
  2518. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2519. IEnumHNetApplicationProtocols * This,
  2520. /* [out] */ IEnumHNetApplicationProtocols **ppEnum);
  2521. END_INTERFACE
  2522. } IEnumHNetApplicationProtocolsVtbl;
  2523. interface IEnumHNetApplicationProtocols
  2524. {
  2525. CONST_VTBL struct IEnumHNetApplicationProtocolsVtbl *lpVtbl;
  2526. };
  2527. #ifdef COBJMACROS
  2528. #define IEnumHNetApplicationProtocols_QueryInterface(This,riid,ppvObject) \
  2529. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2530. #define IEnumHNetApplicationProtocols_AddRef(This) \
  2531. (This)->lpVtbl -> AddRef(This)
  2532. #define IEnumHNetApplicationProtocols_Release(This) \
  2533. (This)->lpVtbl -> Release(This)
  2534. #define IEnumHNetApplicationProtocols_Next(This,cElt,rgElt,pcEltFetched) \
  2535. (This)->lpVtbl -> Next(This,cElt,rgElt,pcEltFetched)
  2536. #define IEnumHNetApplicationProtocols_Skip(This,cElt) \
  2537. (This)->lpVtbl -> Skip(This,cElt)
  2538. #define IEnumHNetApplicationProtocols_Reset(This) \
  2539. (This)->lpVtbl -> Reset(This)
  2540. #define IEnumHNetApplicationProtocols_Clone(This,ppEnum) \
  2541. (This)->lpVtbl -> Clone(This,ppEnum)
  2542. #endif /* COBJMACROS */
  2543. #endif /* C style interface */
  2544. HRESULT STDMETHODCALLTYPE IEnumHNetApplicationProtocols_Next_Proxy(
  2545. IEnumHNetApplicationProtocols * This,
  2546. /* [in] */ ULONG cElt,
  2547. /* [length_is][size_is][out] */ IHNetApplicationProtocol **rgElt,
  2548. /* [out] */ ULONG *pcEltFetched);
  2549. void __RPC_STUB IEnumHNetApplicationProtocols_Next_Stub(
  2550. IRpcStubBuffer *This,
  2551. IRpcChannelBuffer *_pRpcChannelBuffer,
  2552. PRPC_MESSAGE _pRpcMessage,
  2553. DWORD *_pdwStubPhase);
  2554. HRESULT STDMETHODCALLTYPE IEnumHNetApplicationProtocols_Skip_Proxy(
  2555. IEnumHNetApplicationProtocols * This,
  2556. /* [in] */ ULONG cElt);
  2557. void __RPC_STUB IEnumHNetApplicationProtocols_Skip_Stub(
  2558. IRpcStubBuffer *This,
  2559. IRpcChannelBuffer *_pRpcChannelBuffer,
  2560. PRPC_MESSAGE _pRpcMessage,
  2561. DWORD *_pdwStubPhase);
  2562. HRESULT STDMETHODCALLTYPE IEnumHNetApplicationProtocols_Reset_Proxy(
  2563. IEnumHNetApplicationProtocols * This);
  2564. void __RPC_STUB IEnumHNetApplicationProtocols_Reset_Stub(
  2565. IRpcStubBuffer *This,
  2566. IRpcChannelBuffer *_pRpcChannelBuffer,
  2567. PRPC_MESSAGE _pRpcMessage,
  2568. DWORD *_pdwStubPhase);
  2569. HRESULT STDMETHODCALLTYPE IEnumHNetApplicationProtocols_Clone_Proxy(
  2570. IEnumHNetApplicationProtocols * This,
  2571. /* [out] */ IEnumHNetApplicationProtocols **ppEnum);
  2572. void __RPC_STUB IEnumHNetApplicationProtocols_Clone_Stub(
  2573. IRpcStubBuffer *This,
  2574. IRpcChannelBuffer *_pRpcChannelBuffer,
  2575. PRPC_MESSAGE _pRpcMessage,
  2576. DWORD *_pdwStubPhase);
  2577. #endif /* __IEnumHNetApplicationProtocols_INTERFACE_DEFINED__ */
  2578. #ifndef __IEnumHNetPortMappingProtocols_INTERFACE_DEFINED__
  2579. #define __IEnumHNetPortMappingProtocols_INTERFACE_DEFINED__
  2580. /* interface IEnumHNetPortMappingProtocols */
  2581. /* [unique][uuid][object][local] */
  2582. EXTERN_C const IID IID_IEnumHNetPortMappingProtocols;
  2583. #if defined(__cplusplus) && !defined(CINTERFACE)
  2584. MIDL_INTERFACE("85D18B7C-3032-11D4-9348-00C04F8EEB71")
  2585. IEnumHNetPortMappingProtocols : public IUnknown
  2586. {
  2587. public:
  2588. virtual HRESULT STDMETHODCALLTYPE Next(
  2589. /* [in] */ ULONG cElt,
  2590. /* [length_is][size_is][out] */ IHNetPortMappingProtocol **rgElt,
  2591. /* [out] */ ULONG *pcEltFetched) = 0;
  2592. virtual HRESULT STDMETHODCALLTYPE Skip(
  2593. /* [in] */ ULONG cElt) = 0;
  2594. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2595. virtual HRESULT STDMETHODCALLTYPE Clone(
  2596. /* [out] */ IEnumHNetPortMappingProtocols **ppEnum) = 0;
  2597. };
  2598. #else /* C style interface */
  2599. typedef struct IEnumHNetPortMappingProtocolsVtbl
  2600. {
  2601. BEGIN_INTERFACE
  2602. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2603. IEnumHNetPortMappingProtocols * This,
  2604. /* [in] */ REFIID riid,
  2605. /* [iid_is][out] */ void **ppvObject);
  2606. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2607. IEnumHNetPortMappingProtocols * This);
  2608. ULONG ( STDMETHODCALLTYPE *Release )(
  2609. IEnumHNetPortMappingProtocols * This);
  2610. HRESULT ( STDMETHODCALLTYPE *Next )(
  2611. IEnumHNetPortMappingProtocols * This,
  2612. /* [in] */ ULONG cElt,
  2613. /* [length_is][size_is][out] */ IHNetPortMappingProtocol **rgElt,
  2614. /* [out] */ ULONG *pcEltFetched);
  2615. HRESULT ( STDMETHODCALLTYPE *Skip )(
  2616. IEnumHNetPortMappingProtocols * This,
  2617. /* [in] */ ULONG cElt);
  2618. HRESULT ( STDMETHODCALLTYPE *Reset )(
  2619. IEnumHNetPortMappingProtocols * This);
  2620. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2621. IEnumHNetPortMappingProtocols * This,
  2622. /* [out] */ IEnumHNetPortMappingProtocols **ppEnum);
  2623. END_INTERFACE
  2624. } IEnumHNetPortMappingProtocolsVtbl;
  2625. interface IEnumHNetPortMappingProtocols
  2626. {
  2627. CONST_VTBL struct IEnumHNetPortMappingProtocolsVtbl *lpVtbl;
  2628. };
  2629. #ifdef COBJMACROS
  2630. #define IEnumHNetPortMappingProtocols_QueryInterface(This,riid,ppvObject) \
  2631. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2632. #define IEnumHNetPortMappingProtocols_AddRef(This) \
  2633. (This)->lpVtbl -> AddRef(This)
  2634. #define IEnumHNetPortMappingProtocols_Release(This) \
  2635. (This)->lpVtbl -> Release(This)
  2636. #define IEnumHNetPortMappingProtocols_Next(This,cElt,rgElt,pcEltFetched) \
  2637. (This)->lpVtbl -> Next(This,cElt,rgElt,pcEltFetched)
  2638. #define IEnumHNetPortMappingProtocols_Skip(This,cElt) \
  2639. (This)->lpVtbl -> Skip(This,cElt)
  2640. #define IEnumHNetPortMappingProtocols_Reset(This) \
  2641. (This)->lpVtbl -> Reset(This)
  2642. #define IEnumHNetPortMappingProtocols_Clone(This,ppEnum) \
  2643. (This)->lpVtbl -> Clone(This,ppEnum)
  2644. #endif /* COBJMACROS */
  2645. #endif /* C style interface */
  2646. HRESULT STDMETHODCALLTYPE IEnumHNetPortMappingProtocols_Next_Proxy(
  2647. IEnumHNetPortMappingProtocols * This,
  2648. /* [in] */ ULONG cElt,
  2649. /* [length_is][size_is][out] */ IHNetPortMappingProtocol **rgElt,
  2650. /* [out] */ ULONG *pcEltFetched);
  2651. void __RPC_STUB IEnumHNetPortMappingProtocols_Next_Stub(
  2652. IRpcStubBuffer *This,
  2653. IRpcChannelBuffer *_pRpcChannelBuffer,
  2654. PRPC_MESSAGE _pRpcMessage,
  2655. DWORD *_pdwStubPhase);
  2656. HRESULT STDMETHODCALLTYPE IEnumHNetPortMappingProtocols_Skip_Proxy(
  2657. IEnumHNetPortMappingProtocols * This,
  2658. /* [in] */ ULONG cElt);
  2659. void __RPC_STUB IEnumHNetPortMappingProtocols_Skip_Stub(
  2660. IRpcStubBuffer *This,
  2661. IRpcChannelBuffer *_pRpcChannelBuffer,
  2662. PRPC_MESSAGE _pRpcMessage,
  2663. DWORD *_pdwStubPhase);
  2664. HRESULT STDMETHODCALLTYPE IEnumHNetPortMappingProtocols_Reset_Proxy(
  2665. IEnumHNetPortMappingProtocols * This);
  2666. void __RPC_STUB IEnumHNetPortMappingProtocols_Reset_Stub(
  2667. IRpcStubBuffer *This,
  2668. IRpcChannelBuffer *_pRpcChannelBuffer,
  2669. PRPC_MESSAGE _pRpcMessage,
  2670. DWORD *_pdwStubPhase);
  2671. HRESULT STDMETHODCALLTYPE IEnumHNetPortMappingProtocols_Clone_Proxy(
  2672. IEnumHNetPortMappingProtocols * This,
  2673. /* [out] */ IEnumHNetPortMappingProtocols **ppEnum);
  2674. void __RPC_STUB IEnumHNetPortMappingProtocols_Clone_Stub(
  2675. IRpcStubBuffer *This,
  2676. IRpcChannelBuffer *_pRpcChannelBuffer,
  2677. PRPC_MESSAGE _pRpcMessage,
  2678. DWORD *_pdwStubPhase);
  2679. #endif /* __IEnumHNetPortMappingProtocols_INTERFACE_DEFINED__ */
  2680. #ifndef __IEnumHNetPortMappingBindings_INTERFACE_DEFINED__
  2681. #define __IEnumHNetPortMappingBindings_INTERFACE_DEFINED__
  2682. /* interface IEnumHNetPortMappingBindings */
  2683. /* [unique][uuid][object][local] */
  2684. EXTERN_C const IID IID_IEnumHNetPortMappingBindings;
  2685. #if defined(__cplusplus) && !defined(CINTERFACE)
  2686. MIDL_INTERFACE("85D18B81-3032-11D4-9348-00C04F8EEB71")
  2687. IEnumHNetPortMappingBindings : public IUnknown
  2688. {
  2689. public:
  2690. virtual HRESULT STDMETHODCALLTYPE Next(
  2691. /* [in] */ ULONG cElt,
  2692. /* [length_is][size_is][out] */ IHNetPortMappingBinding **rgElt,
  2693. /* [out] */ ULONG *pcEltFetched) = 0;
  2694. virtual HRESULT STDMETHODCALLTYPE Skip(
  2695. /* [in] */ ULONG cElt) = 0;
  2696. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2697. virtual HRESULT STDMETHODCALLTYPE Clone(
  2698. /* [out] */ IEnumHNetPortMappingBindings **ppEnum) = 0;
  2699. };
  2700. #else /* C style interface */
  2701. typedef struct IEnumHNetPortMappingBindingsVtbl
  2702. {
  2703. BEGIN_INTERFACE
  2704. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2705. IEnumHNetPortMappingBindings * This,
  2706. /* [in] */ REFIID riid,
  2707. /* [iid_is][out] */ void **ppvObject);
  2708. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2709. IEnumHNetPortMappingBindings * This);
  2710. ULONG ( STDMETHODCALLTYPE *Release )(
  2711. IEnumHNetPortMappingBindings * This);
  2712. HRESULT ( STDMETHODCALLTYPE *Next )(
  2713. IEnumHNetPortMappingBindings * This,
  2714. /* [in] */ ULONG cElt,
  2715. /* [length_is][size_is][out] */ IHNetPortMappingBinding **rgElt,
  2716. /* [out] */ ULONG *pcEltFetched);
  2717. HRESULT ( STDMETHODCALLTYPE *Skip )(
  2718. IEnumHNetPortMappingBindings * This,
  2719. /* [in] */ ULONG cElt);
  2720. HRESULT ( STDMETHODCALLTYPE *Reset )(
  2721. IEnumHNetPortMappingBindings * This);
  2722. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2723. IEnumHNetPortMappingBindings * This,
  2724. /* [out] */ IEnumHNetPortMappingBindings **ppEnum);
  2725. END_INTERFACE
  2726. } IEnumHNetPortMappingBindingsVtbl;
  2727. interface IEnumHNetPortMappingBindings
  2728. {
  2729. CONST_VTBL struct IEnumHNetPortMappingBindingsVtbl *lpVtbl;
  2730. };
  2731. #ifdef COBJMACROS
  2732. #define IEnumHNetPortMappingBindings_QueryInterface(This,riid,ppvObject) \
  2733. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2734. #define IEnumHNetPortMappingBindings_AddRef(This) \
  2735. (This)->lpVtbl -> AddRef(This)
  2736. #define IEnumHNetPortMappingBindings_Release(This) \
  2737. (This)->lpVtbl -> Release(This)
  2738. #define IEnumHNetPortMappingBindings_Next(This,cElt,rgElt,pcEltFetched) \
  2739. (This)->lpVtbl -> Next(This,cElt,rgElt,pcEltFetched)
  2740. #define IEnumHNetPortMappingBindings_Skip(This,cElt) \
  2741. (This)->lpVtbl -> Skip(This,cElt)
  2742. #define IEnumHNetPortMappingBindings_Reset(This) \
  2743. (This)->lpVtbl -> Reset(This)
  2744. #define IEnumHNetPortMappingBindings_Clone(This,ppEnum) \
  2745. (This)->lpVtbl -> Clone(This,ppEnum)
  2746. #endif /* COBJMACROS */
  2747. #endif /* C style interface */
  2748. HRESULT STDMETHODCALLTYPE IEnumHNetPortMappingBindings_Next_Proxy(
  2749. IEnumHNetPortMappingBindings * This,
  2750. /* [in] */ ULONG cElt,
  2751. /* [length_is][size_is][out] */ IHNetPortMappingBinding **rgElt,
  2752. /* [out] */ ULONG *pcEltFetched);
  2753. void __RPC_STUB IEnumHNetPortMappingBindings_Next_Stub(
  2754. IRpcStubBuffer *This,
  2755. IRpcChannelBuffer *_pRpcChannelBuffer,
  2756. PRPC_MESSAGE _pRpcMessage,
  2757. DWORD *_pdwStubPhase);
  2758. HRESULT STDMETHODCALLTYPE IEnumHNetPortMappingBindings_Skip_Proxy(
  2759. IEnumHNetPortMappingBindings * This,
  2760. /* [in] */ ULONG cElt);
  2761. void __RPC_STUB IEnumHNetPortMappingBindings_Skip_Stub(
  2762. IRpcStubBuffer *This,
  2763. IRpcChannelBuffer *_pRpcChannelBuffer,
  2764. PRPC_MESSAGE _pRpcMessage,
  2765. DWORD *_pdwStubPhase);
  2766. HRESULT STDMETHODCALLTYPE IEnumHNetPortMappingBindings_Reset_Proxy(
  2767. IEnumHNetPortMappingBindings * This);
  2768. void __RPC_STUB IEnumHNetPortMappingBindings_Reset_Stub(
  2769. IRpcStubBuffer *This,
  2770. IRpcChannelBuffer *_pRpcChannelBuffer,
  2771. PRPC_MESSAGE _pRpcMessage,
  2772. DWORD *_pdwStubPhase);
  2773. HRESULT STDMETHODCALLTYPE IEnumHNetPortMappingBindings_Clone_Proxy(
  2774. IEnumHNetPortMappingBindings * This,
  2775. /* [out] */ IEnumHNetPortMappingBindings **ppEnum);
  2776. void __RPC_STUB IEnumHNetPortMappingBindings_Clone_Stub(
  2777. IRpcStubBuffer *This,
  2778. IRpcChannelBuffer *_pRpcChannelBuffer,
  2779. PRPC_MESSAGE _pRpcMessage,
  2780. DWORD *_pdwStubPhase);
  2781. #endif /* __IEnumHNetPortMappingBindings_INTERFACE_DEFINED__ */
  2782. #ifndef __IEnumHNetBridgedConnections_INTERFACE_DEFINED__
  2783. #define __IEnumHNetBridgedConnections_INTERFACE_DEFINED__
  2784. /* interface IEnumHNetBridgedConnections */
  2785. /* [unique][uuid][object][local] */
  2786. EXTERN_C const IID IID_IEnumHNetBridgedConnections;
  2787. #if defined(__cplusplus) && !defined(CINTERFACE)
  2788. MIDL_INTERFACE("85D18B7D-3032-11D4-9348-00C04F8EEB71")
  2789. IEnumHNetBridgedConnections : public IUnknown
  2790. {
  2791. public:
  2792. virtual HRESULT STDMETHODCALLTYPE Next(
  2793. /* [in] */ ULONG cElt,
  2794. /* [length_is][size_is][out] */ IHNetBridgedConnection **rgElt,
  2795. /* [out] */ ULONG *pcEltFetched) = 0;
  2796. virtual HRESULT STDMETHODCALLTYPE Skip(
  2797. /* [in] */ ULONG cElt) = 0;
  2798. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  2799. virtual HRESULT STDMETHODCALLTYPE Clone(
  2800. /* [out] */ IEnumHNetBridgedConnections **ppEnum) = 0;
  2801. };
  2802. #else /* C style interface */
  2803. typedef struct IEnumHNetBridgedConnectionsVtbl
  2804. {
  2805. BEGIN_INTERFACE
  2806. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2807. IEnumHNetBridgedConnections * This,
  2808. /* [in] */ REFIID riid,
  2809. /* [iid_is][out] */ void **ppvObject);
  2810. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2811. IEnumHNetBridgedConnections * This);
  2812. ULONG ( STDMETHODCALLTYPE *Release )(
  2813. IEnumHNetBridgedConnections * This);
  2814. HRESULT ( STDMETHODCALLTYPE *Next )(
  2815. IEnumHNetBridgedConnections * This,
  2816. /* [in] */ ULONG cElt,
  2817. /* [length_is][size_is][out] */ IHNetBridgedConnection **rgElt,
  2818. /* [out] */ ULONG *pcEltFetched);
  2819. HRESULT ( STDMETHODCALLTYPE *Skip )(
  2820. IEnumHNetBridgedConnections * This,
  2821. /* [in] */ ULONG cElt);
  2822. HRESULT ( STDMETHODCALLTYPE *Reset )(
  2823. IEnumHNetBridgedConnections * This);
  2824. HRESULT ( STDMETHODCALLTYPE *Clone )(
  2825. IEnumHNetBridgedConnections * This,
  2826. /* [out] */ IEnumHNetBridgedConnections **ppEnum);
  2827. END_INTERFACE
  2828. } IEnumHNetBridgedConnectionsVtbl;
  2829. interface IEnumHNetBridgedConnections
  2830. {
  2831. CONST_VTBL struct IEnumHNetBridgedConnectionsVtbl *lpVtbl;
  2832. };
  2833. #ifdef COBJMACROS
  2834. #define IEnumHNetBridgedConnections_QueryInterface(This,riid,ppvObject) \
  2835. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2836. #define IEnumHNetBridgedConnections_AddRef(This) \
  2837. (This)->lpVtbl -> AddRef(This)
  2838. #define IEnumHNetBridgedConnections_Release(This) \
  2839. (This)->lpVtbl -> Release(This)
  2840. #define IEnumHNetBridgedConnections_Next(This,cElt,rgElt,pcEltFetched) \
  2841. (This)->lpVtbl -> Next(This,cElt,rgElt,pcEltFetched)
  2842. #define IEnumHNetBridgedConnections_Skip(This,cElt) \
  2843. (This)->lpVtbl -> Skip(This,cElt)
  2844. #define IEnumHNetBridgedConnections_Reset(This) \
  2845. (This)->lpVtbl -> Reset(This)
  2846. #define IEnumHNetBridgedConnections_Clone(This,ppEnum) \
  2847. (This)->lpVtbl -> Clone(This,ppEnum)
  2848. #endif /* COBJMACROS */
  2849. #endif /* C style interface */
  2850. HRESULT STDMETHODCALLTYPE IEnumHNetBridgedConnections_Next_Proxy(
  2851. IEnumHNetBridgedConnections * This,
  2852. /* [in] */ ULONG cElt,
  2853. /* [length_is][size_is][out] */ IHNetBridgedConnection **rgElt,
  2854. /* [out] */ ULONG *pcEltFetched);
  2855. void __RPC_STUB IEnumHNetBridgedConnections_Next_Stub(
  2856. IRpcStubBuffer *This,
  2857. IRpcChannelBuffer *_pRpcChannelBuffer,
  2858. PRPC_MESSAGE _pRpcMessage,
  2859. DWORD *_pdwStubPhase);
  2860. HRESULT STDMETHODCALLTYPE IEnumHNetBridgedConnections_Skip_Proxy(
  2861. IEnumHNetBridgedConnections * This,
  2862. /* [in] */ ULONG cElt);
  2863. void __RPC_STUB IEnumHNetBridgedConnections_Skip_Stub(
  2864. IRpcStubBuffer *This,
  2865. IRpcChannelBuffer *_pRpcChannelBuffer,
  2866. PRPC_MESSAGE _pRpcMessage,
  2867. DWORD *_pdwStubPhase);
  2868. HRESULT STDMETHODCALLTYPE IEnumHNetBridgedConnections_Reset_Proxy(
  2869. IEnumHNetBridgedConnections * This);
  2870. void __RPC_STUB IEnumHNetBridgedConnections_Reset_Stub(
  2871. IRpcStubBuffer *This,
  2872. IRpcChannelBuffer *_pRpcChannelBuffer,
  2873. PRPC_MESSAGE _pRpcMessage,
  2874. DWORD *_pdwStubPhase);
  2875. HRESULT STDMETHODCALLTYPE IEnumHNetBridgedConnections_Clone_Proxy(
  2876. IEnumHNetBridgedConnections * This,
  2877. /* [out] */ IEnumHNetBridgedConnections **ppEnum);
  2878. void __RPC_STUB IEnumHNetBridgedConnections_Clone_Stub(
  2879. IRpcStubBuffer *This,
  2880. IRpcChannelBuffer *_pRpcChannelBuffer,
  2881. PRPC_MESSAGE _pRpcMessage,
  2882. DWORD *_pdwStubPhase);
  2883. #endif /* __IEnumHNetBridgedConnections_INTERFACE_DEFINED__ */
  2884. /* interface __MIDL_itf_hnetcfg_0182 */
  2885. /* [local] */
  2886. #ifndef NOTIFYFORMATBUFFERSIZE
  2887. #define NOTIFYFORMATBUFFERSIZE 1024
  2888. #endif
  2889. #ifndef HNWCALLBACKBUFFERSIZE
  2890. #define HNWCALLBACKBUFFERSIZE 1024
  2891. #endif
  2892. typedef VOID (STDMETHODCALLTYPE HNWCALLBACK)(LPCWSTR pszLogEntry, LPARAM lParam);
  2893. typedef HNWCALLBACK *LPHNWCALLBACK;
  2894. HRESULT APIENTRY
  2895. HNetGetShareAndBridgeSettings(
  2896. OUT INetConnection **ppNetPublicConnection,
  2897. OUT INetConnection ***ppNetPrivateConnection,
  2898. OUT BOOLEAN *pbSharePublicConnection,
  2899. OUT BOOLEAN *pbFirewallPublicConnection
  2900. );
  2901. HRESULT APIENTRY
  2902. HNetSetShareAndBridgeSettings(
  2903. IN INetConnection *pNetPublicConnection,
  2904. IN INetConnection *pNetPrivateConnection[],
  2905. IN BOOLEAN bSharePublicConnection,
  2906. IN BOOLEAN bFirewallPublicConnection,
  2907. IN LPHNWCALLBACK lpHnwCallback,
  2908. IN LPARAM lpContext,
  2909. OUT INetConnection **pNetPrivateInterface
  2910. );
  2911. typedef HRESULT (APIENTRY *LPFNHNETSETSHAREANDBRIDGESETTINGS)(
  2912. INetConnection *pNetPublicConnection,
  2913. INetConnection *pNetPrivateConnection[],
  2914. BOOLEAN bSharePublicConnection,
  2915. BOOLEAN bFirewallPublicConnection,
  2916. LPHNWCALLBACK lpHnwCallback,
  2917. LPARAM lpContext,
  2918. INetConnection **pNetPrivateInterface );
  2919. HRESULT APIENTRY
  2920. ObtainIcsErrorConditions(
  2921. IN LPHNWCALLBACK lpHnwCallback,
  2922. IN LPARAM lpContext );
  2923. BOOL APIENTRY
  2924. HNetSharedAccessSettingsDlg(
  2925. IN BOOL fSharedAccessMode,
  2926. IN HWND hwndOwner );
  2927. BOOL APIENTRY
  2928. HNetSharingAndFirewallSettingsDlg(
  2929. IN HWND hwndOwner,
  2930. IN IHNetCfgMgr *pHNetCfgMgr,
  2931. IN BOOL fShowFwOnlySettings,
  2932. IN OPTIONAL IHNetConnection *pHNetConn);
  2933. extern RPC_IF_HANDLE __MIDL_itf_hnetcfg_0182_v0_0_c_ifspec;
  2934. extern RPC_IF_HANDLE __MIDL_itf_hnetcfg_0182_v0_0_s_ifspec;
  2935. /* Additional Prototypes for ALL interfaces */
  2936. /* end of Additional Prototypes */
  2937. #ifdef __cplusplus
  2938. }
  2939. #endif
  2940. #endif