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.

2065 lines
63 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 alg.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 __alg_h__
  27. #define __alg_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IAdapterInfo_FWD_DEFINED__
  33. #define __IAdapterInfo_FWD_DEFINED__
  34. typedef interface IAdapterInfo IAdapterInfo;
  35. #endif /* __IAdapterInfo_FWD_DEFINED__ */
  36. #ifndef __IPendingProxyConnection_FWD_DEFINED__
  37. #define __IPendingProxyConnection_FWD_DEFINED__
  38. typedef interface IPendingProxyConnection IPendingProxyConnection;
  39. #endif /* __IPendingProxyConnection_FWD_DEFINED__ */
  40. #ifndef __IDataChannel_FWD_DEFINED__
  41. #define __IDataChannel_FWD_DEFINED__
  42. typedef interface IDataChannel IDataChannel;
  43. #endif /* __IDataChannel_FWD_DEFINED__ */
  44. #ifndef __IPersistentDataChannel_FWD_DEFINED__
  45. #define __IPersistentDataChannel_FWD_DEFINED__
  46. typedef interface IPersistentDataChannel IPersistentDataChannel;
  47. #endif /* __IPersistentDataChannel_FWD_DEFINED__ */
  48. #ifndef __IPrimaryControlChannel_FWD_DEFINED__
  49. #define __IPrimaryControlChannel_FWD_DEFINED__
  50. typedef interface IPrimaryControlChannel IPrimaryControlChannel;
  51. #endif /* __IPrimaryControlChannel_FWD_DEFINED__ */
  52. #ifndef __ISecondaryControlChannel_FWD_DEFINED__
  53. #define __ISecondaryControlChannel_FWD_DEFINED__
  54. typedef interface ISecondaryControlChannel ISecondaryControlChannel;
  55. #endif /* __ISecondaryControlChannel_FWD_DEFINED__ */
  56. #ifndef __IEnumAdapterInfo_FWD_DEFINED__
  57. #define __IEnumAdapterInfo_FWD_DEFINED__
  58. typedef interface IEnumAdapterInfo IEnumAdapterInfo;
  59. #endif /* __IEnumAdapterInfo_FWD_DEFINED__ */
  60. #ifndef __IAdapterNotificationSink_FWD_DEFINED__
  61. #define __IAdapterNotificationSink_FWD_DEFINED__
  62. typedef interface IAdapterNotificationSink IAdapterNotificationSink;
  63. #endif /* __IAdapterNotificationSink_FWD_DEFINED__ */
  64. #ifndef __IApplicationGatewayServices_FWD_DEFINED__
  65. #define __IApplicationGatewayServices_FWD_DEFINED__
  66. typedef interface IApplicationGatewayServices IApplicationGatewayServices;
  67. #endif /* __IApplicationGatewayServices_FWD_DEFINED__ */
  68. #ifndef __IApplicationGateway_FWD_DEFINED__
  69. #define __IApplicationGateway_FWD_DEFINED__
  70. typedef interface IApplicationGateway IApplicationGateway;
  71. #endif /* __IApplicationGateway_FWD_DEFINED__ */
  72. #ifndef __ApplicationGatewayServices_FWD_DEFINED__
  73. #define __ApplicationGatewayServices_FWD_DEFINED__
  74. #ifdef __cplusplus
  75. typedef class ApplicationGatewayServices ApplicationGatewayServices;
  76. #else
  77. typedef struct ApplicationGatewayServices ApplicationGatewayServices;
  78. #endif /* __cplusplus */
  79. #endif /* __ApplicationGatewayServices_FWD_DEFINED__ */
  80. #ifndef __PrimaryControlChannel_FWD_DEFINED__
  81. #define __PrimaryControlChannel_FWD_DEFINED__
  82. #ifdef __cplusplus
  83. typedef class PrimaryControlChannel PrimaryControlChannel;
  84. #else
  85. typedef struct PrimaryControlChannel PrimaryControlChannel;
  86. #endif /* __cplusplus */
  87. #endif /* __PrimaryControlChannel_FWD_DEFINED__ */
  88. #ifndef __SecondaryControlChannel_FWD_DEFINED__
  89. #define __SecondaryControlChannel_FWD_DEFINED__
  90. #ifdef __cplusplus
  91. typedef class SecondaryControlChannel SecondaryControlChannel;
  92. #else
  93. typedef struct SecondaryControlChannel SecondaryControlChannel;
  94. #endif /* __cplusplus */
  95. #endif /* __SecondaryControlChannel_FWD_DEFINED__ */
  96. #ifndef __AdapterInfo_FWD_DEFINED__
  97. #define __AdapterInfo_FWD_DEFINED__
  98. #ifdef __cplusplus
  99. typedef class AdapterInfo AdapterInfo;
  100. #else
  101. typedef struct AdapterInfo AdapterInfo;
  102. #endif /* __cplusplus */
  103. #endif /* __AdapterInfo_FWD_DEFINED__ */
  104. #ifndef __EnumAdapterInfo_FWD_DEFINED__
  105. #define __EnumAdapterInfo_FWD_DEFINED__
  106. #ifdef __cplusplus
  107. typedef class EnumAdapterInfo EnumAdapterInfo;
  108. #else
  109. typedef struct EnumAdapterInfo EnumAdapterInfo;
  110. #endif /* __cplusplus */
  111. #endif /* __EnumAdapterInfo_FWD_DEFINED__ */
  112. #ifndef __PendingProxyConnection_FWD_DEFINED__
  113. #define __PendingProxyConnection_FWD_DEFINED__
  114. #ifdef __cplusplus
  115. typedef class PendingProxyConnection PendingProxyConnection;
  116. #else
  117. typedef struct PendingProxyConnection PendingProxyConnection;
  118. #endif /* __cplusplus */
  119. #endif /* __PendingProxyConnection_FWD_DEFINED__ */
  120. #ifndef __DataChannel_FWD_DEFINED__
  121. #define __DataChannel_FWD_DEFINED__
  122. #ifdef __cplusplus
  123. typedef class DataChannel DataChannel;
  124. #else
  125. typedef struct DataChannel DataChannel;
  126. #endif /* __cplusplus */
  127. #endif /* __DataChannel_FWD_DEFINED__ */
  128. #ifndef __PersistentDataChannel_FWD_DEFINED__
  129. #define __PersistentDataChannel_FWD_DEFINED__
  130. #ifdef __cplusplus
  131. typedef class PersistentDataChannel PersistentDataChannel;
  132. #else
  133. typedef struct PersistentDataChannel PersistentDataChannel;
  134. #endif /* __cplusplus */
  135. #endif /* __PersistentDataChannel_FWD_DEFINED__ */
  136. /* header files for imported files */
  137. #include "oaidl.h"
  138. #include "ocidl.h"
  139. #ifdef __cplusplus
  140. extern "C"{
  141. #endif
  142. void * __RPC_USER MIDL_user_allocate(size_t);
  143. void __RPC_USER MIDL_user_free( void * );
  144. /* interface __MIDL_itf_alg_0000 */
  145. /* [local] */
  146. //+-------------------------------------------------------------------------
  147. //
  148. // Microsoft Windows
  149. // Copyright (C) Microsoft Corporation, 1992-2001.
  150. //
  151. //--------------------------------------------------------------------------
  152. // MODULE: alg.h
  153. //
  154. #define ALG_MAXIMUM_PORT_RANGE_SIZE ( 10 )
  155. typedef
  156. enum _ALG_PROTOCOL
  157. { eALG_TCP = 0x1,
  158. eALG_UDP = 0x2
  159. } ALG_PROTOCOL;
  160. typedef
  161. enum _ALG_CAPTURE
  162. { eALG_SOURCE_CAPTURE = 0x1,
  163. eALG_DESTINATION_CAPTURE = 0x2
  164. } ALG_CAPTURE;
  165. typedef
  166. enum _ALG_DIRECTION
  167. { eALG_INBOUND = 0x1,
  168. eALG_OUTBOUND = 0x2,
  169. eALG_BOTH = 0x3
  170. } ALG_DIRECTION;
  171. typedef
  172. enum _ALG_ADAPTER_TYPE
  173. { eALG_PRIVATE = 0x1,
  174. eALG_BOUNDARY = 0x2,
  175. eALG_FIREWALLED = 0x4
  176. } ALG_ADAPTER_TYPE;
  177. typedef
  178. enum _ALG_NOTIFICATION
  179. { eALG_NONE = 0,
  180. eALG_SESSION_CREATION = 0x1,
  181. eALG_SESSION_DELETION = 0x2,
  182. eALG_SESSION_BOTH = 0x3
  183. } ALG_NOTIFICATION;
  184. typedef struct _ALG_PRIMARY_CHANNEL_PROPERTIES
  185. {
  186. ALG_PROTOCOL eProtocol;
  187. USHORT usCapturePort;
  188. ALG_CAPTURE eCaptureType;
  189. BOOL fCaptureInbound;
  190. ULONG ulListeningAddress;
  191. USHORT usListeningPort;
  192. } ALG_PRIMARY_CHANNEL_PROPERTIES;
  193. typedef struct _ALG_SECONDARY_CHANNEL_PROPERTIES
  194. {
  195. ALG_PROTOCOL eProtocol;
  196. ULONG ulPrivateAddress;
  197. USHORT usPrivatePort;
  198. ULONG ulPublicAddress;
  199. USHORT usPublicPort;
  200. ULONG ulRemoteAddress;
  201. USHORT usRemotePort;
  202. ULONG ulListenAddress;
  203. USHORT usListenPort;
  204. ALG_DIRECTION eDirection;
  205. BOOL fPersistent;
  206. } ALG_SECONDARY_CHANNEL_PROPERTIES;
  207. typedef struct _ALG_DATA_CHANNEL_PROPERTIES
  208. {
  209. ALG_PROTOCOL eProtocol;
  210. ULONG ulPrivateAddress;
  211. USHORT usPrivatePort;
  212. ULONG ulPublicAddress;
  213. USHORT usPublicPort;
  214. ULONG ulRemoteAddress;
  215. USHORT usRemotePort;
  216. ALG_DIRECTION eDirection;
  217. ALG_NOTIFICATION eDesiredNotification;
  218. } ALG_DATA_CHANNEL_PROPERTIES;
  219. typedef struct _ALG_PERSISTENT_DATA_CHANNEL_PROPERTIES
  220. {
  221. ALG_PROTOCOL eProtocol;
  222. ULONG ulPrivateAddress;
  223. USHORT usPrivatePort;
  224. ULONG ulPublicAddress;
  225. USHORT usPublicPort;
  226. ULONG ulRemoteAddress;
  227. USHORT usRemotePort;
  228. ALG_DIRECTION eDirection;
  229. } ALG_PERSISTENT_DATA_CHANNEL_PROPERTIES;
  230. extern RPC_IF_HANDLE __MIDL_itf_alg_0000_v0_0_c_ifspec;
  231. extern RPC_IF_HANDLE __MIDL_itf_alg_0000_v0_0_s_ifspec;
  232. #ifndef __IAdapterInfo_INTERFACE_DEFINED__
  233. #define __IAdapterInfo_INTERFACE_DEFINED__
  234. /* interface IAdapterInfo */
  235. /* [unique][uuid][object] */
  236. EXTERN_C const IID IID_IAdapterInfo;
  237. #if defined(__cplusplus) && !defined(CINTERFACE)
  238. MIDL_INTERFACE("480BF94A-09FD-4F8A-A3E0-B0700282D84D")
  239. IAdapterInfo : public IUnknown
  240. {
  241. public:
  242. virtual HRESULT STDMETHODCALLTYPE GetAdapterIndex(
  243. /* [out] */ ULONG *pulIndex) = 0;
  244. virtual HRESULT STDMETHODCALLTYPE GetAdapterType(
  245. /* [out] */ ALG_ADAPTER_TYPE *pAdapterType) = 0;
  246. virtual HRESULT STDMETHODCALLTYPE GetAdapterAddresses(
  247. /* [out] */ ULONG *pulAddressCount,
  248. /* [out] */ ULONG **prgAddresses) = 0;
  249. };
  250. #else /* C style interface */
  251. typedef struct IAdapterInfoVtbl
  252. {
  253. BEGIN_INTERFACE
  254. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  255. IAdapterInfo * This,
  256. /* [in] */ REFIID riid,
  257. /* [iid_is][out] */ void **ppvObject);
  258. ULONG ( STDMETHODCALLTYPE *AddRef )(
  259. IAdapterInfo * This);
  260. ULONG ( STDMETHODCALLTYPE *Release )(
  261. IAdapterInfo * This);
  262. HRESULT ( STDMETHODCALLTYPE *GetAdapterIndex )(
  263. IAdapterInfo * This,
  264. /* [out] */ ULONG *pulIndex);
  265. HRESULT ( STDMETHODCALLTYPE *GetAdapterType )(
  266. IAdapterInfo * This,
  267. /* [out] */ ALG_ADAPTER_TYPE *pAdapterType);
  268. HRESULT ( STDMETHODCALLTYPE *GetAdapterAddresses )(
  269. IAdapterInfo * This,
  270. /* [out] */ ULONG *pulAddressCount,
  271. /* [out] */ ULONG **prgAddresses);
  272. END_INTERFACE
  273. } IAdapterInfoVtbl;
  274. interface IAdapterInfo
  275. {
  276. CONST_VTBL struct IAdapterInfoVtbl *lpVtbl;
  277. };
  278. #ifdef COBJMACROS
  279. #define IAdapterInfo_QueryInterface(This,riid,ppvObject) \
  280. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  281. #define IAdapterInfo_AddRef(This) \
  282. (This)->lpVtbl -> AddRef(This)
  283. #define IAdapterInfo_Release(This) \
  284. (This)->lpVtbl -> Release(This)
  285. #define IAdapterInfo_GetAdapterIndex(This,pulIndex) \
  286. (This)->lpVtbl -> GetAdapterIndex(This,pulIndex)
  287. #define IAdapterInfo_GetAdapterType(This,pAdapterType) \
  288. (This)->lpVtbl -> GetAdapterType(This,pAdapterType)
  289. #define IAdapterInfo_GetAdapterAddresses(This,pulAddressCount,prgAddresses) \
  290. (This)->lpVtbl -> GetAdapterAddresses(This,pulAddressCount,prgAddresses)
  291. #endif /* COBJMACROS */
  292. #endif /* C style interface */
  293. HRESULT STDMETHODCALLTYPE IAdapterInfo_GetAdapterIndex_Proxy(
  294. IAdapterInfo * This,
  295. /* [out] */ ULONG *pulIndex);
  296. void __RPC_STUB IAdapterInfo_GetAdapterIndex_Stub(
  297. IRpcStubBuffer *This,
  298. IRpcChannelBuffer *_pRpcChannelBuffer,
  299. PRPC_MESSAGE _pRpcMessage,
  300. DWORD *_pdwStubPhase);
  301. HRESULT STDMETHODCALLTYPE IAdapterInfo_GetAdapterType_Proxy(
  302. IAdapterInfo * This,
  303. /* [out] */ ALG_ADAPTER_TYPE *pAdapterType);
  304. void __RPC_STUB IAdapterInfo_GetAdapterType_Stub(
  305. IRpcStubBuffer *This,
  306. IRpcChannelBuffer *_pRpcChannelBuffer,
  307. PRPC_MESSAGE _pRpcMessage,
  308. DWORD *_pdwStubPhase);
  309. HRESULT STDMETHODCALLTYPE IAdapterInfo_GetAdapterAddresses_Proxy(
  310. IAdapterInfo * This,
  311. /* [out] */ ULONG *pulAddressCount,
  312. /* [out] */ ULONG **prgAddresses);
  313. void __RPC_STUB IAdapterInfo_GetAdapterAddresses_Stub(
  314. IRpcStubBuffer *This,
  315. IRpcChannelBuffer *_pRpcChannelBuffer,
  316. PRPC_MESSAGE _pRpcMessage,
  317. DWORD *_pdwStubPhase);
  318. #endif /* __IAdapterInfo_INTERFACE_DEFINED__ */
  319. #ifndef __IPendingProxyConnection_INTERFACE_DEFINED__
  320. #define __IPendingProxyConnection_INTERFACE_DEFINED__
  321. /* interface IPendingProxyConnection */
  322. /* [unique][uuid][object] */
  323. EXTERN_C const IID IID_IPendingProxyConnection;
  324. #if defined(__cplusplus) && !defined(CINTERFACE)
  325. MIDL_INTERFACE("B68E5043-3E3D-4CC2-B9C1-5F8F88FEE81C")
  326. IPendingProxyConnection : public IUnknown
  327. {
  328. public:
  329. virtual HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  330. };
  331. #else /* C style interface */
  332. typedef struct IPendingProxyConnectionVtbl
  333. {
  334. BEGIN_INTERFACE
  335. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  336. IPendingProxyConnection * This,
  337. /* [in] */ REFIID riid,
  338. /* [iid_is][out] */ void **ppvObject);
  339. ULONG ( STDMETHODCALLTYPE *AddRef )(
  340. IPendingProxyConnection * This);
  341. ULONG ( STDMETHODCALLTYPE *Release )(
  342. IPendingProxyConnection * This);
  343. HRESULT ( STDMETHODCALLTYPE *Cancel )(
  344. IPendingProxyConnection * This);
  345. END_INTERFACE
  346. } IPendingProxyConnectionVtbl;
  347. interface IPendingProxyConnection
  348. {
  349. CONST_VTBL struct IPendingProxyConnectionVtbl *lpVtbl;
  350. };
  351. #ifdef COBJMACROS
  352. #define IPendingProxyConnection_QueryInterface(This,riid,ppvObject) \
  353. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  354. #define IPendingProxyConnection_AddRef(This) \
  355. (This)->lpVtbl -> AddRef(This)
  356. #define IPendingProxyConnection_Release(This) \
  357. (This)->lpVtbl -> Release(This)
  358. #define IPendingProxyConnection_Cancel(This) \
  359. (This)->lpVtbl -> Cancel(This)
  360. #endif /* COBJMACROS */
  361. #endif /* C style interface */
  362. HRESULT STDMETHODCALLTYPE IPendingProxyConnection_Cancel_Proxy(
  363. IPendingProxyConnection * This);
  364. void __RPC_STUB IPendingProxyConnection_Cancel_Stub(
  365. IRpcStubBuffer *This,
  366. IRpcChannelBuffer *_pRpcChannelBuffer,
  367. PRPC_MESSAGE _pRpcMessage,
  368. DWORD *_pdwStubPhase);
  369. #endif /* __IPendingProxyConnection_INTERFACE_DEFINED__ */
  370. #ifndef __IDataChannel_INTERFACE_DEFINED__
  371. #define __IDataChannel_INTERFACE_DEFINED__
  372. /* interface IDataChannel */
  373. /* [local][unique][uuid][object] */
  374. EXTERN_C const IID IID_IDataChannel;
  375. #if defined(__cplusplus) && !defined(CINTERFACE)
  376. MIDL_INTERFACE("AD42D12A-4AD0-4856-919E-E854C91D1856")
  377. IDataChannel : public IUnknown
  378. {
  379. public:
  380. virtual HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  381. virtual HRESULT STDMETHODCALLTYPE GetChannelProperties(
  382. /* [out] */ ALG_DATA_CHANNEL_PROPERTIES **ppProperties) = 0;
  383. virtual HRESULT STDMETHODCALLTYPE GetSessionCreationEventHandle(
  384. /* [out] */ HANDLE *pHandle) = 0;
  385. virtual HRESULT STDMETHODCALLTYPE GetSessionDeletionEventHandle(
  386. /* [out] */ HANDLE *pHandle) = 0;
  387. };
  388. #else /* C style interface */
  389. typedef struct IDataChannelVtbl
  390. {
  391. BEGIN_INTERFACE
  392. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  393. IDataChannel * This,
  394. /* [in] */ REFIID riid,
  395. /* [iid_is][out] */ void **ppvObject);
  396. ULONG ( STDMETHODCALLTYPE *AddRef )(
  397. IDataChannel * This);
  398. ULONG ( STDMETHODCALLTYPE *Release )(
  399. IDataChannel * This);
  400. HRESULT ( STDMETHODCALLTYPE *Cancel )(
  401. IDataChannel * This);
  402. HRESULT ( STDMETHODCALLTYPE *GetChannelProperties )(
  403. IDataChannel * This,
  404. /* [out] */ ALG_DATA_CHANNEL_PROPERTIES **ppProperties);
  405. HRESULT ( STDMETHODCALLTYPE *GetSessionCreationEventHandle )(
  406. IDataChannel * This,
  407. /* [out] */ HANDLE *pHandle);
  408. HRESULT ( STDMETHODCALLTYPE *GetSessionDeletionEventHandle )(
  409. IDataChannel * This,
  410. /* [out] */ HANDLE *pHandle);
  411. END_INTERFACE
  412. } IDataChannelVtbl;
  413. interface IDataChannel
  414. {
  415. CONST_VTBL struct IDataChannelVtbl *lpVtbl;
  416. };
  417. #ifdef COBJMACROS
  418. #define IDataChannel_QueryInterface(This,riid,ppvObject) \
  419. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  420. #define IDataChannel_AddRef(This) \
  421. (This)->lpVtbl -> AddRef(This)
  422. #define IDataChannel_Release(This) \
  423. (This)->lpVtbl -> Release(This)
  424. #define IDataChannel_Cancel(This) \
  425. (This)->lpVtbl -> Cancel(This)
  426. #define IDataChannel_GetChannelProperties(This,ppProperties) \
  427. (This)->lpVtbl -> GetChannelProperties(This,ppProperties)
  428. #define IDataChannel_GetSessionCreationEventHandle(This,pHandle) \
  429. (This)->lpVtbl -> GetSessionCreationEventHandle(This,pHandle)
  430. #define IDataChannel_GetSessionDeletionEventHandle(This,pHandle) \
  431. (This)->lpVtbl -> GetSessionDeletionEventHandle(This,pHandle)
  432. #endif /* COBJMACROS */
  433. #endif /* C style interface */
  434. HRESULT STDMETHODCALLTYPE IDataChannel_Cancel_Proxy(
  435. IDataChannel * This);
  436. void __RPC_STUB IDataChannel_Cancel_Stub(
  437. IRpcStubBuffer *This,
  438. IRpcChannelBuffer *_pRpcChannelBuffer,
  439. PRPC_MESSAGE _pRpcMessage,
  440. DWORD *_pdwStubPhase);
  441. HRESULT STDMETHODCALLTYPE IDataChannel_GetChannelProperties_Proxy(
  442. IDataChannel * This,
  443. /* [out] */ ALG_DATA_CHANNEL_PROPERTIES **ppProperties);
  444. void __RPC_STUB IDataChannel_GetChannelProperties_Stub(
  445. IRpcStubBuffer *This,
  446. IRpcChannelBuffer *_pRpcChannelBuffer,
  447. PRPC_MESSAGE _pRpcMessage,
  448. DWORD *_pdwStubPhase);
  449. HRESULT STDMETHODCALLTYPE IDataChannel_GetSessionCreationEventHandle_Proxy(
  450. IDataChannel * This,
  451. /* [out] */ HANDLE *pHandle);
  452. void __RPC_STUB IDataChannel_GetSessionCreationEventHandle_Stub(
  453. IRpcStubBuffer *This,
  454. IRpcChannelBuffer *_pRpcChannelBuffer,
  455. PRPC_MESSAGE _pRpcMessage,
  456. DWORD *_pdwStubPhase);
  457. HRESULT STDMETHODCALLTYPE IDataChannel_GetSessionDeletionEventHandle_Proxy(
  458. IDataChannel * This,
  459. /* [out] */ HANDLE *pHandle);
  460. void __RPC_STUB IDataChannel_GetSessionDeletionEventHandle_Stub(
  461. IRpcStubBuffer *This,
  462. IRpcChannelBuffer *_pRpcChannelBuffer,
  463. PRPC_MESSAGE _pRpcMessage,
  464. DWORD *_pdwStubPhase);
  465. #endif /* __IDataChannel_INTERFACE_DEFINED__ */
  466. #ifndef __IPersistentDataChannel_INTERFACE_DEFINED__
  467. #define __IPersistentDataChannel_INTERFACE_DEFINED__
  468. /* interface IPersistentDataChannel */
  469. /* [unique][uuid][object] */
  470. EXTERN_C const IID IID_IPersistentDataChannel;
  471. #if defined(__cplusplus) && !defined(CINTERFACE)
  472. MIDL_INTERFACE("A180E934-D92A-415D-9144-759F8054E8F6")
  473. IPersistentDataChannel : public IUnknown
  474. {
  475. public:
  476. virtual HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  477. virtual HRESULT STDMETHODCALLTYPE GetChannelProperties(
  478. /* [out] */ ALG_PERSISTENT_DATA_CHANNEL_PROPERTIES **ppProperties) = 0;
  479. };
  480. #else /* C style interface */
  481. typedef struct IPersistentDataChannelVtbl
  482. {
  483. BEGIN_INTERFACE
  484. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  485. IPersistentDataChannel * This,
  486. /* [in] */ REFIID riid,
  487. /* [iid_is][out] */ void **ppvObject);
  488. ULONG ( STDMETHODCALLTYPE *AddRef )(
  489. IPersistentDataChannel * This);
  490. ULONG ( STDMETHODCALLTYPE *Release )(
  491. IPersistentDataChannel * This);
  492. HRESULT ( STDMETHODCALLTYPE *Cancel )(
  493. IPersistentDataChannel * This);
  494. HRESULT ( STDMETHODCALLTYPE *GetChannelProperties )(
  495. IPersistentDataChannel * This,
  496. /* [out] */ ALG_PERSISTENT_DATA_CHANNEL_PROPERTIES **ppProperties);
  497. END_INTERFACE
  498. } IPersistentDataChannelVtbl;
  499. interface IPersistentDataChannel
  500. {
  501. CONST_VTBL struct IPersistentDataChannelVtbl *lpVtbl;
  502. };
  503. #ifdef COBJMACROS
  504. #define IPersistentDataChannel_QueryInterface(This,riid,ppvObject) \
  505. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  506. #define IPersistentDataChannel_AddRef(This) \
  507. (This)->lpVtbl -> AddRef(This)
  508. #define IPersistentDataChannel_Release(This) \
  509. (This)->lpVtbl -> Release(This)
  510. #define IPersistentDataChannel_Cancel(This) \
  511. (This)->lpVtbl -> Cancel(This)
  512. #define IPersistentDataChannel_GetChannelProperties(This,ppProperties) \
  513. (This)->lpVtbl -> GetChannelProperties(This,ppProperties)
  514. #endif /* COBJMACROS */
  515. #endif /* C style interface */
  516. HRESULT STDMETHODCALLTYPE IPersistentDataChannel_Cancel_Proxy(
  517. IPersistentDataChannel * This);
  518. void __RPC_STUB IPersistentDataChannel_Cancel_Stub(
  519. IRpcStubBuffer *This,
  520. IRpcChannelBuffer *_pRpcChannelBuffer,
  521. PRPC_MESSAGE _pRpcMessage,
  522. DWORD *_pdwStubPhase);
  523. HRESULT STDMETHODCALLTYPE IPersistentDataChannel_GetChannelProperties_Proxy(
  524. IPersistentDataChannel * This,
  525. /* [out] */ ALG_PERSISTENT_DATA_CHANNEL_PROPERTIES **ppProperties);
  526. void __RPC_STUB IPersistentDataChannel_GetChannelProperties_Stub(
  527. IRpcStubBuffer *This,
  528. IRpcChannelBuffer *_pRpcChannelBuffer,
  529. PRPC_MESSAGE _pRpcMessage,
  530. DWORD *_pdwStubPhase);
  531. #endif /* __IPersistentDataChannel_INTERFACE_DEFINED__ */
  532. #ifndef __IPrimaryControlChannel_INTERFACE_DEFINED__
  533. #define __IPrimaryControlChannel_INTERFACE_DEFINED__
  534. /* interface IPrimaryControlChannel */
  535. /* [unique][uuid][object] */
  536. EXTERN_C const IID IID_IPrimaryControlChannel;
  537. #if defined(__cplusplus) && !defined(CINTERFACE)
  538. MIDL_INTERFACE("1A2E8B62-9012-4BE6-84AE-32BD66BA657A")
  539. IPrimaryControlChannel : public IUnknown
  540. {
  541. public:
  542. virtual HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  543. virtual HRESULT STDMETHODCALLTYPE GetChannelProperties(
  544. /* [out] */ ALG_PRIMARY_CHANNEL_PROPERTIES **ppProperties) = 0;
  545. virtual HRESULT STDMETHODCALLTYPE GetOriginalDestinationInformation(
  546. /* [in] */ ULONG ulSourceAddress,
  547. /* [in] */ USHORT usSourcePort,
  548. /* [out] */ ULONG *pulOriginalDestinationAddress,
  549. /* [out] */ USHORT *pusOriginalDestinationPort,
  550. /* [out] */ IAdapterInfo **ppReceiveAdapter) = 0;
  551. };
  552. #else /* C style interface */
  553. typedef struct IPrimaryControlChannelVtbl
  554. {
  555. BEGIN_INTERFACE
  556. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  557. IPrimaryControlChannel * This,
  558. /* [in] */ REFIID riid,
  559. /* [iid_is][out] */ void **ppvObject);
  560. ULONG ( STDMETHODCALLTYPE *AddRef )(
  561. IPrimaryControlChannel * This);
  562. ULONG ( STDMETHODCALLTYPE *Release )(
  563. IPrimaryControlChannel * This);
  564. HRESULT ( STDMETHODCALLTYPE *Cancel )(
  565. IPrimaryControlChannel * This);
  566. HRESULT ( STDMETHODCALLTYPE *GetChannelProperties )(
  567. IPrimaryControlChannel * This,
  568. /* [out] */ ALG_PRIMARY_CHANNEL_PROPERTIES **ppProperties);
  569. HRESULT ( STDMETHODCALLTYPE *GetOriginalDestinationInformation )(
  570. IPrimaryControlChannel * This,
  571. /* [in] */ ULONG ulSourceAddress,
  572. /* [in] */ USHORT usSourcePort,
  573. /* [out] */ ULONG *pulOriginalDestinationAddress,
  574. /* [out] */ USHORT *pusOriginalDestinationPort,
  575. /* [out] */ IAdapterInfo **ppReceiveAdapter);
  576. END_INTERFACE
  577. } IPrimaryControlChannelVtbl;
  578. interface IPrimaryControlChannel
  579. {
  580. CONST_VTBL struct IPrimaryControlChannelVtbl *lpVtbl;
  581. };
  582. #ifdef COBJMACROS
  583. #define IPrimaryControlChannel_QueryInterface(This,riid,ppvObject) \
  584. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  585. #define IPrimaryControlChannel_AddRef(This) \
  586. (This)->lpVtbl -> AddRef(This)
  587. #define IPrimaryControlChannel_Release(This) \
  588. (This)->lpVtbl -> Release(This)
  589. #define IPrimaryControlChannel_Cancel(This) \
  590. (This)->lpVtbl -> Cancel(This)
  591. #define IPrimaryControlChannel_GetChannelProperties(This,ppProperties) \
  592. (This)->lpVtbl -> GetChannelProperties(This,ppProperties)
  593. #define IPrimaryControlChannel_GetOriginalDestinationInformation(This,ulSourceAddress,usSourcePort,pulOriginalDestinationAddress,pusOriginalDestinationPort,ppReceiveAdapter) \
  594. (This)->lpVtbl -> GetOriginalDestinationInformation(This,ulSourceAddress,usSourcePort,pulOriginalDestinationAddress,pusOriginalDestinationPort,ppReceiveAdapter)
  595. #endif /* COBJMACROS */
  596. #endif /* C style interface */
  597. HRESULT STDMETHODCALLTYPE IPrimaryControlChannel_Cancel_Proxy(
  598. IPrimaryControlChannel * This);
  599. void __RPC_STUB IPrimaryControlChannel_Cancel_Stub(
  600. IRpcStubBuffer *This,
  601. IRpcChannelBuffer *_pRpcChannelBuffer,
  602. PRPC_MESSAGE _pRpcMessage,
  603. DWORD *_pdwStubPhase);
  604. HRESULT STDMETHODCALLTYPE IPrimaryControlChannel_GetChannelProperties_Proxy(
  605. IPrimaryControlChannel * This,
  606. /* [out] */ ALG_PRIMARY_CHANNEL_PROPERTIES **ppProperties);
  607. void __RPC_STUB IPrimaryControlChannel_GetChannelProperties_Stub(
  608. IRpcStubBuffer *This,
  609. IRpcChannelBuffer *_pRpcChannelBuffer,
  610. PRPC_MESSAGE _pRpcMessage,
  611. DWORD *_pdwStubPhase);
  612. HRESULT STDMETHODCALLTYPE IPrimaryControlChannel_GetOriginalDestinationInformation_Proxy(
  613. IPrimaryControlChannel * This,
  614. /* [in] */ ULONG ulSourceAddress,
  615. /* [in] */ USHORT usSourcePort,
  616. /* [out] */ ULONG *pulOriginalDestinationAddress,
  617. /* [out] */ USHORT *pusOriginalDestinationPort,
  618. /* [out] */ IAdapterInfo **ppReceiveAdapter);
  619. void __RPC_STUB IPrimaryControlChannel_GetOriginalDestinationInformation_Stub(
  620. IRpcStubBuffer *This,
  621. IRpcChannelBuffer *_pRpcChannelBuffer,
  622. PRPC_MESSAGE _pRpcMessage,
  623. DWORD *_pdwStubPhase);
  624. #endif /* __IPrimaryControlChannel_INTERFACE_DEFINED__ */
  625. #ifndef __ISecondaryControlChannel_INTERFACE_DEFINED__
  626. #define __ISecondaryControlChannel_INTERFACE_DEFINED__
  627. /* interface ISecondaryControlChannel */
  628. /* [unique][uuid][object] */
  629. EXTERN_C const IID IID_ISecondaryControlChannel;
  630. #if defined(__cplusplus) && !defined(CINTERFACE)
  631. MIDL_INTERFACE("A23F9D10-714C-41FE-8471-FFB19BC28454")
  632. ISecondaryControlChannel : public IUnknown
  633. {
  634. public:
  635. virtual HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  636. virtual HRESULT STDMETHODCALLTYPE GetChannelProperties(
  637. /* [out] */ ALG_SECONDARY_CHANNEL_PROPERTIES **ppProperties) = 0;
  638. virtual HRESULT STDMETHODCALLTYPE GetOriginalDestinationInformation(
  639. /* [in] */ ULONG ulSourceAddress,
  640. /* [in] */ USHORT usSourcePort,
  641. /* [out] */ ULONG *pulOriginalDestinationAddress,
  642. /* [out] */ USHORT *pusOriginalDestinationPort,
  643. /* [out] */ IAdapterInfo **ppReceiveAdapter) = 0;
  644. };
  645. #else /* C style interface */
  646. typedef struct ISecondaryControlChannelVtbl
  647. {
  648. BEGIN_INTERFACE
  649. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  650. ISecondaryControlChannel * This,
  651. /* [in] */ REFIID riid,
  652. /* [iid_is][out] */ void **ppvObject);
  653. ULONG ( STDMETHODCALLTYPE *AddRef )(
  654. ISecondaryControlChannel * This);
  655. ULONG ( STDMETHODCALLTYPE *Release )(
  656. ISecondaryControlChannel * This);
  657. HRESULT ( STDMETHODCALLTYPE *Cancel )(
  658. ISecondaryControlChannel * This);
  659. HRESULT ( STDMETHODCALLTYPE *GetChannelProperties )(
  660. ISecondaryControlChannel * This,
  661. /* [out] */ ALG_SECONDARY_CHANNEL_PROPERTIES **ppProperties);
  662. HRESULT ( STDMETHODCALLTYPE *GetOriginalDestinationInformation )(
  663. ISecondaryControlChannel * This,
  664. /* [in] */ ULONG ulSourceAddress,
  665. /* [in] */ USHORT usSourcePort,
  666. /* [out] */ ULONG *pulOriginalDestinationAddress,
  667. /* [out] */ USHORT *pusOriginalDestinationPort,
  668. /* [out] */ IAdapterInfo **ppReceiveAdapter);
  669. END_INTERFACE
  670. } ISecondaryControlChannelVtbl;
  671. interface ISecondaryControlChannel
  672. {
  673. CONST_VTBL struct ISecondaryControlChannelVtbl *lpVtbl;
  674. };
  675. #ifdef COBJMACROS
  676. #define ISecondaryControlChannel_QueryInterface(This,riid,ppvObject) \
  677. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  678. #define ISecondaryControlChannel_AddRef(This) \
  679. (This)->lpVtbl -> AddRef(This)
  680. #define ISecondaryControlChannel_Release(This) \
  681. (This)->lpVtbl -> Release(This)
  682. #define ISecondaryControlChannel_Cancel(This) \
  683. (This)->lpVtbl -> Cancel(This)
  684. #define ISecondaryControlChannel_GetChannelProperties(This,ppProperties) \
  685. (This)->lpVtbl -> GetChannelProperties(This,ppProperties)
  686. #define ISecondaryControlChannel_GetOriginalDestinationInformation(This,ulSourceAddress,usSourcePort,pulOriginalDestinationAddress,pusOriginalDestinationPort,ppReceiveAdapter) \
  687. (This)->lpVtbl -> GetOriginalDestinationInformation(This,ulSourceAddress,usSourcePort,pulOriginalDestinationAddress,pusOriginalDestinationPort,ppReceiveAdapter)
  688. #endif /* COBJMACROS */
  689. #endif /* C style interface */
  690. HRESULT STDMETHODCALLTYPE ISecondaryControlChannel_Cancel_Proxy(
  691. ISecondaryControlChannel * This);
  692. void __RPC_STUB ISecondaryControlChannel_Cancel_Stub(
  693. IRpcStubBuffer *This,
  694. IRpcChannelBuffer *_pRpcChannelBuffer,
  695. PRPC_MESSAGE _pRpcMessage,
  696. DWORD *_pdwStubPhase);
  697. HRESULT STDMETHODCALLTYPE ISecondaryControlChannel_GetChannelProperties_Proxy(
  698. ISecondaryControlChannel * This,
  699. /* [out] */ ALG_SECONDARY_CHANNEL_PROPERTIES **ppProperties);
  700. void __RPC_STUB ISecondaryControlChannel_GetChannelProperties_Stub(
  701. IRpcStubBuffer *This,
  702. IRpcChannelBuffer *_pRpcChannelBuffer,
  703. PRPC_MESSAGE _pRpcMessage,
  704. DWORD *_pdwStubPhase);
  705. HRESULT STDMETHODCALLTYPE ISecondaryControlChannel_GetOriginalDestinationInformation_Proxy(
  706. ISecondaryControlChannel * This,
  707. /* [in] */ ULONG ulSourceAddress,
  708. /* [in] */ USHORT usSourcePort,
  709. /* [out] */ ULONG *pulOriginalDestinationAddress,
  710. /* [out] */ USHORT *pusOriginalDestinationPort,
  711. /* [out] */ IAdapterInfo **ppReceiveAdapter);
  712. void __RPC_STUB ISecondaryControlChannel_GetOriginalDestinationInformation_Stub(
  713. IRpcStubBuffer *This,
  714. IRpcChannelBuffer *_pRpcChannelBuffer,
  715. PRPC_MESSAGE _pRpcMessage,
  716. DWORD *_pdwStubPhase);
  717. #endif /* __ISecondaryControlChannel_INTERFACE_DEFINED__ */
  718. #ifndef __IEnumAdapterInfo_INTERFACE_DEFINED__
  719. #define __IEnumAdapterInfo_INTERFACE_DEFINED__
  720. /* interface IEnumAdapterInfo */
  721. /* [unique][uuid][object] */
  722. EXTERN_C const IID IID_IEnumAdapterInfo;
  723. #if defined(__cplusplus) && !defined(CINTERFACE)
  724. MIDL_INTERFACE("A23F9D11-714C-41FE-8471-FFB19BC28454")
  725. IEnumAdapterInfo : public IUnknown
  726. {
  727. public:
  728. virtual HRESULT STDMETHODCALLTYPE Next(
  729. /* [in] */ ULONG celt,
  730. /* [length_is][size_is][out] */ IAdapterInfo **rgAI,
  731. /* [out] */ ULONG *pCeltFetched) = 0;
  732. virtual HRESULT STDMETHODCALLTYPE Skip(
  733. /* [in] */ ULONG celt) = 0;
  734. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  735. virtual HRESULT STDMETHODCALLTYPE Clone(
  736. /* [out] */ IEnumAdapterInfo **ppEnum) = 0;
  737. };
  738. #else /* C style interface */
  739. typedef struct IEnumAdapterInfoVtbl
  740. {
  741. BEGIN_INTERFACE
  742. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  743. IEnumAdapterInfo * This,
  744. /* [in] */ REFIID riid,
  745. /* [iid_is][out] */ void **ppvObject);
  746. ULONG ( STDMETHODCALLTYPE *AddRef )(
  747. IEnumAdapterInfo * This);
  748. ULONG ( STDMETHODCALLTYPE *Release )(
  749. IEnumAdapterInfo * This);
  750. HRESULT ( STDMETHODCALLTYPE *Next )(
  751. IEnumAdapterInfo * This,
  752. /* [in] */ ULONG celt,
  753. /* [length_is][size_is][out] */ IAdapterInfo **rgAI,
  754. /* [out] */ ULONG *pCeltFetched);
  755. HRESULT ( STDMETHODCALLTYPE *Skip )(
  756. IEnumAdapterInfo * This,
  757. /* [in] */ ULONG celt);
  758. HRESULT ( STDMETHODCALLTYPE *Reset )(
  759. IEnumAdapterInfo * This);
  760. HRESULT ( STDMETHODCALLTYPE *Clone )(
  761. IEnumAdapterInfo * This,
  762. /* [out] */ IEnumAdapterInfo **ppEnum);
  763. END_INTERFACE
  764. } IEnumAdapterInfoVtbl;
  765. interface IEnumAdapterInfo
  766. {
  767. CONST_VTBL struct IEnumAdapterInfoVtbl *lpVtbl;
  768. };
  769. #ifdef COBJMACROS
  770. #define IEnumAdapterInfo_QueryInterface(This,riid,ppvObject) \
  771. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  772. #define IEnumAdapterInfo_AddRef(This) \
  773. (This)->lpVtbl -> AddRef(This)
  774. #define IEnumAdapterInfo_Release(This) \
  775. (This)->lpVtbl -> Release(This)
  776. #define IEnumAdapterInfo_Next(This,celt,rgAI,pCeltFetched) \
  777. (This)->lpVtbl -> Next(This,celt,rgAI,pCeltFetched)
  778. #define IEnumAdapterInfo_Skip(This,celt) \
  779. (This)->lpVtbl -> Skip(This,celt)
  780. #define IEnumAdapterInfo_Reset(This) \
  781. (This)->lpVtbl -> Reset(This)
  782. #define IEnumAdapterInfo_Clone(This,ppEnum) \
  783. (This)->lpVtbl -> Clone(This,ppEnum)
  784. #endif /* COBJMACROS */
  785. #endif /* C style interface */
  786. HRESULT STDMETHODCALLTYPE IEnumAdapterInfo_Next_Proxy(
  787. IEnumAdapterInfo * This,
  788. /* [in] */ ULONG celt,
  789. /* [length_is][size_is][out] */ IAdapterInfo **rgAI,
  790. /* [out] */ ULONG *pCeltFetched);
  791. void __RPC_STUB IEnumAdapterInfo_Next_Stub(
  792. IRpcStubBuffer *This,
  793. IRpcChannelBuffer *_pRpcChannelBuffer,
  794. PRPC_MESSAGE _pRpcMessage,
  795. DWORD *_pdwStubPhase);
  796. HRESULT STDMETHODCALLTYPE IEnumAdapterInfo_Skip_Proxy(
  797. IEnumAdapterInfo * This,
  798. /* [in] */ ULONG celt);
  799. void __RPC_STUB IEnumAdapterInfo_Skip_Stub(
  800. IRpcStubBuffer *This,
  801. IRpcChannelBuffer *_pRpcChannelBuffer,
  802. PRPC_MESSAGE _pRpcMessage,
  803. DWORD *_pdwStubPhase);
  804. HRESULT STDMETHODCALLTYPE IEnumAdapterInfo_Reset_Proxy(
  805. IEnumAdapterInfo * This);
  806. void __RPC_STUB IEnumAdapterInfo_Reset_Stub(
  807. IRpcStubBuffer *This,
  808. IRpcChannelBuffer *_pRpcChannelBuffer,
  809. PRPC_MESSAGE _pRpcMessage,
  810. DWORD *_pdwStubPhase);
  811. HRESULT STDMETHODCALLTYPE IEnumAdapterInfo_Clone_Proxy(
  812. IEnumAdapterInfo * This,
  813. /* [out] */ IEnumAdapterInfo **ppEnum);
  814. void __RPC_STUB IEnumAdapterInfo_Clone_Stub(
  815. IRpcStubBuffer *This,
  816. IRpcChannelBuffer *_pRpcChannelBuffer,
  817. PRPC_MESSAGE _pRpcMessage,
  818. DWORD *_pdwStubPhase);
  819. #endif /* __IEnumAdapterInfo_INTERFACE_DEFINED__ */
  820. #ifndef __IAdapterNotificationSink_INTERFACE_DEFINED__
  821. #define __IAdapterNotificationSink_INTERFACE_DEFINED__
  822. /* interface IAdapterNotificationSink */
  823. /* [unique][helpstring][uuid][object] */
  824. EXTERN_C const IID IID_IAdapterNotificationSink;
  825. #if defined(__cplusplus) && !defined(CINTERFACE)
  826. MIDL_INTERFACE("44AB2DC3-23B2-47DE-8228-2E1CCEEB9911")
  827. IAdapterNotificationSink : public IUnknown
  828. {
  829. public:
  830. virtual HRESULT STDMETHODCALLTYPE AdapterAdded(
  831. IAdapterInfo *pAdapter) = 0;
  832. virtual HRESULT STDMETHODCALLTYPE AdapterRemoved(
  833. IAdapterInfo *pAdapter) = 0;
  834. virtual HRESULT STDMETHODCALLTYPE AdapterModified(
  835. IAdapterInfo *pAdapter) = 0;
  836. };
  837. #else /* C style interface */
  838. typedef struct IAdapterNotificationSinkVtbl
  839. {
  840. BEGIN_INTERFACE
  841. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  842. IAdapterNotificationSink * This,
  843. /* [in] */ REFIID riid,
  844. /* [iid_is][out] */ void **ppvObject);
  845. ULONG ( STDMETHODCALLTYPE *AddRef )(
  846. IAdapterNotificationSink * This);
  847. ULONG ( STDMETHODCALLTYPE *Release )(
  848. IAdapterNotificationSink * This);
  849. HRESULT ( STDMETHODCALLTYPE *AdapterAdded )(
  850. IAdapterNotificationSink * This,
  851. IAdapterInfo *pAdapter);
  852. HRESULT ( STDMETHODCALLTYPE *AdapterRemoved )(
  853. IAdapterNotificationSink * This,
  854. IAdapterInfo *pAdapter);
  855. HRESULT ( STDMETHODCALLTYPE *AdapterModified )(
  856. IAdapterNotificationSink * This,
  857. IAdapterInfo *pAdapter);
  858. END_INTERFACE
  859. } IAdapterNotificationSinkVtbl;
  860. interface IAdapterNotificationSink
  861. {
  862. CONST_VTBL struct IAdapterNotificationSinkVtbl *lpVtbl;
  863. };
  864. #ifdef COBJMACROS
  865. #define IAdapterNotificationSink_QueryInterface(This,riid,ppvObject) \
  866. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  867. #define IAdapterNotificationSink_AddRef(This) \
  868. (This)->lpVtbl -> AddRef(This)
  869. #define IAdapterNotificationSink_Release(This) \
  870. (This)->lpVtbl -> Release(This)
  871. #define IAdapterNotificationSink_AdapterAdded(This,pAdapter) \
  872. (This)->lpVtbl -> AdapterAdded(This,pAdapter)
  873. #define IAdapterNotificationSink_AdapterRemoved(This,pAdapter) \
  874. (This)->lpVtbl -> AdapterRemoved(This,pAdapter)
  875. #define IAdapterNotificationSink_AdapterModified(This,pAdapter) \
  876. (This)->lpVtbl -> AdapterModified(This,pAdapter)
  877. #endif /* COBJMACROS */
  878. #endif /* C style interface */
  879. HRESULT STDMETHODCALLTYPE IAdapterNotificationSink_AdapterAdded_Proxy(
  880. IAdapterNotificationSink * This,
  881. IAdapterInfo *pAdapter);
  882. void __RPC_STUB IAdapterNotificationSink_AdapterAdded_Stub(
  883. IRpcStubBuffer *This,
  884. IRpcChannelBuffer *_pRpcChannelBuffer,
  885. PRPC_MESSAGE _pRpcMessage,
  886. DWORD *_pdwStubPhase);
  887. HRESULT STDMETHODCALLTYPE IAdapterNotificationSink_AdapterRemoved_Proxy(
  888. IAdapterNotificationSink * This,
  889. IAdapterInfo *pAdapter);
  890. void __RPC_STUB IAdapterNotificationSink_AdapterRemoved_Stub(
  891. IRpcStubBuffer *This,
  892. IRpcChannelBuffer *_pRpcChannelBuffer,
  893. PRPC_MESSAGE _pRpcMessage,
  894. DWORD *_pdwStubPhase);
  895. HRESULT STDMETHODCALLTYPE IAdapterNotificationSink_AdapterModified_Proxy(
  896. IAdapterNotificationSink * This,
  897. IAdapterInfo *pAdapter);
  898. void __RPC_STUB IAdapterNotificationSink_AdapterModified_Stub(
  899. IRpcStubBuffer *This,
  900. IRpcChannelBuffer *_pRpcChannelBuffer,
  901. PRPC_MESSAGE _pRpcMessage,
  902. DWORD *_pdwStubPhase);
  903. #endif /* __IAdapterNotificationSink_INTERFACE_DEFINED__ */
  904. #ifndef __IApplicationGatewayServices_INTERFACE_DEFINED__
  905. #define __IApplicationGatewayServices_INTERFACE_DEFINED__
  906. /* interface IApplicationGatewayServices */
  907. /* [unique][uuid][object] */
  908. EXTERN_C const IID IID_IApplicationGatewayServices;
  909. #if defined(__cplusplus) && !defined(CINTERFACE)
  910. MIDL_INTERFACE("5134842A-FDCE-485D-93CD-DE1640643BBE")
  911. IApplicationGatewayServices : public IUnknown
  912. {
  913. public:
  914. virtual HRESULT STDMETHODCALLTYPE CreatePrimaryControlChannel(
  915. /* [in] */ ALG_PROTOCOL eProtocol,
  916. /* [in] */ USHORT usPortToCapture,
  917. /* [in] */ ALG_CAPTURE eCaptureType,
  918. /* [in] */ BOOL fCaptureInbound,
  919. /* [in] */ ULONG ulListenAddress,
  920. /* [in] */ USHORT usListenPort,
  921. /* [out] */ IPrimaryControlChannel **ppIControlChannel) = 0;
  922. virtual HRESULT STDMETHODCALLTYPE CreateSecondaryControlChannel(
  923. /* [in] */ ALG_PROTOCOL eProtocol,
  924. /* [in] */ ULONG ulPrivateAddress,
  925. /* [in] */ USHORT usPrivatePort,
  926. /* [in] */ ULONG ulPublicAddress,
  927. /* [in] */ USHORT usPublicPort,
  928. /* [in] */ ULONG ulRemoteAddress,
  929. /* [in] */ USHORT usRemotePort,
  930. /* [in] */ ULONG ulListenAddress,
  931. /* [in] */ USHORT usListenPort,
  932. /* [in] */ ALG_DIRECTION eDirection,
  933. /* [in] */ BOOL fPersistent,
  934. /* [out] */ ISecondaryControlChannel **ppControlChannel) = 0;
  935. virtual HRESULT STDMETHODCALLTYPE GetBestSourceAddressForDestinationAddress(
  936. /* [in] */ ULONG ulDstAddress,
  937. /* [in] */ BOOL fDemandDial,
  938. /* [out] */ ULONG *pulBestSrcAddress) = 0;
  939. virtual HRESULT STDMETHODCALLTYPE PrepareProxyConnection(
  940. /* [in] */ ALG_PROTOCOL eProtocol,
  941. /* [in] */ ULONG ulSrcAddress,
  942. /* [in] */ USHORT usSrcPort,
  943. /* [in] */ ULONG ulDstAddress,
  944. /* [in] */ USHORT usDstPort,
  945. /* [in] */ BOOL fNoTimeout,
  946. /* [out] */ IPendingProxyConnection **ppPendingConnection) = 0;
  947. virtual HRESULT STDMETHODCALLTYPE PrepareSourceModifiedProxyConnection(
  948. /* [in] */ ALG_PROTOCOL eProtocol,
  949. /* [in] */ ULONG ulSrcAddress,
  950. /* [in] */ USHORT usSrcPort,
  951. /* [in] */ ULONG ulDstAddress,
  952. /* [in] */ USHORT usDstPort,
  953. /* [in] */ ULONG ulNewSrcAddress,
  954. /* [in] */ USHORT usNewSourcePort,
  955. /* [out] */ IPendingProxyConnection **ppPendingConnection) = 0;
  956. virtual HRESULT STDMETHODCALLTYPE CreateDataChannel(
  957. /* [in] */ ALG_PROTOCOL eProtocol,
  958. /* [in] */ ULONG ulPrivateAddress,
  959. /* [in] */ USHORT usPrivatePort,
  960. /* [in] */ ULONG ulPublicAddress,
  961. /* [in] */ USHORT usPublicPort,
  962. /* [in] */ ULONG ulRemoteAddress,
  963. /* [in] */ USHORT usRemotePort,
  964. /* [in] */ ALG_DIRECTION eDirection,
  965. /* [in] */ ALG_NOTIFICATION eDesiredNotification,
  966. /* [in] */ BOOL fNoTimeout,
  967. /* [out] */ IDataChannel **ppDataChannel) = 0;
  968. virtual HRESULT STDMETHODCALLTYPE CreatePersistentDataChannel(
  969. /* [in] */ ALG_PROTOCOL eProtocol,
  970. /* [in] */ ULONG ulPrivateAddress,
  971. /* [in] */ USHORT usPrivatePort,
  972. /* [in] */ ULONG ulPublicAddress,
  973. /* [in] */ USHORT usPublicPort,
  974. /* [in] */ ULONG ulRemoteAddress,
  975. /* [in] */ USHORT usRemotePort,
  976. /* [in] */ ALG_DIRECTION eDirection,
  977. /* [out] */ IPersistentDataChannel **ppIPersistentDataChannel) = 0;
  978. virtual HRESULT STDMETHODCALLTYPE ReservePort(
  979. /* [in] */ USHORT usPortCount,
  980. /* [out] */ USHORT *pusReservedPort) = 0;
  981. virtual HRESULT STDMETHODCALLTYPE ReleaseReservedPort(
  982. /* [in] */ USHORT usReservedPortBase,
  983. /* [in] */ USHORT usPortCount) = 0;
  984. virtual HRESULT STDMETHODCALLTYPE EnumerateAdapters(
  985. /* [out] */ IEnumAdapterInfo **ppIEnumAdapterInfo) = 0;
  986. virtual HRESULT STDMETHODCALLTYPE StartAdapterNotifications(
  987. /* [in] */ IAdapterNotificationSink *pSink,
  988. /* [in] */ DWORD *pdwCookie) = 0;
  989. virtual HRESULT STDMETHODCALLTYPE StopAdapterNotifications(
  990. /* [in] */ DWORD dwCookieOfSink) = 0;
  991. };
  992. #else /* C style interface */
  993. typedef struct IApplicationGatewayServicesVtbl
  994. {
  995. BEGIN_INTERFACE
  996. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  997. IApplicationGatewayServices * This,
  998. /* [in] */ REFIID riid,
  999. /* [iid_is][out] */ void **ppvObject);
  1000. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1001. IApplicationGatewayServices * This);
  1002. ULONG ( STDMETHODCALLTYPE *Release )(
  1003. IApplicationGatewayServices * This);
  1004. HRESULT ( STDMETHODCALLTYPE *CreatePrimaryControlChannel )(
  1005. IApplicationGatewayServices * This,
  1006. /* [in] */ ALG_PROTOCOL eProtocol,
  1007. /* [in] */ USHORT usPortToCapture,
  1008. /* [in] */ ALG_CAPTURE eCaptureType,
  1009. /* [in] */ BOOL fCaptureInbound,
  1010. /* [in] */ ULONG ulListenAddress,
  1011. /* [in] */ USHORT usListenPort,
  1012. /* [out] */ IPrimaryControlChannel **ppIControlChannel);
  1013. HRESULT ( STDMETHODCALLTYPE *CreateSecondaryControlChannel )(
  1014. IApplicationGatewayServices * This,
  1015. /* [in] */ ALG_PROTOCOL eProtocol,
  1016. /* [in] */ ULONG ulPrivateAddress,
  1017. /* [in] */ USHORT usPrivatePort,
  1018. /* [in] */ ULONG ulPublicAddress,
  1019. /* [in] */ USHORT usPublicPort,
  1020. /* [in] */ ULONG ulRemoteAddress,
  1021. /* [in] */ USHORT usRemotePort,
  1022. /* [in] */ ULONG ulListenAddress,
  1023. /* [in] */ USHORT usListenPort,
  1024. /* [in] */ ALG_DIRECTION eDirection,
  1025. /* [in] */ BOOL fPersistent,
  1026. /* [out] */ ISecondaryControlChannel **ppControlChannel);
  1027. HRESULT ( STDMETHODCALLTYPE *GetBestSourceAddressForDestinationAddress )(
  1028. IApplicationGatewayServices * This,
  1029. /* [in] */ ULONG ulDstAddress,
  1030. /* [in] */ BOOL fDemandDial,
  1031. /* [out] */ ULONG *pulBestSrcAddress);
  1032. HRESULT ( STDMETHODCALLTYPE *PrepareProxyConnection )(
  1033. IApplicationGatewayServices * This,
  1034. /* [in] */ ALG_PROTOCOL eProtocol,
  1035. /* [in] */ ULONG ulSrcAddress,
  1036. /* [in] */ USHORT usSrcPort,
  1037. /* [in] */ ULONG ulDstAddress,
  1038. /* [in] */ USHORT usDstPort,
  1039. /* [in] */ BOOL fNoTimeout,
  1040. /* [out] */ IPendingProxyConnection **ppPendingConnection);
  1041. HRESULT ( STDMETHODCALLTYPE *PrepareSourceModifiedProxyConnection )(
  1042. IApplicationGatewayServices * This,
  1043. /* [in] */ ALG_PROTOCOL eProtocol,
  1044. /* [in] */ ULONG ulSrcAddress,
  1045. /* [in] */ USHORT usSrcPort,
  1046. /* [in] */ ULONG ulDstAddress,
  1047. /* [in] */ USHORT usDstPort,
  1048. /* [in] */ ULONG ulNewSrcAddress,
  1049. /* [in] */ USHORT usNewSourcePort,
  1050. /* [out] */ IPendingProxyConnection **ppPendingConnection);
  1051. HRESULT ( STDMETHODCALLTYPE *CreateDataChannel )(
  1052. IApplicationGatewayServices * This,
  1053. /* [in] */ ALG_PROTOCOL eProtocol,
  1054. /* [in] */ ULONG ulPrivateAddress,
  1055. /* [in] */ USHORT usPrivatePort,
  1056. /* [in] */ ULONG ulPublicAddress,
  1057. /* [in] */ USHORT usPublicPort,
  1058. /* [in] */ ULONG ulRemoteAddress,
  1059. /* [in] */ USHORT usRemotePort,
  1060. /* [in] */ ALG_DIRECTION eDirection,
  1061. /* [in] */ ALG_NOTIFICATION eDesiredNotification,
  1062. /* [in] */ BOOL fNoTimeout,
  1063. /* [out] */ IDataChannel **ppDataChannel);
  1064. HRESULT ( STDMETHODCALLTYPE *CreatePersistentDataChannel )(
  1065. IApplicationGatewayServices * This,
  1066. /* [in] */ ALG_PROTOCOL eProtocol,
  1067. /* [in] */ ULONG ulPrivateAddress,
  1068. /* [in] */ USHORT usPrivatePort,
  1069. /* [in] */ ULONG ulPublicAddress,
  1070. /* [in] */ USHORT usPublicPort,
  1071. /* [in] */ ULONG ulRemoteAddress,
  1072. /* [in] */ USHORT usRemotePort,
  1073. /* [in] */ ALG_DIRECTION eDirection,
  1074. /* [out] */ IPersistentDataChannel **ppIPersistentDataChannel);
  1075. HRESULT ( STDMETHODCALLTYPE *ReservePort )(
  1076. IApplicationGatewayServices * This,
  1077. /* [in] */ USHORT usPortCount,
  1078. /* [out] */ USHORT *pusReservedPort);
  1079. HRESULT ( STDMETHODCALLTYPE *ReleaseReservedPort )(
  1080. IApplicationGatewayServices * This,
  1081. /* [in] */ USHORT usReservedPortBase,
  1082. /* [in] */ USHORT usPortCount);
  1083. HRESULT ( STDMETHODCALLTYPE *EnumerateAdapters )(
  1084. IApplicationGatewayServices * This,
  1085. /* [out] */ IEnumAdapterInfo **ppIEnumAdapterInfo);
  1086. HRESULT ( STDMETHODCALLTYPE *StartAdapterNotifications )(
  1087. IApplicationGatewayServices * This,
  1088. /* [in] */ IAdapterNotificationSink *pSink,
  1089. /* [in] */ DWORD *pdwCookie);
  1090. HRESULT ( STDMETHODCALLTYPE *StopAdapterNotifications )(
  1091. IApplicationGatewayServices * This,
  1092. /* [in] */ DWORD dwCookieOfSink);
  1093. END_INTERFACE
  1094. } IApplicationGatewayServicesVtbl;
  1095. interface IApplicationGatewayServices
  1096. {
  1097. CONST_VTBL struct IApplicationGatewayServicesVtbl *lpVtbl;
  1098. };
  1099. #ifdef COBJMACROS
  1100. #define IApplicationGatewayServices_QueryInterface(This,riid,ppvObject) \
  1101. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1102. #define IApplicationGatewayServices_AddRef(This) \
  1103. (This)->lpVtbl -> AddRef(This)
  1104. #define IApplicationGatewayServices_Release(This) \
  1105. (This)->lpVtbl -> Release(This)
  1106. #define IApplicationGatewayServices_CreatePrimaryControlChannel(This,eProtocol,usPortToCapture,eCaptureType,fCaptureInbound,ulListenAddress,usListenPort,ppIControlChannel) \
  1107. (This)->lpVtbl -> CreatePrimaryControlChannel(This,eProtocol,usPortToCapture,eCaptureType,fCaptureInbound,ulListenAddress,usListenPort,ppIControlChannel)
  1108. #define IApplicationGatewayServices_CreateSecondaryControlChannel(This,eProtocol,ulPrivateAddress,usPrivatePort,ulPublicAddress,usPublicPort,ulRemoteAddress,usRemotePort,ulListenAddress,usListenPort,eDirection,fPersistent,ppControlChannel) \
  1109. (This)->lpVtbl -> CreateSecondaryControlChannel(This,eProtocol,ulPrivateAddress,usPrivatePort,ulPublicAddress,usPublicPort,ulRemoteAddress,usRemotePort,ulListenAddress,usListenPort,eDirection,fPersistent,ppControlChannel)
  1110. #define IApplicationGatewayServices_GetBestSourceAddressForDestinationAddress(This,ulDstAddress,fDemandDial,pulBestSrcAddress) \
  1111. (This)->lpVtbl -> GetBestSourceAddressForDestinationAddress(This,ulDstAddress,fDemandDial,pulBestSrcAddress)
  1112. #define IApplicationGatewayServices_PrepareProxyConnection(This,eProtocol,ulSrcAddress,usSrcPort,ulDstAddress,usDstPort,fNoTimeout,ppPendingConnection) \
  1113. (This)->lpVtbl -> PrepareProxyConnection(This,eProtocol,ulSrcAddress,usSrcPort,ulDstAddress,usDstPort,fNoTimeout,ppPendingConnection)
  1114. #define IApplicationGatewayServices_PrepareSourceModifiedProxyConnection(This,eProtocol,ulSrcAddress,usSrcPort,ulDstAddress,usDstPort,ulNewSrcAddress,usNewSourcePort,ppPendingConnection) \
  1115. (This)->lpVtbl -> PrepareSourceModifiedProxyConnection(This,eProtocol,ulSrcAddress,usSrcPort,ulDstAddress,usDstPort,ulNewSrcAddress,usNewSourcePort,ppPendingConnection)
  1116. #define IApplicationGatewayServices_CreateDataChannel(This,eProtocol,ulPrivateAddress,usPrivatePort,ulPublicAddress,usPublicPort,ulRemoteAddress,usRemotePort,eDirection,eDesiredNotification,fNoTimeout,ppDataChannel) \
  1117. (This)->lpVtbl -> CreateDataChannel(This,eProtocol,ulPrivateAddress,usPrivatePort,ulPublicAddress,usPublicPort,ulRemoteAddress,usRemotePort,eDirection,eDesiredNotification,fNoTimeout,ppDataChannel)
  1118. #define IApplicationGatewayServices_CreatePersistentDataChannel(This,eProtocol,ulPrivateAddress,usPrivatePort,ulPublicAddress,usPublicPort,ulRemoteAddress,usRemotePort,eDirection,ppIPersistentDataChannel) \
  1119. (This)->lpVtbl -> CreatePersistentDataChannel(This,eProtocol,ulPrivateAddress,usPrivatePort,ulPublicAddress,usPublicPort,ulRemoteAddress,usRemotePort,eDirection,ppIPersistentDataChannel)
  1120. #define IApplicationGatewayServices_ReservePort(This,usPortCount,pusReservedPort) \
  1121. (This)->lpVtbl -> ReservePort(This,usPortCount,pusReservedPort)
  1122. #define IApplicationGatewayServices_ReleaseReservedPort(This,usReservedPortBase,usPortCount) \
  1123. (This)->lpVtbl -> ReleaseReservedPort(This,usReservedPortBase,usPortCount)
  1124. #define IApplicationGatewayServices_EnumerateAdapters(This,ppIEnumAdapterInfo) \
  1125. (This)->lpVtbl -> EnumerateAdapters(This,ppIEnumAdapterInfo)
  1126. #define IApplicationGatewayServices_StartAdapterNotifications(This,pSink,pdwCookie) \
  1127. (This)->lpVtbl -> StartAdapterNotifications(This,pSink,pdwCookie)
  1128. #define IApplicationGatewayServices_StopAdapterNotifications(This,dwCookieOfSink) \
  1129. (This)->lpVtbl -> StopAdapterNotifications(This,dwCookieOfSink)
  1130. #endif /* COBJMACROS */
  1131. #endif /* C style interface */
  1132. HRESULT STDMETHODCALLTYPE IApplicationGatewayServices_CreatePrimaryControlChannel_Proxy(
  1133. IApplicationGatewayServices * This,
  1134. /* [in] */ ALG_PROTOCOL eProtocol,
  1135. /* [in] */ USHORT usPortToCapture,
  1136. /* [in] */ ALG_CAPTURE eCaptureType,
  1137. /* [in] */ BOOL fCaptureInbound,
  1138. /* [in] */ ULONG ulListenAddress,
  1139. /* [in] */ USHORT usListenPort,
  1140. /* [out] */ IPrimaryControlChannel **ppIControlChannel);
  1141. void __RPC_STUB IApplicationGatewayServices_CreatePrimaryControlChannel_Stub(
  1142. IRpcStubBuffer *This,
  1143. IRpcChannelBuffer *_pRpcChannelBuffer,
  1144. PRPC_MESSAGE _pRpcMessage,
  1145. DWORD *_pdwStubPhase);
  1146. HRESULT STDMETHODCALLTYPE IApplicationGatewayServices_CreateSecondaryControlChannel_Proxy(
  1147. IApplicationGatewayServices * This,
  1148. /* [in] */ ALG_PROTOCOL eProtocol,
  1149. /* [in] */ ULONG ulPrivateAddress,
  1150. /* [in] */ USHORT usPrivatePort,
  1151. /* [in] */ ULONG ulPublicAddress,
  1152. /* [in] */ USHORT usPublicPort,
  1153. /* [in] */ ULONG ulRemoteAddress,
  1154. /* [in] */ USHORT usRemotePort,
  1155. /* [in] */ ULONG ulListenAddress,
  1156. /* [in] */ USHORT usListenPort,
  1157. /* [in] */ ALG_DIRECTION eDirection,
  1158. /* [in] */ BOOL fPersistent,
  1159. /* [out] */ ISecondaryControlChannel **ppControlChannel);
  1160. void __RPC_STUB IApplicationGatewayServices_CreateSecondaryControlChannel_Stub(
  1161. IRpcStubBuffer *This,
  1162. IRpcChannelBuffer *_pRpcChannelBuffer,
  1163. PRPC_MESSAGE _pRpcMessage,
  1164. DWORD *_pdwStubPhase);
  1165. HRESULT STDMETHODCALLTYPE IApplicationGatewayServices_GetBestSourceAddressForDestinationAddress_Proxy(
  1166. IApplicationGatewayServices * This,
  1167. /* [in] */ ULONG ulDstAddress,
  1168. /* [in] */ BOOL fDemandDial,
  1169. /* [out] */ ULONG *pulBestSrcAddress);
  1170. void __RPC_STUB IApplicationGatewayServices_GetBestSourceAddressForDestinationAddress_Stub(
  1171. IRpcStubBuffer *This,
  1172. IRpcChannelBuffer *_pRpcChannelBuffer,
  1173. PRPC_MESSAGE _pRpcMessage,
  1174. DWORD *_pdwStubPhase);
  1175. HRESULT STDMETHODCALLTYPE IApplicationGatewayServices_PrepareProxyConnection_Proxy(
  1176. IApplicationGatewayServices * This,
  1177. /* [in] */ ALG_PROTOCOL eProtocol,
  1178. /* [in] */ ULONG ulSrcAddress,
  1179. /* [in] */ USHORT usSrcPort,
  1180. /* [in] */ ULONG ulDstAddress,
  1181. /* [in] */ USHORT usDstPort,
  1182. /* [in] */ BOOL fNoTimeout,
  1183. /* [out] */ IPendingProxyConnection **ppPendingConnection);
  1184. void __RPC_STUB IApplicationGatewayServices_PrepareProxyConnection_Stub(
  1185. IRpcStubBuffer *This,
  1186. IRpcChannelBuffer *_pRpcChannelBuffer,
  1187. PRPC_MESSAGE _pRpcMessage,
  1188. DWORD *_pdwStubPhase);
  1189. HRESULT STDMETHODCALLTYPE IApplicationGatewayServices_PrepareSourceModifiedProxyConnection_Proxy(
  1190. IApplicationGatewayServices * This,
  1191. /* [in] */ ALG_PROTOCOL eProtocol,
  1192. /* [in] */ ULONG ulSrcAddress,
  1193. /* [in] */ USHORT usSrcPort,
  1194. /* [in] */ ULONG ulDstAddress,
  1195. /* [in] */ USHORT usDstPort,
  1196. /* [in] */ ULONG ulNewSrcAddress,
  1197. /* [in] */ USHORT usNewSourcePort,
  1198. /* [out] */ IPendingProxyConnection **ppPendingConnection);
  1199. void __RPC_STUB IApplicationGatewayServices_PrepareSourceModifiedProxyConnection_Stub(
  1200. IRpcStubBuffer *This,
  1201. IRpcChannelBuffer *_pRpcChannelBuffer,
  1202. PRPC_MESSAGE _pRpcMessage,
  1203. DWORD *_pdwStubPhase);
  1204. HRESULT STDMETHODCALLTYPE IApplicationGatewayServices_CreateDataChannel_Proxy(
  1205. IApplicationGatewayServices * This,
  1206. /* [in] */ ALG_PROTOCOL eProtocol,
  1207. /* [in] */ ULONG ulPrivateAddress,
  1208. /* [in] */ USHORT usPrivatePort,
  1209. /* [in] */ ULONG ulPublicAddress,
  1210. /* [in] */ USHORT usPublicPort,
  1211. /* [in] */ ULONG ulRemoteAddress,
  1212. /* [in] */ USHORT usRemotePort,
  1213. /* [in] */ ALG_DIRECTION eDirection,
  1214. /* [in] */ ALG_NOTIFICATION eDesiredNotification,
  1215. /* [in] */ BOOL fNoTimeout,
  1216. /* [out] */ IDataChannel **ppDataChannel);
  1217. void __RPC_STUB IApplicationGatewayServices_CreateDataChannel_Stub(
  1218. IRpcStubBuffer *This,
  1219. IRpcChannelBuffer *_pRpcChannelBuffer,
  1220. PRPC_MESSAGE _pRpcMessage,
  1221. DWORD *_pdwStubPhase);
  1222. HRESULT STDMETHODCALLTYPE IApplicationGatewayServices_CreatePersistentDataChannel_Proxy(
  1223. IApplicationGatewayServices * This,
  1224. /* [in] */ ALG_PROTOCOL eProtocol,
  1225. /* [in] */ ULONG ulPrivateAddress,
  1226. /* [in] */ USHORT usPrivatePort,
  1227. /* [in] */ ULONG ulPublicAddress,
  1228. /* [in] */ USHORT usPublicPort,
  1229. /* [in] */ ULONG ulRemoteAddress,
  1230. /* [in] */ USHORT usRemotePort,
  1231. /* [in] */ ALG_DIRECTION eDirection,
  1232. /* [out] */ IPersistentDataChannel **ppIPersistentDataChannel);
  1233. void __RPC_STUB IApplicationGatewayServices_CreatePersistentDataChannel_Stub(
  1234. IRpcStubBuffer *This,
  1235. IRpcChannelBuffer *_pRpcChannelBuffer,
  1236. PRPC_MESSAGE _pRpcMessage,
  1237. DWORD *_pdwStubPhase);
  1238. HRESULT STDMETHODCALLTYPE IApplicationGatewayServices_ReservePort_Proxy(
  1239. IApplicationGatewayServices * This,
  1240. /* [in] */ USHORT usPortCount,
  1241. /* [out] */ USHORT *pusReservedPort);
  1242. void __RPC_STUB IApplicationGatewayServices_ReservePort_Stub(
  1243. IRpcStubBuffer *This,
  1244. IRpcChannelBuffer *_pRpcChannelBuffer,
  1245. PRPC_MESSAGE _pRpcMessage,
  1246. DWORD *_pdwStubPhase);
  1247. HRESULT STDMETHODCALLTYPE IApplicationGatewayServices_ReleaseReservedPort_Proxy(
  1248. IApplicationGatewayServices * This,
  1249. /* [in] */ USHORT usReservedPortBase,
  1250. /* [in] */ USHORT usPortCount);
  1251. void __RPC_STUB IApplicationGatewayServices_ReleaseReservedPort_Stub(
  1252. IRpcStubBuffer *This,
  1253. IRpcChannelBuffer *_pRpcChannelBuffer,
  1254. PRPC_MESSAGE _pRpcMessage,
  1255. DWORD *_pdwStubPhase);
  1256. HRESULT STDMETHODCALLTYPE IApplicationGatewayServices_EnumerateAdapters_Proxy(
  1257. IApplicationGatewayServices * This,
  1258. /* [out] */ IEnumAdapterInfo **ppIEnumAdapterInfo);
  1259. void __RPC_STUB IApplicationGatewayServices_EnumerateAdapters_Stub(
  1260. IRpcStubBuffer *This,
  1261. IRpcChannelBuffer *_pRpcChannelBuffer,
  1262. PRPC_MESSAGE _pRpcMessage,
  1263. DWORD *_pdwStubPhase);
  1264. HRESULT STDMETHODCALLTYPE IApplicationGatewayServices_StartAdapterNotifications_Proxy(
  1265. IApplicationGatewayServices * This,
  1266. /* [in] */ IAdapterNotificationSink *pSink,
  1267. /* [in] */ DWORD *pdwCookie);
  1268. void __RPC_STUB IApplicationGatewayServices_StartAdapterNotifications_Stub(
  1269. IRpcStubBuffer *This,
  1270. IRpcChannelBuffer *_pRpcChannelBuffer,
  1271. PRPC_MESSAGE _pRpcMessage,
  1272. DWORD *_pdwStubPhase);
  1273. HRESULT STDMETHODCALLTYPE IApplicationGatewayServices_StopAdapterNotifications_Proxy(
  1274. IApplicationGatewayServices * This,
  1275. /* [in] */ DWORD dwCookieOfSink);
  1276. void __RPC_STUB IApplicationGatewayServices_StopAdapterNotifications_Stub(
  1277. IRpcStubBuffer *This,
  1278. IRpcChannelBuffer *_pRpcChannelBuffer,
  1279. PRPC_MESSAGE _pRpcMessage,
  1280. DWORD *_pdwStubPhase);
  1281. #endif /* __IApplicationGatewayServices_INTERFACE_DEFINED__ */
  1282. #ifndef __IApplicationGateway_INTERFACE_DEFINED__
  1283. #define __IApplicationGateway_INTERFACE_DEFINED__
  1284. /* interface IApplicationGateway */
  1285. /* [unique][uuid][object] */
  1286. EXTERN_C const IID IID_IApplicationGateway;
  1287. #if defined(__cplusplus) && !defined(CINTERFACE)
  1288. MIDL_INTERFACE("5134842B-FDCE-485D-93CD-DE1640643BBE")
  1289. IApplicationGateway : public IUnknown
  1290. {
  1291. public:
  1292. virtual HRESULT STDMETHODCALLTYPE Initialize(
  1293. /* [in] */ IApplicationGatewayServices *pAlgServices) = 0;
  1294. virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0;
  1295. };
  1296. #else /* C style interface */
  1297. typedef struct IApplicationGatewayVtbl
  1298. {
  1299. BEGIN_INTERFACE
  1300. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1301. IApplicationGateway * This,
  1302. /* [in] */ REFIID riid,
  1303. /* [iid_is][out] */ void **ppvObject);
  1304. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1305. IApplicationGateway * This);
  1306. ULONG ( STDMETHODCALLTYPE *Release )(
  1307. IApplicationGateway * This);
  1308. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  1309. IApplicationGateway * This,
  1310. /* [in] */ IApplicationGatewayServices *pAlgServices);
  1311. HRESULT ( STDMETHODCALLTYPE *Stop )(
  1312. IApplicationGateway * This);
  1313. END_INTERFACE
  1314. } IApplicationGatewayVtbl;
  1315. interface IApplicationGateway
  1316. {
  1317. CONST_VTBL struct IApplicationGatewayVtbl *lpVtbl;
  1318. };
  1319. #ifdef COBJMACROS
  1320. #define IApplicationGateway_QueryInterface(This,riid,ppvObject) \
  1321. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1322. #define IApplicationGateway_AddRef(This) \
  1323. (This)->lpVtbl -> AddRef(This)
  1324. #define IApplicationGateway_Release(This) \
  1325. (This)->lpVtbl -> Release(This)
  1326. #define IApplicationGateway_Initialize(This,pAlgServices) \
  1327. (This)->lpVtbl -> Initialize(This,pAlgServices)
  1328. #define IApplicationGateway_Stop(This) \
  1329. (This)->lpVtbl -> Stop(This)
  1330. #endif /* COBJMACROS */
  1331. #endif /* C style interface */
  1332. HRESULT STDMETHODCALLTYPE IApplicationGateway_Initialize_Proxy(
  1333. IApplicationGateway * This,
  1334. /* [in] */ IApplicationGatewayServices *pAlgServices);
  1335. void __RPC_STUB IApplicationGateway_Initialize_Stub(
  1336. IRpcStubBuffer *This,
  1337. IRpcChannelBuffer *_pRpcChannelBuffer,
  1338. PRPC_MESSAGE _pRpcMessage,
  1339. DWORD *_pdwStubPhase);
  1340. HRESULT STDMETHODCALLTYPE IApplicationGateway_Stop_Proxy(
  1341. IApplicationGateway * This);
  1342. void __RPC_STUB IApplicationGateway_Stop_Stub(
  1343. IRpcStubBuffer *This,
  1344. IRpcChannelBuffer *_pRpcChannelBuffer,
  1345. PRPC_MESSAGE _pRpcMessage,
  1346. DWORD *_pdwStubPhase);
  1347. #endif /* __IApplicationGateway_INTERFACE_DEFINED__ */
  1348. #ifndef __ALGLib_LIBRARY_DEFINED__
  1349. #define __ALGLib_LIBRARY_DEFINED__
  1350. /* library ALGLib */
  1351. /* [helpstring][version][uuid] */
  1352. EXTERN_C const IID LIBID_ALGLib;
  1353. EXTERN_C const CLSID CLSID_ApplicationGatewayServices;
  1354. #ifdef __cplusplus
  1355. class DECLSPEC_UUID("F8ADE1D3-49DF-4B75-9005-EF9508E6A337")
  1356. ApplicationGatewayServices;
  1357. #endif
  1358. EXTERN_C const CLSID CLSID_PrimaryControlChannel;
  1359. #ifdef __cplusplus
  1360. class DECLSPEC_UUID("3CEB5509-C1CD-432F-9D8F-65D1E286AA80")
  1361. PrimaryControlChannel;
  1362. #endif
  1363. EXTERN_C const CLSID CLSID_SecondaryControlChannel;
  1364. #ifdef __cplusplus
  1365. class DECLSPEC_UUID("7B3181A0-C92F-4567-B0FA-CD9A10ECD7D1")
  1366. SecondaryControlChannel;
  1367. #endif
  1368. EXTERN_C const CLSID CLSID_AdapterInfo;
  1369. #ifdef __cplusplus
  1370. class DECLSPEC_UUID("6F9942C9-C1B1-4AB5-93DA-6058991DC8F3")
  1371. AdapterInfo;
  1372. #endif
  1373. EXTERN_C const CLSID CLSID_EnumAdapterInfo;
  1374. #ifdef __cplusplus
  1375. class DECLSPEC_UUID("6F9942CA-C1B1-4AB5-93DA-6058991DC8F3")
  1376. EnumAdapterInfo;
  1377. #endif
  1378. EXTERN_C const CLSID CLSID_PendingProxyConnection;
  1379. #ifdef __cplusplus
  1380. class DECLSPEC_UUID("D8A68E5E-2B37-426C-A329-C117C14C429E")
  1381. PendingProxyConnection;
  1382. #endif
  1383. EXTERN_C const CLSID CLSID_DataChannel;
  1384. #ifdef __cplusplus
  1385. class DECLSPEC_UUID("BBB36F15-408D-4056-8C27-920843D40BE5")
  1386. DataChannel;
  1387. #endif
  1388. EXTERN_C const CLSID CLSID_PersistentDataChannel;
  1389. #ifdef __cplusplus
  1390. class DECLSPEC_UUID("BC9B54AB-7883-4C13-909F-033D03267990")
  1391. PersistentDataChannel;
  1392. #endif
  1393. #endif /* __ALGLib_LIBRARY_DEFINED__ */
  1394. /* Additional Prototypes for ALL interfaces */
  1395. /* end of Additional Prototypes */
  1396. #ifdef __cplusplus
  1397. }
  1398. #endif
  1399. #endif