Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
IUPnPNAT.h
Go to the documentation of this file.
1 //
3 //
4 #ifndef NO_PRAGMA_ONCE
5 #pragma once
6 #endif
7 
8 // this ALWAYS GENERATED file contains the definitions for the interfaces
9 // File created by MIDL compiler version 6.00.0361
10 // Compiler settings for natupnp.idl:
11 // Oicf, W1, Zp8, env=Win32 (32b run)
12 // protocol : dce , ms_ext, c_ext, robust
13 // error checks: allocation ref bounds_check enum stub_data
14 // VC __declspec() decoration level:
15 //__declspec(uuid()), __declspec(selectany), __declspec(novtable)
16 // DECLSPEC_UUID(), MIDL_INTERFACE()
17 //
18 //@@MIDL_FILE_HEADING( )
19 
20 #ifdef _MSC_VER
21 #pragma warning(disable: 4049 ) // more than 64k source lines
22 #endif
23 
24 #ifdef _WIN32
25 
26 // verify that the <rpcndr.h> version is high enough to compile this file
27 #ifndef __REQUIRED_RPCNDR_H_VERSION__
28 #define __REQUIRED_RPCNDR_H_VERSION__ 475
29 #endif
30 
31 #include <rpc.h>
32 #include <rpcndr.h>
33 
34 #ifndef __RPCNDR_H_VERSION__
35 #error this stub requires an updated version of <rpcndr.h>
36 #endif // __RPCNDR_H_VERSION__
37 
38 #ifndef COM_NO_WINDOWS_H
39 #include <windows.h>
40 #include <ole2.h>
41 #endif // COM_NO_WINDOWS_H
42 
43 #ifndef __natupnp_h__
44 #define __natupnp_h__
45 
46 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
47 #pragma once
48 #endif
49 
50 // Forward Declarations
51 MIDL_INTERFACE("624BD588-9060-4109-B0B0-1ADBBCAC32DF") INATEventManager;
52 
53 #ifndef __INATExternalIPAddressCallback_FWD_DEFINED__
54 #define __INATExternalIPAddressCallback_FWD_DEFINED__
55 typedef interface INATExternalIPAddressCallback INATExternalIPAddressCallback;
56 #endif // __INATExternalIPAddressCallback_FWD_DEFINED__
57 
58 #ifndef __INATNumberOfEntriesCallback_FWD_DEFINED__
59 #define __INATNumberOfEntriesCallback_FWD_DEFINED__
60 typedef interface INATNumberOfEntriesCallback INATNumberOfEntriesCallback;
61 #endif // __INATNumberOfEntriesCallback_FWD_DEFINED__
62 
63 #ifndef __IDynamicPortMappingCollection_FWD_DEFINED__
64 #define __IDynamicPortMappingCollection_FWD_DEFINED__
65 typedef interface IDynamicPortMappingCollection IDynamicPortMappingCollection;
66 #endif // __IDynamicPortMappingCollection_FWD_DEFINED__
67 
68 #ifndef __IDynamicPortMapping_FWD_DEFINED__
69 #define __IDynamicPortMapping_FWD_DEFINED__
70 typedef interface IDynamicPortMapping IDynamicPortMapping;
71 #endif // __IDynamicPortMapping_FWD_DEFINED__
72 
73 #ifndef __IStaticPortMappingCollection_FWD_DEFINED__
74 #define __IStaticPortMappingCollection_FWD_DEFINED__
75 typedef interface IStaticPortMappingCollection IStaticPortMappingCollection;
76 #endif // __IStaticPortMappingCollection_FWD_DEFINED__
77 
78 #ifndef __IStaticPortMapping_FWD_DEFINED__
79 #define __IStaticPortMapping_FWD_DEFINED__
80 typedef interface IStaticPortMapping IStaticPortMapping;
81 #endif // __IStaticPortMapping_FWD_DEFINED__
82 
83 #ifndef __UPnPNAT_FWD_DEFINED__
84 #define __UPnPNAT_FWD_DEFINED__
85 
86 #ifdef __cplusplus
87 typedef class UPnPNAT UPnPNAT;
88 #else
89 typedef struct UPnPNAT UPnPNAT;
90 #endif // __cplusplus
91 
92 #endif // __UPnPNAT_FWD_DEFINED__
93 // header files for imported files
94 #include <oaidl.h> // IDispatch
95 #include <ocidl.h>
96 
97 #ifdef __cplusplus
98 extern "C"
99 {
100 #endif
101 
102  void * __RPC_USER MIDL_user_allocate(size_t);
103  void __RPC_USER MIDL_user_free(void *);
104 
105  // interface __MIDL_itf_natupnp_0000
106  // [local]
107  //+-------------------------------------------------------------------------
108  //
109  // Microsoft Windows
110  // Copyright (C) Microsoft Corporation, 1992-2001.
111  //
112  //--------------------------------------------------------------------------
113  // MODULE: natupnp.h
114  //
115 
116  extern RPC_IF_HANDLE __MIDL_itf_natupnp_0000_v0_0_c_ifspec;
117  extern RPC_IF_HANDLE __MIDL_itf_natupnp_0000_v0_0_s_ifspec;
118 
119 #ifndef __IUPnPNAT_INTERFACE_DEFINED__
120 #define __IUPnPNAT_INTERFACE_DEFINED__
121 
122  // interface IUPnPNAT
123  // [unique][helpstring][dual][uuid][object]
124  EXTERN_C const IID IID_IUPnPNAT;
125 
126 #if defined(__cplusplus) && !defined(CINTERFACE)
127 
128  MIDL_INTERFACE("B171C812-CC76-485A-94D8-B6B3A2794E99")
129 IUPnPNAT : public IDispatch
130  {
131  public:
132  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_StaticPortMappingCollection(
133  /* [retval][out] */ IStaticPortMappingCollection **ppSPMs) = 0;
134 
135  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DynamicPortMappingCollection(
136  /* [retval][out] */ IDynamicPortMappingCollection **ppDPMs) = 0;
137 
138  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NATEventManager(
139  /* [retval][out] */ INATEventManager **ppNEM) = 0;
140  };
141 
142 #else // C style interface
143  typedef struct IUPnPNATVtbl
144  {
145  BEGIN_INTERFACE
146 
147  HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
148  IUPnPNAT * This,
149  /* [in] */ const IID& riid,
150  /* [iid_is][out] */ void **ppvObject);
151 
152  ULONG ( STDMETHODCALLTYPE *AddRef )(
153  IUPnPNAT * This);
154 
155  ULONG ( STDMETHODCALLTYPE *Release )(
156  IUPnPNAT * This);
157 
158  HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
159  IUPnPNAT * This,
160  /* [out] */ UINT *pctinfo);
161 
162  HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
163  IUPnPNAT * This,
164  /* [in] */ UINT iTInfo,
165  /* [in] */ LCID lcid,
166  /* [out] */ ITypeInfo **ppTInfo);
167 
168  HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
169  IUPnPNAT * This,
170  /* [in] */ const IID& riid,
171  /* [size_is][in] */ LPOLESTR *rgszNames,
172  /* [in] */ UINT cNames,
173  /* [in] */ LCID lcid,
174  /* [size_is][out] */ DISPID *rgDispId);
175 
176  /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
177  IUPnPNAT * This,
178  /* [in] */ DISPID dispIdMember,
179  /* [in] */ const IID& riid,
180  /* [in] */ LCID lcid,
181  /* [in] */ WORD wFlags,
182  /* [out][in] */ DISPPARAMS *pDispParams,
183  /* [out] */ VARIANT *pVarResult,
184  /* [out] */ EXCEPINFO *pExcepInfo,
185  /* [out] */ UINT *puArgErr);
186 
187  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_StaticPortMappingCollection )(
188  IUPnPNAT * This,
189  /* [retval][out] */ IStaticPortMappingCollection **ppSPMs);
190 
191  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DynamicPortMappingCollection )(
192  IUPnPNAT * This,
193  /* [retval][out] */ IDynamicPortMappingCollection **ppDPMs);
194 
195  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NATEventManager )(
196  IUPnPNAT * This,
197  /* [retval][out] */ INATEventManager **ppNEM);
198 
199  END_INTERFACE
200  } IUPnPNATVtbl;
201 
202  interface IUPnPNAT
203  {
204  CONST_VTBL struct IUPnPNATVtbl *lpVtbl;
205  };
206 
207 #ifdef COBJMACROS
208 
209 #define IUPnPNAT_QueryInterface(This,riid,ppvObject) \
210  (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
211 
212 #define IUPnPNAT_AddRef(This) \
213  (This)->lpVtbl -> AddRef(This)
214 
215 #define IUPnPNAT_Release(This) \
216  (This)->lpVtbl -> Release(This)
217 
218 #define IUPnPNAT_GetTypeInfoCount(This,pctinfo) \
219  (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
220 
221 #define IUPnPNAT_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
222  (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
223 
224 #define IUPnPNAT_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
225  (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
226 
227 #define IUPnPNAT_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
228  (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
229 
230 #define IUPnPNAT_get_StaticPortMappingCollection(This,ppSPMs) \
231  (This)->lpVtbl -> get_StaticPortMappingCollection(This,ppSPMs)
232 
233 #define IUPnPNAT_get_DynamicPortMappingCollection(This,ppDPMs) \
234  (This)->lpVtbl -> get_DynamicPortMappingCollection(This,ppDPMs)
235 
236 #define IUPnPNAT_get_NATEventManager(This,ppNEM) \
237  (This)->lpVtbl -> get_NATEventManager(This,ppNEM)
238 
239 #endif // COBJMACROS
240 #endif // C style interface
241  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPNAT_get_StaticPortMappingCollection_Proxy(
242  IUPnPNAT * This,
243  /* [retval][out] */ IStaticPortMappingCollection **ppSPMs);
244 
245  void __RPC_STUB IUPnPNAT_get_StaticPortMappingCollection_Stub(
246  IRpcStubBuffer *This,
247  IRpcChannelBuffer *_pRpcChannelBuffer,
248  PRPC_MESSAGE _pRpcMessage,
249  DWORD *_pdwStubPhase);
250 
251  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPNAT_get_DynamicPortMappingCollection_Proxy(
252  IUPnPNAT * This,
253  /* [retval][out] */ IDynamicPortMappingCollection **ppDPMs);
254 
255  void __RPC_STUB IUPnPNAT_get_DynamicPortMappingCollection_Stub(
256  IRpcStubBuffer *This,
257  IRpcChannelBuffer *_pRpcChannelBuffer,
258  PRPC_MESSAGE _pRpcMessage,
259  DWORD *_pdwStubPhase);
260 
261  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IUPnPNAT_get_NATEventManager_Proxy(
262  IUPnPNAT * This,
263  /* [retval][out] */ INATEventManager **ppNEM);
264 
265  void __RPC_STUB IUPnPNAT_get_NATEventManager_Stub(
266  IRpcStubBuffer *This,
267  IRpcChannelBuffer *_pRpcChannelBuffer,
268  PRPC_MESSAGE _pRpcMessage,
269  DWORD *_pdwStubPhase);
270 
271 #endif // __IUPnPNAT_INTERFACE_DEFINED__
272 #ifndef __INATEventManager_INTERFACE_DEFINED__
273 #define __INATEventManager_INTERFACE_DEFINED__
274 
275  // interface INATEventManager
276  // [unique][helpstring][dual][uuid][object]
277  EXTERN_C const IID IID_INATEventManager;
278 
279 #if defined(__cplusplus) && !defined(CINTERFACE)
280 
281  MIDL_INTERFACE("624BD588-9060-4109-B0B0-1ADBBCAC32DF")
282 INATEventManager : public IDispatch
283  {
284  public:
285  virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_ExternalIPAddressCallback(
286  /* [in] */ IUnknown *pUnk) = 0;
287 
288  virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_NumberOfEntriesCallback(
289  /* [in] */ IUnknown *pUnk) = 0;
290  };
291 
292 #else // C style interface
293  typedef struct INATEventManagerVtbl
294  {
295  BEGIN_INTERFACE
296 
297  HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
298  INATEventManager * This,
299  /* [in] */ const IID& riid,
300  /* [iid_is][out] */ void **ppvObject);
301 
302  ULONG ( STDMETHODCALLTYPE *AddRef )(
303  INATEventManager * This);
304 
305  ULONG ( STDMETHODCALLTYPE *Release )(
306  INATEventManager * This);
307 
308  HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
309  INATEventManager * This,
310  /* [out] */ UINT *pctinfo);
311 
312  HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
313  INATEventManager * This,
314  /* [in] */ UINT iTInfo,
315  /* [in] */ LCID lcid,
316  /* [out] */ ITypeInfo **ppTInfo);
317 
318  HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
319  INATEventManager * This,
320  /* [in] */ const IID& riid,
321  /* [size_is][in] */ LPOLESTR *rgszNames,
322  /* [in] */ UINT cNames,
323  /* [in] */ LCID lcid,
324  /* [size_is][out] */ DISPID *rgDispId);
325 
326  /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
327  INATEventManager * This,
328  /* [in] */ DISPID dispIdMember,
329  /* [in] */ const IID& riid,
330  /* [in] */ LCID lcid,
331  /* [in] */ WORD wFlags,
332  /* [out][in] */ DISPPARAMS *pDispParams,
333  /* [out] */ VARIANT *pVarResult,
334  /* [out] */ EXCEPINFO *pExcepInfo,
335  /* [out] */ UINT *puArgErr);
336 
337  /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ExternalIPAddressCallback )(
338  INATEventManager * This,
339  /* [in] */ IUnknown *pUnk);
340 
341  /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_NumberOfEntriesCallback )(
342  INATEventManager * This,
343  /* [in] */ IUnknown *pUnk);
344 
345  END_INTERFACE
346  } INATEventManagerVtbl;
347 
348  interface INATEventManager
349  {
350  CONST_VTBL struct INATEventManagerVtbl *lpVtbl;
351  };
352 
353 #ifdef COBJMACROS
354 
355 #define INATEventManager_QueryInterface(This,riid,ppvObject) \
356  (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
357 
358 #define INATEventManager_AddRef(This) \
359  (This)->lpVtbl -> AddRef(This)
360 
361 #define INATEventManager_Release(This) \
362  (This)->lpVtbl -> Release(This)
363 
364 #define INATEventManager_GetTypeInfoCount(This,pctinfo) \
365  (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
366 
367 #define INATEventManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
368  (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
369 
370 #define INATEventManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
371  (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
372 
373 #define INATEventManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
374  (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
375 
376 #define INATEventManager_put_ExternalIPAddressCallback(This,pUnk) \
377  (This)->lpVtbl -> put_ExternalIPAddressCallback(This,pUnk)
378 
379 #define INATEventManager_put_NumberOfEntriesCallback(This,pUnk) \
380  (This)->lpVtbl -> put_NumberOfEntriesCallback(This,pUnk)
381 
382 #endif // COBJMACROS
383 #endif // C style interface
384  /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE INATEventManager_put_ExternalIPAddressCallback_Proxy(
385  INATEventManager * This,
386  /* [in] */ IUnknown *pUnk);
387 
388  void __RPC_STUB INATEventManager_put_ExternalIPAddressCallback_Stub(
389  IRpcStubBuffer *This,
390  IRpcChannelBuffer *_pRpcChannelBuffer,
391  PRPC_MESSAGE _pRpcMessage,
392  DWORD *_pdwStubPhase);
393 
394  /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE INATEventManager_put_NumberOfEntriesCallback_Proxy(
395  INATEventManager * This,
396  /* [in] */ IUnknown *pUnk);
397 
398  void __RPC_STUB INATEventManager_put_NumberOfEntriesCallback_Stub(
399  IRpcStubBuffer *This,
400  IRpcChannelBuffer *_pRpcChannelBuffer,
401  PRPC_MESSAGE _pRpcMessage,
402  DWORD *_pdwStubPhase);
403 
404 #endif // __INATEventManager_INTERFACE_DEFINED__
405 #ifndef __INATExternalIPAddressCallback_INTERFACE_DEFINED__
406 #define __INATExternalIPAddressCallback_INTERFACE_DEFINED__
407 
408  // interface INATExternalIPAddressCallback
409  // [unique][helpstring][uuid][object]
410  EXTERN_C const IID IID_INATExternalIPAddressCallback;
411 
412 #if defined(__cplusplus) && !defined(CINTERFACE)
413 
414  MIDL_INTERFACE("9C416740-A34E-446F-BA06-ABD04C3149AE")
415 INATExternalIPAddressCallback : public IUnknown
416  {
417  public:
418  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NewExternalIPAddress(
419  /* [in] */ BSTR bstrNewExternalIPAddress) = 0;
420  };
421 
422 #else // C style interface
423  typedef struct INATExternalIPAddressCallbackVtbl
424  {
425  BEGIN_INTERFACE
426 
427  HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
428  INATExternalIPAddressCallback * This,
429  /* [in] */ const IID& riid,
430  /* [iid_is][out] */ void **ppvObject);
431 
432  ULONG ( STDMETHODCALLTYPE *AddRef )(
433  INATExternalIPAddressCallback * This);
434 
435  ULONG ( STDMETHODCALLTYPE *Release )(
436  INATExternalIPAddressCallback * This);
437 
438  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NewExternalIPAddress )(
439  INATExternalIPAddressCallback * This,
440  /* [in] */ BSTR bstrNewExternalIPAddress);
441 
442  END_INTERFACE
443  } INATExternalIPAddressCallbackVtbl;
444 
445  interface INATExternalIPAddressCallback
446  {
447  CONST_VTBL struct INATExternalIPAddressCallbackVtbl *lpVtbl;
448  };
449 
450 #ifdef COBJMACROS
451 
452 #define INATExternalIPAddressCallback_QueryInterface(This,riid,ppvObject) \
453  (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
454 
455 #define INATExternalIPAddressCallback_AddRef(This) \
456  (This)->lpVtbl -> AddRef(This)
457 
458 #define INATExternalIPAddressCallback_Release(This) \
459  (This)->lpVtbl -> Release(This)
460 
461 #define INATExternalIPAddressCallback_NewExternalIPAddress(This,bstrNewExternalIPAddress) \
462  (This)->lpVtbl -> NewExternalIPAddress(This,bstrNewExternalIPAddress)
463 
464 #endif // COBJMACROS
465 #endif // C style interface
466  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INATExternalIPAddressCallback_NewExternalIPAddress_Proxy(
467  INATExternalIPAddressCallback * This,
468  /* [in] */ BSTR bstrNewExternalIPAddress);
469 
470  void __RPC_STUB INATExternalIPAddressCallback_NewExternalIPAddress_Stub(
471  IRpcStubBuffer *This,
472  IRpcChannelBuffer *_pRpcChannelBuffer,
473  PRPC_MESSAGE _pRpcMessage,
474  DWORD *_pdwStubPhase);
475 
476 #endif // __INATExternalIPAddressCallback_INTERFACE_DEFINED__
477 #ifndef __INATNumberOfEntriesCallback_INTERFACE_DEFINED__
478 #define __INATNumberOfEntriesCallback_INTERFACE_DEFINED__
479 
480  // interface INATNumberOfEntriesCallback
481  // [unique][helpstring][uuid][object]
482  EXTERN_C const IID IID_INATNumberOfEntriesCallback;
483 
484 #if defined(__cplusplus) && !defined(CINTERFACE)
485 
486  MIDL_INTERFACE("C83A0A74-91EE-41B6-B67A-67E0F00BBD78")
487 INATNumberOfEntriesCallback : public IUnknown
488  {
489  public:
490  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NewNumberOfEntries(
491  /* [in] */ long lNewNumberOfEntries) = 0;
492  };
493 
494 #else // C style interface
495  typedef struct INATNumberOfEntriesCallbackVtbl
496  {
497  BEGIN_INTERFACE
498 
499  HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
500  INATNumberOfEntriesCallback * This,
501  /* [in] */ const IID& riid,
502  /* [iid_is][out] */ void **ppvObject);
503 
504  ULONG ( STDMETHODCALLTYPE *AddRef )(
505  INATNumberOfEntriesCallback * This);
506 
507  ULONG ( STDMETHODCALLTYPE *Release )(
508  INATNumberOfEntriesCallback * This);
509 
510  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NewNumberOfEntries )(
511  INATNumberOfEntriesCallback * This,
512  /* [in] */ long lNewNumberOfEntries);
513 
514  END_INTERFACE
515  } INATNumberOfEntriesCallbackVtbl;
516 
517  interface INATNumberOfEntriesCallback
518  {
519  CONST_VTBL struct INATNumberOfEntriesCallbackVtbl *lpVtbl;
520  };
521 
522 #ifdef COBJMACROS
523 
524 #define INATNumberOfEntriesCallback_QueryInterface(This,riid,ppvObject) \
525  (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
526 
527 #define INATNumberOfEntriesCallback_AddRef(This) \
528  (This)->lpVtbl -> AddRef(This)
529 
530 #define INATNumberOfEntriesCallback_Release(This) \
531  (This)->lpVtbl -> Release(This)
532 
533 #define INATNumberOfEntriesCallback_NewNumberOfEntries(This,lNewNumberOfEntries) \
534  (This)->lpVtbl -> NewNumberOfEntries(This,lNewNumberOfEntries)
535 
536 #endif // COBJMACROS
537 #endif // C style interface
538  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INATNumberOfEntriesCallback_NewNumberOfEntries_Proxy(
539  INATNumberOfEntriesCallback * This,
540  /* [in] */ long lNewNumberOfEntries);
541 
542  void __RPC_STUB INATNumberOfEntriesCallback_NewNumberOfEntries_Stub(
543  IRpcStubBuffer *This,
544  IRpcChannelBuffer *_pRpcChannelBuffer,
545  PRPC_MESSAGE _pRpcMessage,
546  DWORD *_pdwStubPhase);
547 
548 #endif // __INATNumberOfEntriesCallback_INTERFACE_DEFINED__
549 #ifndef __IDynamicPortMappingCollection_INTERFACE_DEFINED__
550 #define __IDynamicPortMappingCollection_INTERFACE_DEFINED__
551 
552  // interface IDynamicPortMappingCollection
553  // [unique][helpstring][dual][uuid][object]
554  EXTERN_C const IID IID_IDynamicPortMappingCollection;
555 
556 #if defined(__cplusplus) && !defined(CINTERFACE)
557 
558  MIDL_INTERFACE("B60DE00F-156E-4E8D-9EC1-3A2342C10899")
559 IDynamicPortMappingCollection : public IDispatch
560  {
561  public:
562  virtual /* [restricted][hidden][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
563  /* [retval][out] */ IUnknown **pVal) = 0;
564 
565  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
566  /* [in] */ BSTR bstrRemoteHost,
567  /* [in] */ long lExternalPort,
568  /* [in] */ BSTR bstrProtocol,
569  /* [retval][out] */ IDynamicPortMapping **ppDPM) = 0;
570 
571  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
572  /* [retval][out] */ long *pVal) = 0;
573 
574  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
575  /* [in] */ BSTR bstrRemoteHost,
576  /* [in] */ long lExternalPort,
577  /* [in] */ BSTR bstrProtocol) = 0;
578 
579  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
580  /* [in] */ BSTR bstrRemoteHost,
581  /* [in] */ long lExternalPort,
582  /* [in] */ BSTR bstrProtocol,
583  /* [in] */ long lInternalPort,
584  /* [in] */ BSTR bstrInternalClient,
585  /* [in] */ VARIANT_BOOL bEnabled,
586  /* [in] */ BSTR bstrDescription,
587  /* [in] */ long lLeaseDuration,
588  /* [retval][out] */ IDynamicPortMapping **ppDPM) = 0;
589  };
590 
591 #else // C style interface
592  typedef struct IDynamicPortMappingCollectionVtbl
593  {
594  BEGIN_INTERFACE
595 
596  HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
597  IDynamicPortMappingCollection * This,
598  /* [in] */ const IID& riid,
599  /* [iid_is][out] */ void **ppvObject);
600 
601  ULONG ( STDMETHODCALLTYPE *AddRef )(
602  IDynamicPortMappingCollection * This);
603 
604  ULONG ( STDMETHODCALLTYPE *Release )(
605  IDynamicPortMappingCollection * This);
606 
607  HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
608  IDynamicPortMappingCollection * This,
609  /* [out] */ UINT *pctinfo);
610 
611  HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
612  IDynamicPortMappingCollection * This,
613  /* [in] */ UINT iTInfo,
614  /* [in] */ LCID lcid,
615  /* [out] */ ITypeInfo **ppTInfo);
616 
617  HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
618  IDynamicPortMappingCollection * This,
619  /* [in] */ const IID& riid,
620  /* [size_is][in] */ LPOLESTR *rgszNames,
621  /* [in] */ UINT cNames,
622  /* [in] */ LCID lcid,
623  /* [size_is][out] */ DISPID *rgDispId);
624 
625  /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
626  IDynamicPortMappingCollection * This,
627  /* [in] */ DISPID dispIdMember,
628  /* [in] */ const IID& riid,
629  /* [in] */ LCID lcid,
630  /* [in] */ WORD wFlags,
631  /* [out][in] */ DISPPARAMS *pDispParams,
632  /* [out] */ VARIANT *pVarResult,
633  /* [out] */ EXCEPINFO *pExcepInfo,
634  /* [out] */ UINT *puArgErr);
635 
636  /* [restricted][hidden][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
637  IDynamicPortMappingCollection * This,
638  /* [retval][out] */ IUnknown **pVal);
639 
640  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
641  IDynamicPortMappingCollection * This,
642  /* [in] */ BSTR bstrRemoteHost,
643  /* [in] */ long lExternalPort,
644  /* [in] */ BSTR bstrProtocol,
645  /* [retval][out] */ IDynamicPortMapping **ppDPM);
646 
647  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
648  IDynamicPortMappingCollection * This,
649  /* [retval][out] */ long *pVal);
650 
651  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
652  IDynamicPortMappingCollection * This,
653  /* [in] */ BSTR bstrRemoteHost,
654  /* [in] */ long lExternalPort,
655  /* [in] */ BSTR bstrProtocol);
656 
657  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
658  IDynamicPortMappingCollection * This,
659  /* [in] */ BSTR bstrRemoteHost,
660  /* [in] */ long lExternalPort,
661  /* [in] */ BSTR bstrProtocol,
662  /* [in] */ long lInternalPort,
663  /* [in] */ BSTR bstrInternalClient,
664  /* [in] */ VARIANT_BOOL bEnabled,
665  /* [in] */ BSTR bstrDescription,
666  /* [in] */ long lLeaseDuration,
667  /* [retval][out] */ IDynamicPortMapping **ppDPM);
668 
669  END_INTERFACE
670  } IDynamicPortMappingCollectionVtbl;
671 
672  interface IDynamicPortMappingCollection
673  {
674  CONST_VTBL struct IDynamicPortMappingCollectionVtbl *lpVtbl;
675  };
676 
677 #ifdef COBJMACROS
678 
679 #define IDynamicPortMappingCollection_QueryInterface(This,riid,ppvObject) \
680  (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
681 
682 #define IDynamicPortMappingCollection_AddRef(This) \
683  (This)->lpVtbl -> AddRef(This)
684 
685 #define IDynamicPortMappingCollection_Release(This) \
686  (This)->lpVtbl -> Release(This)
687 
688 #define IDynamicPortMappingCollection_GetTypeInfoCount(This,pctinfo) \
689  (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
690 
691 #define IDynamicPortMappingCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
692  (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
693 
694 #define IDynamicPortMappingCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
695  (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
696 
697 #define IDynamicPortMappingCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
698  (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
699 
700 #define IDynamicPortMappingCollection_get__NewEnum(This,pVal) \
701  (This)->lpVtbl -> get__NewEnum(This,pVal)
702 
703 #define IDynamicPortMappingCollection_get_Item(This,bstrRemoteHost,lExternalPort,bstrProtocol,ppDPM) \
704  (This)->lpVtbl -> get_Item(This,bstrRemoteHost,lExternalPort,bstrProtocol,ppDPM)
705 
706 #define IDynamicPortMappingCollection_get_Count(This,pVal) \
707  (This)->lpVtbl -> get_Count(This,pVal)
708 
709 #define IDynamicPortMappingCollection_Remove(This,bstrRemoteHost,lExternalPort,bstrProtocol) \
710  (This)->lpVtbl -> Remove(This,bstrRemoteHost,lExternalPort,bstrProtocol)
711 
712 #define IDynamicPortMappingCollection_Add(This,bstrRemoteHost,lExternalPort,bstrProtocol,lInternalPort,bstrInternalClient,bEnabled,bstrDescription,lLeaseDuration,ppDPM) \
713  (This)->lpVtbl -> Add(This,bstrRemoteHost,lExternalPort,bstrProtocol,lInternalPort,bstrInternalClient,bEnabled,bstrDescription,lLeaseDuration,ppDPM)
714 
715 #endif // COBJMACROS
716 #endif // C style interface
717  /* [restricted][hidden][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDynamicPortMappingCollection_get__NewEnum_Proxy(
718  IDynamicPortMappingCollection * This,
719  /* [retval][out] */ IUnknown **pVal);
720 
721  void __RPC_STUB IDynamicPortMappingCollection_get__NewEnum_Stub(
722  IRpcStubBuffer *This,
723  IRpcChannelBuffer *_pRpcChannelBuffer,
724  PRPC_MESSAGE _pRpcMessage,
725  DWORD *_pdwStubPhase);
726 
727  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDynamicPortMappingCollection_get_Item_Proxy(
728  IDynamicPortMappingCollection * This,
729  /* [in] */ BSTR bstrRemoteHost,
730  /* [in] */ long lExternalPort,
731  /* [in] */ BSTR bstrProtocol,
732  /* [retval][out] */ IDynamicPortMapping **ppDPM);
733 
734  void __RPC_STUB IDynamicPortMappingCollection_get_Item_Stub(
735  IRpcStubBuffer *This,
736  IRpcChannelBuffer *_pRpcChannelBuffer,
737  PRPC_MESSAGE _pRpcMessage,
738  DWORD *_pdwStubPhase);
739 
740  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDynamicPortMappingCollection_get_Count_Proxy(
741  IDynamicPortMappingCollection * This,
742  /* [retval][out] */ long *pVal);
743 
744  void __RPC_STUB IDynamicPortMappingCollection_get_Count_Stub(
745  IRpcStubBuffer *This,
746  IRpcChannelBuffer *_pRpcChannelBuffer,
747  PRPC_MESSAGE _pRpcMessage,
748  DWORD *_pdwStubPhase);
749 
750  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IDynamicPortMappingCollection_Remove_Proxy(
751  IDynamicPortMappingCollection * This,
752  /* [in] */ BSTR bstrRemoteHost,
753  /* [in] */ long lExternalPort,
754  /* [in] */ BSTR bstrProtocol);
755 
756  void __RPC_STUB IDynamicPortMappingCollection_Remove_Stub(
757  IRpcStubBuffer *This,
758  IRpcChannelBuffer *_pRpcChannelBuffer,
759  PRPC_MESSAGE _pRpcMessage,
760  DWORD *_pdwStubPhase);
761 
762  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IDynamicPortMappingCollection_Add_Proxy(
763  IDynamicPortMappingCollection * This,
764  /* [in] */ BSTR bstrRemoteHost,
765  /* [in] */ long lExternalPort,
766  /* [in] */ BSTR bstrProtocol,
767  /* [in] */ long lInternalPort,
768  /* [in] */ BSTR bstrInternalClient,
769  /* [in] */ VARIANT_BOOL bEnabled,
770  /* [in] */ BSTR bstrDescription,
771  /* [in] */ long lLeaseDuration,
772  /* [retval][out] */ IDynamicPortMapping **ppDPM);
773 
774  void __RPC_STUB IDynamicPortMappingCollection_Add_Stub(
775  IRpcStubBuffer *This,
776  IRpcChannelBuffer *_pRpcChannelBuffer,
777  PRPC_MESSAGE _pRpcMessage,
778  DWORD *_pdwStubPhase);
779 
780 #endif // __IDynamicPortMappingCollection_INTERFACE_DEFINED__
781 #ifndef __IDynamicPortMapping_INTERFACE_DEFINED__
782 #define __IDynamicPortMapping_INTERFACE_DEFINED__
783 
784  // interface IDynamicPortMapping
785  // [unique][helpstring][dual][uuid][object]
786  EXTERN_C const IID IID_IDynamicPortMapping;
787 
788 #if defined(__cplusplus) && !defined(CINTERFACE)
789 
790  MIDL_INTERFACE("4FC80282-23B6-4378-9A27-CD8F17C9400C")
791 IDynamicPortMapping : public IDispatch
792  {
793  public:
794  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExternalIPAddress(
795  /* [retval][out] */ BSTR *pVal) = 0;
796 
797  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RemoteHost(
798  /* [retval][out] */ BSTR *pVal) = 0;
799 
800  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExternalPort(
801  /* [retval][out] */ long *pVal) = 0;
802 
803  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Protocol(
804  /* [retval][out] */ BSTR *pVal) = 0;
805 
806  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InternalPort(
807  /* [retval][out] */ long *pVal) = 0;
808 
809  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InternalClient(
810  /* [retval][out] */ BSTR *pVal) = 0;
811 
812  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Enabled(
813  /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
814 
815  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description(
816  /* [retval][out] */ BSTR *pVal) = 0;
817 
818  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LeaseDuration(
819  /* [retval][out] */ long *pVal) = 0;
820 
821  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RenewLease(
822  /* [in] */ long lLeaseDurationDesired,
823  /* [retval][out] */ long *pLeaseDurationReturned) = 0;
824 
825  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EditInternalClient(
826  /* [in] */ BSTR bstrInternalClient) = 0;
827 
828  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Enable(
829  /* [in] */ VARIANT_BOOL vb) = 0;
830 
831  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EditDescription(
832  /* [in] */ BSTR bstrDescription) = 0;
833 
834  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EditInternalPort(
835  /* [in] */ long lInternalPort) = 0;
836  };
837 
838 #else // C style interface
839  typedef struct IDynamicPortMappingVtbl
840  {
841  BEGIN_INTERFACE
842 
843  HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
844  IDynamicPortMapping * This,
845  /* [in] */ const IID& riid,
846  /* [iid_is][out] */ void **ppvObject);
847 
848  ULONG ( STDMETHODCALLTYPE *AddRef )(
849  IDynamicPortMapping * This);
850 
851  ULONG ( STDMETHODCALLTYPE *Release )(
852  IDynamicPortMapping * This);
853 
854  HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
855  IDynamicPortMapping * This,
856  /* [out] */ UINT *pctinfo);
857 
858  HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
859  IDynamicPortMapping * This,
860  /* [in] */ UINT iTInfo,
861  /* [in] */ LCID lcid,
862  /* [out] */ ITypeInfo **ppTInfo);
863 
864  HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
865  IDynamicPortMapping * This,
866  /* [in] */ const IID& riid,
867  /* [size_is][in] */ LPOLESTR *rgszNames,
868  /* [in] */ UINT cNames,
869  /* [in] */ LCID lcid,
870  /* [size_is][out] */ DISPID *rgDispId);
871 
872  /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
873  IDynamicPortMapping * This,
874  /* [in] */ DISPID dispIdMember,
875  /* [in] */ const IID& riid,
876  /* [in] */ LCID lcid,
877  /* [in] */ WORD wFlags,
878  /* [out][in] */ DISPPARAMS *pDispParams,
879  /* [out] */ VARIANT *pVarResult,
880  /* [out] */ EXCEPINFO *pExcepInfo,
881  /* [out] */ UINT *puArgErr);
882 
883  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExternalIPAddress )(
884  IDynamicPortMapping * This,
885  /* [retval][out] */ BSTR *pVal);
886 
887  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RemoteHost )(
888  IDynamicPortMapping * This,
889  /* [retval][out] */ BSTR *pVal);
890 
891  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExternalPort )(
892  IDynamicPortMapping * This,
893  /* [retval][out] */ long *pVal);
894 
895  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Protocol )(
896  IDynamicPortMapping * This,
897  /* [retval][out] */ BSTR *pVal);
898 
899  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InternalPort )(
900  IDynamicPortMapping * This,
901  /* [retval][out] */ long *pVal);
902 
903  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InternalClient )(
904  IDynamicPortMapping * This,
905  /* [retval][out] */ BSTR *pVal);
906 
907  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )(
908  IDynamicPortMapping * This,
909  /* [retval][out] */ VARIANT_BOOL *pVal);
910 
911  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )(
912  IDynamicPortMapping * This,
913  /* [retval][out] */ BSTR *pVal);
914 
915  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LeaseDuration )(
916  IDynamicPortMapping * This,
917  /* [retval][out] */ long *pVal);
918 
919  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RenewLease )(
920  IDynamicPortMapping * This,
921  /* [in] */ long lLeaseDurationDesired,
922  /* [retval][out] */ long *pLeaseDurationReturned);
923 
924  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EditInternalClient )(
925  IDynamicPortMapping * This,
926  /* [in] */ BSTR bstrInternalClient);
927 
928  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Enable )(
929  IDynamicPortMapping * This,
930  /* [in] */ VARIANT_BOOL vb);
931 
932  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EditDescription )(
933  IDynamicPortMapping * This,
934  /* [in] */ BSTR bstrDescription);
935 
936  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EditInternalPort )(
937  IDynamicPortMapping * This,
938  /* [in] */ long lInternalPort);
939 
940  END_INTERFACE
941  } IDynamicPortMappingVtbl;
942 
943  interface IDynamicPortMapping
944  {
945  CONST_VTBL struct IDynamicPortMappingVtbl *lpVtbl;
946  };
947 
948 #ifdef COBJMACROS
949 
950 #define IDynamicPortMapping_QueryInterface(This,riid,ppvObject) \
951  (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
952 
953 #define IDynamicPortMapping_AddRef(This) \
954  (This)->lpVtbl -> AddRef(This)
955 
956 #define IDynamicPortMapping_Release(This) \
957  (This)->lpVtbl -> Release(This)
958 
959 #define IDynamicPortMapping_GetTypeInfoCount(This,pctinfo) \
960  (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
961 
962 #define IDynamicPortMapping_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
963  (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
964 
965 #define IDynamicPortMapping_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
966  (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
967 
968 #define IDynamicPortMapping_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
969  (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
970 
971 #define IDynamicPortMapping_get_ExternalIPAddress(This,pVal) \
972  (This)->lpVtbl -> get_ExternalIPAddress(This,pVal)
973 
974 #define IDynamicPortMapping_get_RemoteHost(This,pVal) \
975  (This)->lpVtbl -> get_RemoteHost(This,pVal)
976 
977 #define IDynamicPortMapping_get_ExternalPort(This,pVal) \
978  (This)->lpVtbl -> get_ExternalPort(This,pVal)
979 
980 #define IDynamicPortMapping_get_Protocol(This,pVal) \
981  (This)->lpVtbl -> get_Protocol(This,pVal)
982 
983 #define IDynamicPortMapping_get_InternalPort(This,pVal) \
984  (This)->lpVtbl -> get_InternalPort(This,pVal)
985 
986 #define IDynamicPortMapping_get_InternalClient(This,pVal) \
987  (This)->lpVtbl -> get_InternalClient(This,pVal)
988 
989 #define IDynamicPortMapping_get_Enabled(This,pVal) \
990  (This)->lpVtbl -> get_Enabled(This,pVal)
991 
992 #define IDynamicPortMapping_get_Description(This,pVal) \
993  (This)->lpVtbl -> get_Description(This,pVal)
994 
995 #define IDynamicPortMapping_get_LeaseDuration(This,pVal) \
996  (This)->lpVtbl -> get_LeaseDuration(This,pVal)
997 
998 #define IDynamicPortMapping_RenewLease(This,lLeaseDurationDesired,pLeaseDurationReturned) \
999  (This)->lpVtbl -> RenewLease(This,lLeaseDurationDesired,pLeaseDurationReturned)
1000 
1001 #define IDynamicPortMapping_EditInternalClient(This,bstrInternalClient) \
1002  (This)->lpVtbl -> EditInternalClient(This,bstrInternalClient)
1003 
1004 #define IDynamicPortMapping_Enable(This,vb) \
1005  (This)->lpVtbl -> Enable(This,vb)
1006 
1007 #define IDynamicPortMapping_EditDescription(This,bstrDescription) \
1008  (This)->lpVtbl -> EditDescription(This,bstrDescription)
1009 
1010 #define IDynamicPortMapping_EditInternalPort(This,lInternalPort) \
1011  (This)->lpVtbl -> EditInternalPort(This,lInternalPort)
1012 
1013 #endif // COBJMACROS
1014 #endif // C style interface
1015  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDynamicPortMapping_get_ExternalIPAddress_Proxy(
1016  IDynamicPortMapping * This,
1017  /* [retval][out] */ BSTR *pVal);
1018 
1019  void __RPC_STUB IDynamicPortMapping_get_ExternalIPAddress_Stub(
1020  IRpcStubBuffer *This,
1021  IRpcChannelBuffer *_pRpcChannelBuffer,
1022  PRPC_MESSAGE _pRpcMessage,
1023  DWORD *_pdwStubPhase);
1024 
1025  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDynamicPortMapping_get_RemoteHost_Proxy(
1026  IDynamicPortMapping * This,
1027  /* [retval][out] */ BSTR *pVal);
1028 
1029  void __RPC_STUB IDynamicPortMapping_get_RemoteHost_Stub(
1030  IRpcStubBuffer *This,
1031  IRpcChannelBuffer *_pRpcChannelBuffer,
1032  PRPC_MESSAGE _pRpcMessage,
1033  DWORD *_pdwStubPhase);
1034 
1035  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDynamicPortMapping_get_ExternalPort_Proxy(
1036  IDynamicPortMapping * This,
1037  /* [retval][out] */ long *pVal);
1038 
1039  void __RPC_STUB IDynamicPortMapping_get_ExternalPort_Stub(
1040  IRpcStubBuffer *This,
1041  IRpcChannelBuffer *_pRpcChannelBuffer,
1042  PRPC_MESSAGE _pRpcMessage,
1043  DWORD *_pdwStubPhase);
1044 
1045  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDynamicPortMapping_get_Protocol_Proxy(
1046  IDynamicPortMapping * This,
1047  /* [retval][out] */ BSTR *pVal);
1048 
1049  void __RPC_STUB IDynamicPortMapping_get_Protocol_Stub(
1050  IRpcStubBuffer *This,
1051  IRpcChannelBuffer *_pRpcChannelBuffer,
1052  PRPC_MESSAGE _pRpcMessage,
1053  DWORD *_pdwStubPhase);
1054 
1055  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDynamicPortMapping_get_InternalPort_Proxy(
1056  IDynamicPortMapping * This,
1057  /* [retval][out] */ long *pVal);
1058 
1059  void __RPC_STUB IDynamicPortMapping_get_InternalPort_Stub(
1060  IRpcStubBuffer *This,
1061  IRpcChannelBuffer *_pRpcChannelBuffer,
1062  PRPC_MESSAGE _pRpcMessage,
1063  DWORD *_pdwStubPhase);
1064 
1065  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDynamicPortMapping_get_InternalClient_Proxy(
1066  IDynamicPortMapping * This,
1067  /* [retval][out] */ BSTR *pVal);
1068 
1069  void __RPC_STUB IDynamicPortMapping_get_InternalClient_Stub(
1070  IRpcStubBuffer *This,
1071  IRpcChannelBuffer *_pRpcChannelBuffer,
1072  PRPC_MESSAGE _pRpcMessage,
1073  DWORD *_pdwStubPhase);
1074 
1075  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDynamicPortMapping_get_Enabled_Proxy(
1076  IDynamicPortMapping * This,
1077  /* [retval][out] */ VARIANT_BOOL *pVal);
1078 
1079  void __RPC_STUB IDynamicPortMapping_get_Enabled_Stub(
1080  IRpcStubBuffer *This,
1081  IRpcChannelBuffer *_pRpcChannelBuffer,
1082  PRPC_MESSAGE _pRpcMessage,
1083  DWORD *_pdwStubPhase);
1084 
1085  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDynamicPortMapping_get_Description_Proxy(
1086  IDynamicPortMapping * This,
1087  /* [retval][out] */ BSTR *pVal);
1088 
1089  void __RPC_STUB IDynamicPortMapping_get_Description_Stub(
1090  IRpcStubBuffer *This,
1091  IRpcChannelBuffer *_pRpcChannelBuffer,
1092  PRPC_MESSAGE _pRpcMessage,
1093  DWORD *_pdwStubPhase);
1094 
1095  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IDynamicPortMapping_get_LeaseDuration_Proxy(
1096  IDynamicPortMapping * This,
1097  /* [retval][out] */ long *pVal);
1098 
1099  void __RPC_STUB IDynamicPortMapping_get_LeaseDuration_Stub(
1100  IRpcStubBuffer *This,
1101  IRpcChannelBuffer *_pRpcChannelBuffer,
1102  PRPC_MESSAGE _pRpcMessage,
1103  DWORD *_pdwStubPhase);
1104 
1105  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IDynamicPortMapping_RenewLease_Proxy(
1106  IDynamicPortMapping * This,
1107  /* [in] */ long lLeaseDurationDesired,
1108  /* [retval][out] */ long *pLeaseDurationReturned);
1109 
1110  void __RPC_STUB IDynamicPortMapping_RenewLease_Stub(
1111  IRpcStubBuffer *This,
1112  IRpcChannelBuffer *_pRpcChannelBuffer,
1113  PRPC_MESSAGE _pRpcMessage,
1114  DWORD *_pdwStubPhase);
1115 
1116  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IDynamicPortMapping_EditInternalClient_Proxy(
1117  IDynamicPortMapping * This,
1118  /* [in] */ BSTR bstrInternalClient);
1119 
1120  void __RPC_STUB IDynamicPortMapping_EditInternalClient_Stub(
1121  IRpcStubBuffer *This,
1122  IRpcChannelBuffer *_pRpcChannelBuffer,
1123  PRPC_MESSAGE _pRpcMessage,
1124  DWORD *_pdwStubPhase);
1125 
1126  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IDynamicPortMapping_Enable_Proxy(
1127  IDynamicPortMapping * This,
1128  /* [in] */ VARIANT_BOOL vb);
1129 
1130  void __RPC_STUB IDynamicPortMapping_Enable_Stub(
1131  IRpcStubBuffer *This,
1132  IRpcChannelBuffer *_pRpcChannelBuffer,
1133  PRPC_MESSAGE _pRpcMessage,
1134  DWORD *_pdwStubPhase);
1135 
1136  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IDynamicPortMapping_EditDescription_Proxy(
1137  IDynamicPortMapping * This,
1138  /* [in] */ BSTR bstrDescription);
1139 
1140  void __RPC_STUB IDynamicPortMapping_EditDescription_Stub(
1141  IRpcStubBuffer *This,
1142  IRpcChannelBuffer *_pRpcChannelBuffer,
1143  PRPC_MESSAGE _pRpcMessage,
1144  DWORD *_pdwStubPhase);
1145 
1146  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IDynamicPortMapping_EditInternalPort_Proxy(
1147  IDynamicPortMapping * This,
1148  /* [in] */ long lInternalPort);
1149 
1150  void __RPC_STUB IDynamicPortMapping_EditInternalPort_Stub(
1151  IRpcStubBuffer *This,
1152  IRpcChannelBuffer *_pRpcChannelBuffer,
1153  PRPC_MESSAGE _pRpcMessage,
1154  DWORD *_pdwStubPhase);
1155 
1156 #endif // __IDynamicPortMapping_INTERFACE_DEFINED__
1157 #ifndef __IStaticPortMappingCollection_INTERFACE_DEFINED__
1158 #define __IStaticPortMappingCollection_INTERFACE_DEFINED__
1159 
1160  // interface IStaticPortMappingCollection
1161  // [unique][helpstring][dual][uuid][object]
1162  EXTERN_C const IID IID_IStaticPortMappingCollection;
1163 
1164 #if defined(__cplusplus) && !defined(CINTERFACE)
1165 
1166  MIDL_INTERFACE("CD1F3E77-66D6-4664-82C7-36DBB641D0F1")
1167 IStaticPortMappingCollection : public IDispatch
1168  {
1169  public:
1170  virtual /* [restricted][hidden][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
1171  /* [retval][out] */ IUnknown **pVal) = 0;
1172 
1173  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
1174  /* [in] */ long lExternalPort,
1175  /* [in] */ BSTR bstrProtocol,
1176  /* [retval][out] */ IStaticPortMapping **ppSPM) = 0;
1177 
1178  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
1179  /* [retval][out] */ long *pVal) = 0;
1180 
1181  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
1182  /* [in] */ long lExternalPort,
1183  /* [in] */ BSTR bstrProtocol) = 0;
1184 
1185  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
1186  /* [in] */ long lExternalPort,
1187  /* [in] */ BSTR bstrProtocol,
1188  /* [in] */ long lInternalPort,
1189  /* [in] */ BSTR bstrInternalClient,
1190  /* [in] */ VARIANT_BOOL bEnabled,
1191  /* [in] */ BSTR bstrDescription,
1192  /* [retval][out] */ IStaticPortMapping **ppSPM) = 0;
1193  };
1194 
1195 #else // C style interface
1196  typedef struct IStaticPortMappingCollectionVtbl
1197  {
1198  BEGIN_INTERFACE
1199 
1200  HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1201  IStaticPortMappingCollection * This,
1202  /* [in] */ const IID& riid,
1203  /* [iid_is][out] */ void **ppvObject);
1204 
1205  ULONG ( STDMETHODCALLTYPE *AddRef )(
1206  IStaticPortMappingCollection * This);
1207 
1208  ULONG ( STDMETHODCALLTYPE *Release )(
1209  IStaticPortMappingCollection * This);
1210 
1211  HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
1212  IStaticPortMappingCollection * This,
1213  /* [out] */ UINT *pctinfo);
1214 
1215  HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
1216  IStaticPortMappingCollection * This,
1217  /* [in] */ UINT iTInfo,
1218  /* [in] */ LCID lcid,
1219  /* [out] */ ITypeInfo **ppTInfo);
1220 
1221  HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
1222  IStaticPortMappingCollection * This,
1223  /* [in] */ const IID& riid,
1224  /* [size_is][in] */ LPOLESTR *rgszNames,
1225  /* [in] */ UINT cNames,
1226  /* [in] */ LCID lcid,
1227  /* [size_is][out] */ DISPID *rgDispId);
1228 
1229  /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
1230  IStaticPortMappingCollection * This,
1231  /* [in] */ DISPID dispIdMember,
1232  /* [in] */ const IID& riid,
1233  /* [in] */ LCID lcid,
1234  /* [in] */ WORD wFlags,
1235  /* [out][in] */ DISPPARAMS *pDispParams,
1236  /* [out] */ VARIANT *pVarResult,
1237  /* [out] */ EXCEPINFO *pExcepInfo,
1238  /* [out] */ UINT *puArgErr);
1239 
1240  /* [restricted][hidden][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
1241  IStaticPortMappingCollection * This,
1242  /* [retval][out] */ IUnknown **pVal);
1243 
1244  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
1245  IStaticPortMappingCollection * This,
1246  /* [in] */ long lExternalPort,
1247  /* [in] */ BSTR bstrProtocol,
1248  /* [retval][out] */ IStaticPortMapping **ppSPM);
1249 
1250  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
1251  IStaticPortMappingCollection * This,
1252  /* [retval][out] */ long *pVal);
1253 
1254  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
1255  IStaticPortMappingCollection * This,
1256  /* [in] */ long lExternalPort,
1257  /* [in] */ BSTR bstrProtocol);
1258 
1259  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
1260  IStaticPortMappingCollection * This,
1261  /* [in] */ long lExternalPort,
1262  /* [in] */ BSTR bstrProtocol,
1263  /* [in] */ long lInternalPort,
1264  /* [in] */ BSTR bstrInternalClient,
1265  /* [in] */ VARIANT_BOOL bEnabled,
1266  /* [in] */ BSTR bstrDescription,
1267  /* [retval][out] */ IStaticPortMapping **ppSPM);
1268 
1269  END_INTERFACE
1270  } IStaticPortMappingCollectionVtbl;
1271 
1272  interface IStaticPortMappingCollection
1273  {
1274  CONST_VTBL struct IStaticPortMappingCollectionVtbl *lpVtbl;
1275  };
1276 
1277 #ifdef COBJMACROS
1278 
1279 #define IStaticPortMappingCollection_QueryInterface(This,riid,ppvObject) \
1280  (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
1281 
1282 #define IStaticPortMappingCollection_AddRef(This) \
1283  (This)->lpVtbl -> AddRef(This)
1284 
1285 #define IStaticPortMappingCollection_Release(This) \
1286  (This)->lpVtbl -> Release(This)
1287 
1288 #define IStaticPortMappingCollection_GetTypeInfoCount(This,pctinfo) \
1289  (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
1290 
1291 #define IStaticPortMappingCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
1292  (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
1293 
1294 #define IStaticPortMappingCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
1295  (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
1296 
1297 #define IStaticPortMappingCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
1298  (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
1299 
1300 #define IStaticPortMappingCollection_get__NewEnum(This,pVal) \
1301  (This)->lpVtbl -> get__NewEnum(This,pVal)
1302 
1303 #define IStaticPortMappingCollection_get_Item(This,lExternalPort,bstrProtocol,ppSPM) \
1304  (This)->lpVtbl -> get_Item(This,lExternalPort,bstrProtocol,ppSPM)
1305 
1306 #define IStaticPortMappingCollection_get_Count(This,pVal) \
1307  (This)->lpVtbl -> get_Count(This,pVal)
1308 
1309 #define IStaticPortMappingCollection_Remove(This,lExternalPort,bstrProtocol) \
1310  (This)->lpVtbl -> Remove(This,lExternalPort,bstrProtocol)
1311 
1312 #define IStaticPortMappingCollection_Add(This,lExternalPort,bstrProtocol,lInternalPort,bstrInternalClient,bEnabled,bstrDescription,ppSPM) \
1313  (This)->lpVtbl -> Add(This,lExternalPort,bstrProtocol,lInternalPort,bstrInternalClient,bEnabled,bstrDescription,ppSPM)
1314 
1315 #endif // COBJMACROS
1316 #endif // C style interface
1317  /* [restricted][hidden][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IStaticPortMappingCollection_get__NewEnum_Proxy(
1318  IStaticPortMappingCollection * This,
1319  /* [retval][out] */ IUnknown **pVal);
1320 
1321  void __RPC_STUB IStaticPortMappingCollection_get__NewEnum_Stub(
1322  IRpcStubBuffer *This,
1323  IRpcChannelBuffer *_pRpcChannelBuffer,
1324  PRPC_MESSAGE _pRpcMessage,
1325  DWORD *_pdwStubPhase);
1326 
1327  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IStaticPortMappingCollection_get_Item_Proxy(
1328  IStaticPortMappingCollection * This,
1329  /* [in] */ long lExternalPort,
1330  /* [in] */ BSTR bstrProtocol,
1331  /* [retval][out] */ IStaticPortMapping **ppSPM);
1332 
1333  void __RPC_STUB IStaticPortMappingCollection_get_Item_Stub(
1334  IRpcStubBuffer *This,
1335  IRpcChannelBuffer *_pRpcChannelBuffer,
1336  PRPC_MESSAGE _pRpcMessage,
1337  DWORD *_pdwStubPhase);
1338 
1339  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IStaticPortMappingCollection_get_Count_Proxy(
1340  IStaticPortMappingCollection * This,
1341  /* [retval][out] */ long *pVal);
1342 
1343  void __RPC_STUB IStaticPortMappingCollection_get_Count_Stub(
1344  IRpcStubBuffer *This,
1345  IRpcChannelBuffer *_pRpcChannelBuffer,
1346  PRPC_MESSAGE _pRpcMessage,
1347  DWORD *_pdwStubPhase);
1348 
1349  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IStaticPortMappingCollection_Remove_Proxy(
1350  IStaticPortMappingCollection * This,
1351  /* [in] */ long lExternalPort,
1352  /* [in] */ BSTR bstrProtocol);
1353 
1354  void __RPC_STUB IStaticPortMappingCollection_Remove_Stub(
1355  IRpcStubBuffer *This,
1356  IRpcChannelBuffer *_pRpcChannelBuffer,
1357  PRPC_MESSAGE _pRpcMessage,
1358  DWORD *_pdwStubPhase);
1359 
1360  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IStaticPortMappingCollection_Add_Proxy(
1361  IStaticPortMappingCollection * This,
1362  /* [in] */ long lExternalPort,
1363  /* [in] */ BSTR bstrProtocol,
1364  /* [in] */ long lInternalPort,
1365  /* [in] */ BSTR bstrInternalClient,
1366  /* [in] */ VARIANT_BOOL bEnabled,
1367  /* [in] */ BSTR bstrDescription,
1368  /* [retval][out] */ IStaticPortMapping **ppSPM);
1369 
1370  void __RPC_STUB IStaticPortMappingCollection_Add_Stub(
1371  IRpcStubBuffer *This,
1372  IRpcChannelBuffer *_pRpcChannelBuffer,
1373  PRPC_MESSAGE _pRpcMessage,
1374  DWORD *_pdwStubPhase);
1375 
1376 #endif // __IStaticPortMappingCollection_INTERFACE_DEFINED__
1377 #ifndef __IStaticPortMapping_INTERFACE_DEFINED__
1378 #define __IStaticPortMapping_INTERFACE_DEFINED__
1379 
1380  // interface IStaticPortMapping
1381  // [unique][helpstring][dual][uuid][object]
1382  EXTERN_C const IID IID_IStaticPortMapping;
1383 
1384 #if defined(__cplusplus) && !defined(CINTERFACE)
1385 
1386  MIDL_INTERFACE("6F10711F-729B-41E5-93B8-F21D0F818DF1")
1387 IStaticPortMapping : public IDispatch
1388  {
1389  public:
1390  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExternalIPAddress(
1391  /* [retval][out] */ BSTR *pVal) = 0;
1392 
1393  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExternalPort(
1394  /* [retval][out] */ long *pVal) = 0;
1395 
1396  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InternalPort(
1397  /* [retval][out] */ long *pVal) = 0;
1398 
1399  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Protocol(
1400  /* [retval][out] */ BSTR *pVal) = 0;
1401 
1402  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InternalClient(
1403  /* [retval][out] */ BSTR *pVal) = 0;
1404 
1405  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Enabled(
1406  /* [retval][out] */ VARIANT_BOOL *pVal) = 0;
1407 
1408  virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description(
1409  /* [retval][out] */ BSTR *pVal) = 0;
1410 
1411  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EditInternalClient(
1412  /* [in] */ BSTR bstrInternalClient) = 0;
1413 
1414  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Enable(
1415  /* [in] */ VARIANT_BOOL vb) = 0;
1416 
1417  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EditDescription(
1418  /* [in] */ BSTR bstrDescription) = 0;
1419 
1420  virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EditInternalPort(
1421  /* [in] */ long lInternalPort) = 0;
1422  };
1423 
1424 #else // C style interface
1425  typedef struct IStaticPortMappingVtbl
1426  {
1427  BEGIN_INTERFACE
1428 
1429  HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
1430  IStaticPortMapping * This,
1431  /* [in] */ const IID& riid,
1432  /* [iid_is][out] */ void **ppvObject);
1433 
1434  ULONG ( STDMETHODCALLTYPE *AddRef )(
1435  IStaticPortMapping * This);
1436 
1437  ULONG ( STDMETHODCALLTYPE *Release )(
1438  IStaticPortMapping * This);
1439 
1440  HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
1441  IStaticPortMapping * This,
1442  /* [out] */ UINT *pctinfo);
1443 
1444  HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
1445  IStaticPortMapping * This,
1446  /* [in] */ UINT iTInfo,
1447  /* [in] */ LCID lcid,
1448  /* [out] */ ITypeInfo **ppTInfo);
1449 
1450  HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
1451  IStaticPortMapping * This,
1452  /* [in] */ const IID& riid,
1453  /* [size_is][in] */ LPOLESTR *rgszNames,
1454  /* [in] */ UINT cNames,
1455  /* [in] */ LCID lcid,
1456  /* [size_is][out] */ DISPID *rgDispId);
1457 
1458  /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
1459  IStaticPortMapping * This,
1460  /* [in] */ DISPID dispIdMember,
1461  /* [in] */ const IID& riid,
1462  /* [in] */ LCID lcid,
1463  /* [in] */ WORD wFlags,
1464  /* [out][in] */ DISPPARAMS *pDispParams,
1465  /* [out] */ VARIANT *pVarResult,
1466  /* [out] */ EXCEPINFO *pExcepInfo,
1467  /* [out] */ UINT *puArgErr);
1468 
1469  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExternalIPAddress )(
1470  IStaticPortMapping * This,
1471  /* [retval][out] */ BSTR *pVal);
1472 
1473  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExternalPort )(
1474  IStaticPortMapping * This,
1475  /* [retval][out] */ long *pVal);
1476 
1477  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InternalPort )(
1478  IStaticPortMapping * This,
1479  /* [retval][out] */ long *pVal);
1480 
1481  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Protocol )(
1482  IStaticPortMapping * This,
1483  /* [retval][out] */ BSTR *pVal);
1484 
1485  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InternalClient )(
1486  IStaticPortMapping * This,
1487  /* [retval][out] */ BSTR *pVal);
1488 
1489  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )(
1490  IStaticPortMapping * This,
1491  /* [retval][out] */ VARIANT_BOOL *pVal);
1492 
1493  /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Description )(
1494  IStaticPortMapping * This,
1495  /* [retval][out] */ BSTR *pVal);
1496 
1497  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EditInternalClient )(
1498  IStaticPortMapping * This,
1499  /* [in] */ BSTR bstrInternalClient);
1500 
1501  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Enable )(
1502  IStaticPortMapping * This,
1503  /* [in] */ VARIANT_BOOL vb);
1504 
1505  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EditDescription )(
1506  IStaticPortMapping * This,
1507  /* [in] */ BSTR bstrDescription);
1508 
1509  /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EditInternalPort )(
1510  IStaticPortMapping * This,
1511  /* [in] */ long lInternalPort);
1512 
1513  END_INTERFACE
1514  } IStaticPortMappingVtbl;
1515 
1516  interface IStaticPortMapping
1517  {
1518  CONST_VTBL struct IStaticPortMappingVtbl *lpVtbl;
1519  };
1520 
1521 #ifdef COBJMACROS
1522 
1523 #define IStaticPortMapping_QueryInterface(This,riid,ppvObject) \
1524  (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
1525 
1526 #define IStaticPortMapping_AddRef(This) \
1527  (This)->lpVtbl -> AddRef(This)
1528 
1529 #define IStaticPortMapping_Release(This) \
1530  (This)->lpVtbl -> Release(This)
1531 
1532 #define IStaticPortMapping_GetTypeInfoCount(This,pctinfo) \
1533  (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
1534 
1535 #define IStaticPortMapping_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
1536  (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
1537 
1538 #define IStaticPortMapping_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
1539  (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
1540 
1541 #define IStaticPortMapping_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
1542  (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
1543 
1544 #define IStaticPortMapping_get_ExternalIPAddress(This,pVal) \
1545  (This)->lpVtbl -> get_ExternalIPAddress(This,pVal)
1546 
1547 #define IStaticPortMapping_get_ExternalPort(This,pVal) \
1548  (This)->lpVtbl -> get_ExternalPort(This,pVal)
1549 
1550 #define IStaticPortMapping_get_InternalPort(This,pVal) \
1551  (This)->lpVtbl -> get_InternalPort(This,pVal)
1552 
1553 #define IStaticPortMapping_get_Protocol(This,pVal) \
1554  (This)->lpVtbl -> get_Protocol(This,pVal)
1555 
1556 #define IStaticPortMapping_get_InternalClient(This,pVal) \
1557  (This)->lpVtbl -> get_InternalClient(This,pVal)
1558 
1559 #define IStaticPortMapping_get_Enabled(This,pVal) \
1560  (This)->lpVtbl -> get_Enabled(This,pVal)
1561 
1562 #define IStaticPortMapping_get_Description(This,pVal) \
1563  (This)->lpVtbl -> get_Description(This,pVal)
1564 
1565 #define IStaticPortMapping_EditInternalClient(This,bstrInternalClient) \
1566  (This)->lpVtbl -> EditInternalClient(This,bstrInternalClient)
1567 
1568 #define IStaticPortMapping_Enable(This,vb) \
1569  (This)->lpVtbl -> Enable(This,vb)
1570 
1571 #define IStaticPortMapping_EditDescription(This,bstrDescription) \
1572  (This)->lpVtbl -> EditDescription(This,bstrDescription)
1573 
1574 #define IStaticPortMapping_EditInternalPort(This,lInternalPort) \
1575  (This)->lpVtbl -> EditInternalPort(This,lInternalPort)
1576 
1577 #endif // COBJMACROS
1578 #endif // C style interface
1579  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IStaticPortMapping_get_ExternalIPAddress_Proxy(
1580  IStaticPortMapping * This,
1581  /* [retval][out] */ BSTR *pVal);
1582 
1583  void __RPC_STUB IStaticPortMapping_get_ExternalIPAddress_Stub(
1584  IRpcStubBuffer *This,
1585  IRpcChannelBuffer *_pRpcChannelBuffer,
1586  PRPC_MESSAGE _pRpcMessage,
1587  DWORD *_pdwStubPhase);
1588 
1589  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IStaticPortMapping_get_ExternalPort_Proxy(
1590  IStaticPortMapping * This,
1591  /* [retval][out] */ long *pVal);
1592 
1593  void __RPC_STUB IStaticPortMapping_get_ExternalPort_Stub(
1594  IRpcStubBuffer *This,
1595  IRpcChannelBuffer *_pRpcChannelBuffer,
1596  PRPC_MESSAGE _pRpcMessage,
1597  DWORD *_pdwStubPhase);
1598 
1599  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IStaticPortMapping_get_InternalPort_Proxy(
1600  IStaticPortMapping * This,
1601  /* [retval][out] */ long *pVal);
1602 
1603  void __RPC_STUB IStaticPortMapping_get_InternalPort_Stub(
1604  IRpcStubBuffer *This,
1605  IRpcChannelBuffer *_pRpcChannelBuffer,
1606  PRPC_MESSAGE _pRpcMessage,
1607  DWORD *_pdwStubPhase);
1608 
1609  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IStaticPortMapping_get_Protocol_Proxy(
1610  IStaticPortMapping * This,
1611  /* [retval][out] */ BSTR *pVal);
1612 
1613  void __RPC_STUB IStaticPortMapping_get_Protocol_Stub(
1614  IRpcStubBuffer *This,
1615  IRpcChannelBuffer *_pRpcChannelBuffer,
1616  PRPC_MESSAGE _pRpcMessage,
1617  DWORD *_pdwStubPhase);
1618 
1619  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IStaticPortMapping_get_InternalClient_Proxy(
1620  IStaticPortMapping * This,
1621  /* [retval][out] */ BSTR *pVal);
1622 
1623  void __RPC_STUB IStaticPortMapping_get_InternalClient_Stub(
1624  IRpcStubBuffer *This,
1625  IRpcChannelBuffer *_pRpcChannelBuffer,
1626  PRPC_MESSAGE _pRpcMessage,
1627  DWORD *_pdwStubPhase);
1628 
1629  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IStaticPortMapping_get_Enabled_Proxy(
1630  IStaticPortMapping * This,
1631  /* [retval][out] */ VARIANT_BOOL *pVal);
1632 
1633  void __RPC_STUB IStaticPortMapping_get_Enabled_Stub(
1634  IRpcStubBuffer *This,
1635  IRpcChannelBuffer *_pRpcChannelBuffer,
1636  PRPC_MESSAGE _pRpcMessage,
1637  DWORD *_pdwStubPhase);
1638 
1639  /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IStaticPortMapping_get_Description_Proxy(
1640  IStaticPortMapping * This,
1641  /* [retval][out] */ BSTR *pVal);
1642 
1643  void __RPC_STUB IStaticPortMapping_get_Description_Stub(
1644  IRpcStubBuffer *This,
1645  IRpcChannelBuffer *_pRpcChannelBuffer,
1646  PRPC_MESSAGE _pRpcMessage,
1647  DWORD *_pdwStubPhase);
1648 
1649  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IStaticPortMapping_EditInternalClient_Proxy(
1650  IStaticPortMapping * This,
1651  /* [in] */ BSTR bstrInternalClient);
1652 
1653  void __RPC_STUB IStaticPortMapping_EditInternalClient_Stub(
1654  IRpcStubBuffer *This,
1655  IRpcChannelBuffer *_pRpcChannelBuffer,
1656  PRPC_MESSAGE _pRpcMessage,
1657  DWORD *_pdwStubPhase);
1658 
1659  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IStaticPortMapping_Enable_Proxy(
1660  IStaticPortMapping * This,
1661  /* [in] */ VARIANT_BOOL vb);
1662 
1663  void __RPC_STUB IStaticPortMapping_Enable_Stub(
1664  IRpcStubBuffer *This,
1665  IRpcChannelBuffer *_pRpcChannelBuffer,
1666  PRPC_MESSAGE _pRpcMessage,
1667  DWORD *_pdwStubPhase);
1668 
1669  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IStaticPortMapping_EditDescription_Proxy(
1670  IStaticPortMapping * This,
1671  /* [in] */ BSTR bstrDescription);
1672 
1673  void __RPC_STUB IStaticPortMapping_EditDescription_Stub(
1674  IRpcStubBuffer *This,
1675  IRpcChannelBuffer *_pRpcChannelBuffer,
1676  PRPC_MESSAGE _pRpcMessage,
1677  DWORD *_pdwStubPhase);
1678 
1679  /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IStaticPortMapping_EditInternalPort_Proxy(
1680  IStaticPortMapping * This,
1681  /* [in] */ long lInternalPort);
1682 
1683  void __RPC_STUB IStaticPortMapping_EditInternalPort_Stub(
1684  IRpcStubBuffer *This,
1685  IRpcChannelBuffer *_pRpcChannelBuffer,
1686  PRPC_MESSAGE _pRpcMessage,
1687  DWORD *_pdwStubPhase);
1688 
1689 #endif // __IStaticPortMapping_INTERFACE_DEFINED__
1690 #ifndef __NATUPNPLib_LIBRARY_DEFINED__
1691 #define __NATUPNPLib_LIBRARY_DEFINED__
1692 
1693  // library NATUPNPLib
1694  // [helpstring][version][uuid]
1695  EXTERN_C const IID LIBID_NATUPNPLib;
1696 
1697  EXTERN_C const CLSID CLSID_UPnPNAT;
1698 
1699 #ifdef __cplusplus
1700 
1701  class DECLSPEC_UUID("AE1E00AA-3FD5-403C-8A27-2BBDC30CD0E1")
1702  UPnPNAT;
1703 #endif
1704 #endif // __NATUPNPLib_LIBRARY_DEFINED__
1705 
1706  // Additional Prototypes for ALL interfaces
1707  unsigned long __RPC_USER BSTR_UserSize(unsigned long *, unsigned long, BSTR *);
1708  unsigned char * __RPC_USER BSTR_UserMarshal(unsigned long *, unsigned char *, BSTR *);
1709  unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR *);
1710  void __RPC_USER BSTR_UserFree(unsigned long *, BSTR *);
1711 
1712  // end of Additional Prototypes
1713 #ifdef __cplusplus
1714 }
1715 #endif
1716 
1717 #endif
1718 #endif
MIDL_INTERFACE("7ED943DD-52E8-40b5-A8D8-76685C406330") ID3DXBaseMesh
#define DECLSPEC_UUID(x)
Definition: IUnknown.h:19
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: IUnknown.h:68
Definition: IUnknown.h:34