home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / mdhcp.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  42.0 KB  |  1,194 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  2.  
  3. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  4.  
  5. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  6.  
  7.  
  8.  /* File created by MIDL compiler version 5.03.0279 */
  9. /* at Sat Jul 31 00:53:08 1999
  10.  */
  11. /* Compiler settings for mdhcp.idl:
  12.     Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
  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.  
  21. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  22. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  23. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  24. #endif
  25.  
  26. #include "rpc.h"
  27. #include "rpcndr.h"
  28.  
  29. #ifndef __RPCNDR_H_VERSION__
  30. #error this stub requires an updated version of <rpcndr.h>
  31. #endif // __RPCNDR_H_VERSION__
  32.  
  33. #ifndef COM_NO_WINDOWS_H
  34. #include "windows.h"
  35. #include "ole2.h"
  36. #endif /*COM_NO_WINDOWS_H*/
  37.  
  38. #ifndef __mdhcp_h__
  39. #define __mdhcp_h__
  40.  
  41. /* Forward Declarations */ 
  42.  
  43. #ifndef __IMcastScope_FWD_DEFINED__
  44. #define __IMcastScope_FWD_DEFINED__
  45. typedef interface IMcastScope IMcastScope;
  46. #endif     /* __IMcastScope_FWD_DEFINED__ */
  47.  
  48.  
  49. #ifndef __IMcastLeaseInfo_FWD_DEFINED__
  50. #define __IMcastLeaseInfo_FWD_DEFINED__
  51. typedef interface IMcastLeaseInfo IMcastLeaseInfo;
  52. #endif     /* __IMcastLeaseInfo_FWD_DEFINED__ */
  53.  
  54.  
  55. #ifndef __IEnumMcastScope_FWD_DEFINED__
  56. #define __IEnumMcastScope_FWD_DEFINED__
  57. typedef interface IEnumMcastScope IEnumMcastScope;
  58. #endif     /* __IEnumMcastScope_FWD_DEFINED__ */
  59.  
  60.  
  61. #ifndef __IMcastAddressAllocation_FWD_DEFINED__
  62. #define __IMcastAddressAllocation_FWD_DEFINED__
  63. typedef interface IMcastAddressAllocation IMcastAddressAllocation;
  64. #endif     /* __IMcastAddressAllocation_FWD_DEFINED__ */
  65.  
  66.  
  67. #ifndef __IMcastScope_FWD_DEFINED__
  68. #define __IMcastScope_FWD_DEFINED__
  69. typedef interface IMcastScope IMcastScope;
  70. #endif     /* __IMcastScope_FWD_DEFINED__ */
  71.  
  72.  
  73. #ifndef __IMcastLeaseInfo_FWD_DEFINED__
  74. #define __IMcastLeaseInfo_FWD_DEFINED__
  75. typedef interface IMcastLeaseInfo IMcastLeaseInfo;
  76. #endif     /* __IMcastLeaseInfo_FWD_DEFINED__ */
  77.  
  78.  
  79. #ifndef __IEnumMcastScope_FWD_DEFINED__
  80. #define __IEnumMcastScope_FWD_DEFINED__
  81. typedef interface IEnumMcastScope IEnumMcastScope;
  82. #endif     /* __IEnumMcastScope_FWD_DEFINED__ */
  83.  
  84.  
  85. #ifndef __IMcastAddressAllocation_FWD_DEFINED__
  86. #define __IMcastAddressAllocation_FWD_DEFINED__
  87. typedef interface IMcastAddressAllocation IMcastAddressAllocation;
  88. #endif     /* __IMcastAddressAllocation_FWD_DEFINED__ */
  89.  
  90.  
  91. #ifndef __McastAddressAllocation_FWD_DEFINED__
  92. #define __McastAddressAllocation_FWD_DEFINED__
  93.  
  94. #ifdef __cplusplus
  95. typedef class McastAddressAllocation McastAddressAllocation;
  96. #else
  97. typedef struct McastAddressAllocation McastAddressAllocation;
  98. #endif /* __cplusplus */
  99.  
  100. #endif     /* __McastAddressAllocation_FWD_DEFINED__ */
  101.  
  102.  
  103. /* header files for imported files */
  104. #include "oaidl.h"
  105. #include "ocidl.h"
  106. #include "tapi3if.h"
  107.  
  108. #ifdef __cplusplus
  109. extern "C"{
  110. #endif 
  111.  
  112. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  113. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  114.  
  115. /* interface __MIDL_itf_mdhcp_0000 */
  116. /* [local] */ 
  117.  
  118. /* Copyright (c) 1998-1999  Microsoft Corporation  */
  119.  
  120.  
  121. extern RPC_IF_HANDLE __MIDL_itf_mdhcp_0000_v0_0_c_ifspec;
  122. extern RPC_IF_HANDLE __MIDL_itf_mdhcp_0000_v0_0_s_ifspec;
  123.  
  124. #ifndef __IMcastScope_INTERFACE_DEFINED__
  125. #define __IMcastScope_INTERFACE_DEFINED__
  126.  
  127. /* interface IMcastScope */
  128. /* [unique][helpstring][dual][uuid][object] */ 
  129.  
  130.  
  131. EXTERN_C const IID IID_IMcastScope;
  132.  
  133. #if defined(__cplusplus) && !defined(CINTERFACE)
  134.     
  135.     MIDL_INTERFACE("DF0DAEF4-A289-11D1-8697-006008B0E5D2")
  136.     IMcastScope : public IDispatch
  137.     {
  138.     public:
  139.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ScopeID( 
  140.             /* [retval][out] */ long __RPC_FAR *pID) = 0;
  141.         
  142.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ServerID( 
  143.             /* [retval][out] */ long __RPC_FAR *pID) = 0;
  144.         
  145.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InterfaceID( 
  146.             /* [retval][out] */ long __RPC_FAR *pID) = 0;
  147.         
  148.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ScopeDescription( 
  149.             /* [retval][out] */ BSTR __RPC_FAR *ppDescription) = 0;
  150.         
  151.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TTL( 
  152.             /* [retval][out] */ long __RPC_FAR *pTTL) = 0;
  153.         
  154.     };
  155.     
  156. #else     /* C style interface */
  157.  
  158.     typedef struct IMcastScopeVtbl
  159.     {
  160.         BEGIN_INTERFACE
  161.         
  162.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  163.             IMcastScope __RPC_FAR * This,
  164.             /* [in] */ REFIID riid,
  165.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  166.         
  167.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  168.             IMcastScope __RPC_FAR * This);
  169.         
  170.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  171.             IMcastScope __RPC_FAR * This);
  172.         
  173.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  174.             IMcastScope __RPC_FAR * This,
  175.             /* [out] */ UINT __RPC_FAR *pctinfo);
  176.         
  177.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  178.             IMcastScope __RPC_FAR * This,
  179.             /* [in] */ UINT iTInfo,
  180.             /* [in] */ LCID lcid,
  181.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  182.         
  183.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  184.             IMcastScope __RPC_FAR * This,
  185.             /* [in] */ REFIID riid,
  186.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  187.             /* [in] */ UINT cNames,
  188.             /* [in] */ LCID lcid,
  189.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  190.         
  191.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  192.             IMcastScope __RPC_FAR * This,
  193.             /* [in] */ DISPID dispIdMember,
  194.             /* [in] */ REFIID riid,
  195.             /* [in] */ LCID lcid,
  196.             /* [in] */ WORD wFlags,
  197.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  198.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  199.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  200.             /* [out] */ UINT __RPC_FAR *puArgErr);
  201.         
  202.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ScopeID )( 
  203.             IMcastScope __RPC_FAR * This,
  204.             /* [retval][out] */ long __RPC_FAR *pID);
  205.         
  206.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ServerID )( 
  207.             IMcastScope __RPC_FAR * This,
  208.             /* [retval][out] */ long __RPC_FAR *pID);
  209.         
  210.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_InterfaceID )( 
  211.             IMcastScope __RPC_FAR * This,
  212.             /* [retval][out] */ long __RPC_FAR *pID);
  213.         
  214.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ScopeDescription )( 
  215.             IMcastScope __RPC_FAR * This,
  216.             /* [retval][out] */ BSTR __RPC_FAR *ppDescription);
  217.         
  218.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TTL )( 
  219.             IMcastScope __RPC_FAR * This,
  220.             /* [retval][out] */ long __RPC_FAR *pTTL);
  221.         
  222.         END_INTERFACE
  223.     } IMcastScopeVtbl;
  224.  
  225.     interface IMcastScope
  226.     {
  227.         CONST_VTBL struct IMcastScopeVtbl __RPC_FAR *lpVtbl;
  228.     };
  229.  
  230.     
  231.  
  232. #ifdef COBJMACROS
  233.  
  234.  
  235. #define IMcastScope_QueryInterface(This,riid,ppvObject)    \
  236.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  237.  
  238. #define IMcastScope_AddRef(This)    \
  239.     (This)->lpVtbl -> AddRef(This)
  240.  
  241. #define IMcastScope_Release(This)    \
  242.     (This)->lpVtbl -> Release(This)
  243.  
  244.  
  245. #define IMcastScope_GetTypeInfoCount(This,pctinfo)    \
  246.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  247.  
  248. #define IMcastScope_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  249.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  250.  
  251. #define IMcastScope_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  252.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  253.  
  254. #define IMcastScope_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  255.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  256.  
  257.  
  258. #define IMcastScope_get_ScopeID(This,pID)    \
  259.     (This)->lpVtbl -> get_ScopeID(This,pID)
  260.  
  261. #define IMcastScope_get_ServerID(This,pID)    \
  262.     (This)->lpVtbl -> get_ServerID(This,pID)
  263.  
  264. #define IMcastScope_get_InterfaceID(This,pID)    \
  265.     (This)->lpVtbl -> get_InterfaceID(This,pID)
  266.  
  267. #define IMcastScope_get_ScopeDescription(This,ppDescription)    \
  268.     (This)->lpVtbl -> get_ScopeDescription(This,ppDescription)
  269.  
  270. #define IMcastScope_get_TTL(This,pTTL)    \
  271.     (This)->lpVtbl -> get_TTL(This,pTTL)
  272.  
  273. #endif /* COBJMACROS */
  274.  
  275.  
  276. #endif     /* C style interface */
  277.  
  278.  
  279.  
  280. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMcastScope_get_ScopeID_Proxy( 
  281.     IMcastScope __RPC_FAR * This,
  282.     /* [retval][out] */ long __RPC_FAR *pID);
  283.  
  284.  
  285. void __RPC_STUB IMcastScope_get_ScopeID_Stub(
  286.     IRpcStubBuffer *This,
  287.     IRpcChannelBuffer *_pRpcChannelBuffer,
  288.     PRPC_MESSAGE _pRpcMessage,
  289.     DWORD *_pdwStubPhase);
  290.  
  291.  
  292. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMcastScope_get_ServerID_Proxy( 
  293.     IMcastScope __RPC_FAR * This,
  294.     /* [retval][out] */ long __RPC_FAR *pID);
  295.  
  296.  
  297. void __RPC_STUB IMcastScope_get_ServerID_Stub(
  298.     IRpcStubBuffer *This,
  299.     IRpcChannelBuffer *_pRpcChannelBuffer,
  300.     PRPC_MESSAGE _pRpcMessage,
  301.     DWORD *_pdwStubPhase);
  302.  
  303.  
  304. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMcastScope_get_InterfaceID_Proxy( 
  305.     IMcastScope __RPC_FAR * This,
  306.     /* [retval][out] */ long __RPC_FAR *pID);
  307.  
  308.  
  309. void __RPC_STUB IMcastScope_get_InterfaceID_Stub(
  310.     IRpcStubBuffer *This,
  311.     IRpcChannelBuffer *_pRpcChannelBuffer,
  312.     PRPC_MESSAGE _pRpcMessage,
  313.     DWORD *_pdwStubPhase);
  314.  
  315.  
  316. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMcastScope_get_ScopeDescription_Proxy( 
  317.     IMcastScope __RPC_FAR * This,
  318.     /* [retval][out] */ BSTR __RPC_FAR *ppDescription);
  319.  
  320.  
  321. void __RPC_STUB IMcastScope_get_ScopeDescription_Stub(
  322.     IRpcStubBuffer *This,
  323.     IRpcChannelBuffer *_pRpcChannelBuffer,
  324.     PRPC_MESSAGE _pRpcMessage,
  325.     DWORD *_pdwStubPhase);
  326.  
  327.  
  328. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMcastScope_get_TTL_Proxy( 
  329.     IMcastScope __RPC_FAR * This,
  330.     /* [retval][out] */ long __RPC_FAR *pTTL);
  331.  
  332.  
  333. void __RPC_STUB IMcastScope_get_TTL_Stub(
  334.     IRpcStubBuffer *This,
  335.     IRpcChannelBuffer *_pRpcChannelBuffer,
  336.     PRPC_MESSAGE _pRpcMessage,
  337.     DWORD *_pdwStubPhase);
  338.  
  339.  
  340.  
  341. #endif     /* __IMcastScope_INTERFACE_DEFINED__ */
  342.  
  343.  
  344. #ifndef __IMcastLeaseInfo_INTERFACE_DEFINED__
  345. #define __IMcastLeaseInfo_INTERFACE_DEFINED__
  346.  
  347. /* interface IMcastLeaseInfo */
  348. /* [unique][helpstring][dual][uuid][object] */ 
  349.  
  350.  
  351. EXTERN_C const IID IID_IMcastLeaseInfo;
  352.  
  353. #if defined(__cplusplus) && !defined(CINTERFACE)
  354.     
  355.     MIDL_INTERFACE("DF0DAEFD-A289-11D1-8697-006008B0E5D2")
  356.     IMcastLeaseInfo : public IDispatch
  357.     {
  358.     public:
  359.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RequestID( 
  360.             /* [retval][out] */ BSTR __RPC_FAR *ppRequestID) = 0;
  361.         
  362.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LeaseStartTime( 
  363.             /* [retval][out] */ DATE __RPC_FAR *pTime) = 0;
  364.         
  365.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_LeaseStartTime( 
  366.             /* [in] */ DATE time) = 0;
  367.         
  368.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LeaseStopTime( 
  369.             /* [retval][out] */ DATE __RPC_FAR *pTime) = 0;
  370.         
  371.         virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_LeaseStopTime( 
  372.             /* [in] */ DATE time) = 0;
  373.         
  374.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AddressCount( 
  375.             /* [retval][out] */ long __RPC_FAR *pCount) = 0;
  376.         
  377.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ServerAddress( 
  378.             /* [retval][out] */ BSTR __RPC_FAR *ppAddress) = 0;
  379.         
  380.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TTL( 
  381.             /* [retval][out] */ long __RPC_FAR *pTTL) = 0;
  382.         
  383.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Addresses( 
  384.             /* [retval][out] */ VARIANT __RPC_FAR *pVariant) = 0;
  385.         
  386.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateAddresses( 
  387.             /* [retval][out] */ IEnumBstr __RPC_FAR *__RPC_FAR *ppEnumAddresses) = 0;
  388.         
  389.     };
  390.     
  391. #else     /* C style interface */
  392.  
  393.     typedef struct IMcastLeaseInfoVtbl
  394.     {
  395.         BEGIN_INTERFACE
  396.         
  397.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  398.             IMcastLeaseInfo __RPC_FAR * This,
  399.             /* [in] */ REFIID riid,
  400.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  401.         
  402.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  403.             IMcastLeaseInfo __RPC_FAR * This);
  404.         
  405.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  406.             IMcastLeaseInfo __RPC_FAR * This);
  407.         
  408.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  409.             IMcastLeaseInfo __RPC_FAR * This,
  410.             /* [out] */ UINT __RPC_FAR *pctinfo);
  411.         
  412.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  413.             IMcastLeaseInfo __RPC_FAR * This,
  414.             /* [in] */ UINT iTInfo,
  415.             /* [in] */ LCID lcid,
  416.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  417.         
  418.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  419.             IMcastLeaseInfo __RPC_FAR * This,
  420.             /* [in] */ REFIID riid,
  421.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  422.             /* [in] */ UINT cNames,
  423.             /* [in] */ LCID lcid,
  424.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  425.         
  426.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  427.             IMcastLeaseInfo __RPC_FAR * This,
  428.             /* [in] */ DISPID dispIdMember,
  429.             /* [in] */ REFIID riid,
  430.             /* [in] */ LCID lcid,
  431.             /* [in] */ WORD wFlags,
  432.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  433.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  434.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  435.             /* [out] */ UINT __RPC_FAR *puArgErr);
  436.         
  437.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_RequestID )( 
  438.             IMcastLeaseInfo __RPC_FAR * This,
  439.             /* [retval][out] */ BSTR __RPC_FAR *ppRequestID);
  440.         
  441.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LeaseStartTime )( 
  442.             IMcastLeaseInfo __RPC_FAR * This,
  443.             /* [retval][out] */ DATE __RPC_FAR *pTime);
  444.         
  445.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_LeaseStartTime )( 
  446.             IMcastLeaseInfo __RPC_FAR * This,
  447.             /* [in] */ DATE time);
  448.         
  449.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LeaseStopTime )( 
  450.             IMcastLeaseInfo __RPC_FAR * This,
  451.             /* [retval][out] */ DATE __RPC_FAR *pTime);
  452.         
  453.         /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_LeaseStopTime )( 
  454.             IMcastLeaseInfo __RPC_FAR * This,
  455.             /* [in] */ DATE time);
  456.         
  457.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_AddressCount )( 
  458.             IMcastLeaseInfo __RPC_FAR * This,
  459.             /* [retval][out] */ long __RPC_FAR *pCount);
  460.         
  461.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ServerAddress )( 
  462.             IMcastLeaseInfo __RPC_FAR * This,
  463.             /* [retval][out] */ BSTR __RPC_FAR *ppAddress);
  464.         
  465.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TTL )( 
  466.             IMcastLeaseInfo __RPC_FAR * This,
  467.             /* [retval][out] */ long __RPC_FAR *pTTL);
  468.         
  469.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Addresses )( 
  470.             IMcastLeaseInfo __RPC_FAR * This,
  471.             /* [retval][out] */ VARIANT __RPC_FAR *pVariant);
  472.         
  473.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumerateAddresses )( 
  474.             IMcastLeaseInfo __RPC_FAR * This,
  475.             /* [retval][out] */ IEnumBstr __RPC_FAR *__RPC_FAR *ppEnumAddresses);
  476.         
  477.         END_INTERFACE
  478.     } IMcastLeaseInfoVtbl;
  479.  
  480.     interface IMcastLeaseInfo
  481.     {
  482.         CONST_VTBL struct IMcastLeaseInfoVtbl __RPC_FAR *lpVtbl;
  483.     };
  484.  
  485.     
  486.  
  487. #ifdef COBJMACROS
  488.  
  489.  
  490. #define IMcastLeaseInfo_QueryInterface(This,riid,ppvObject)    \
  491.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  492.  
  493. #define IMcastLeaseInfo_AddRef(This)    \
  494.     (This)->lpVtbl -> AddRef(This)
  495.  
  496. #define IMcastLeaseInfo_Release(This)    \
  497.     (This)->lpVtbl -> Release(This)
  498.  
  499.  
  500. #define IMcastLeaseInfo_GetTypeInfoCount(This,pctinfo)    \
  501.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  502.  
  503. #define IMcastLeaseInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  504.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  505.  
  506. #define IMcastLeaseInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  507.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  508.  
  509. #define IMcastLeaseInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  510.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  511.  
  512.  
  513. #define IMcastLeaseInfo_get_RequestID(This,ppRequestID)    \
  514.     (This)->lpVtbl -> get_RequestID(This,ppRequestID)
  515.  
  516. #define IMcastLeaseInfo_get_LeaseStartTime(This,pTime)    \
  517.     (This)->lpVtbl -> get_LeaseStartTime(This,pTime)
  518.  
  519. #define IMcastLeaseInfo_put_LeaseStartTime(This,time)    \
  520.     (This)->lpVtbl -> put_LeaseStartTime(This,time)
  521.  
  522. #define IMcastLeaseInfo_get_LeaseStopTime(This,pTime)    \
  523.     (This)->lpVtbl -> get_LeaseStopTime(This,pTime)
  524.  
  525. #define IMcastLeaseInfo_put_LeaseStopTime(This,time)    \
  526.     (This)->lpVtbl -> put_LeaseStopTime(This,time)
  527.  
  528. #define IMcastLeaseInfo_get_AddressCount(This,pCount)    \
  529.     (This)->lpVtbl -> get_AddressCount(This,pCount)
  530.  
  531. #define IMcastLeaseInfo_get_ServerAddress(This,ppAddress)    \
  532.     (This)->lpVtbl -> get_ServerAddress(This,ppAddress)
  533.  
  534. #define IMcastLeaseInfo_get_TTL(This,pTTL)    \
  535.     (This)->lpVtbl -> get_TTL(This,pTTL)
  536.  
  537. #define IMcastLeaseInfo_get_Addresses(This,pVariant)    \
  538.     (This)->lpVtbl -> get_Addresses(This,pVariant)
  539.  
  540. #define IMcastLeaseInfo_EnumerateAddresses(This,ppEnumAddresses)    \
  541.     (This)->lpVtbl -> EnumerateAddresses(This,ppEnumAddresses)
  542.  
  543. #endif /* COBJMACROS */
  544.  
  545.  
  546. #endif     /* C style interface */
  547.  
  548.  
  549.  
  550. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMcastLeaseInfo_get_RequestID_Proxy( 
  551.     IMcastLeaseInfo __RPC_FAR * This,
  552.     /* [retval][out] */ BSTR __RPC_FAR *ppRequestID);
  553.  
  554.  
  555. void __RPC_STUB IMcastLeaseInfo_get_RequestID_Stub(
  556.     IRpcStubBuffer *This,
  557.     IRpcChannelBuffer *_pRpcChannelBuffer,
  558.     PRPC_MESSAGE _pRpcMessage,
  559.     DWORD *_pdwStubPhase);
  560.  
  561.  
  562. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMcastLeaseInfo_get_LeaseStartTime_Proxy( 
  563.     IMcastLeaseInfo __RPC_FAR * This,
  564.     /* [retval][out] */ DATE __RPC_FAR *pTime);
  565.  
  566.  
  567. void __RPC_STUB IMcastLeaseInfo_get_LeaseStartTime_Stub(
  568.     IRpcStubBuffer *This,
  569.     IRpcChannelBuffer *_pRpcChannelBuffer,
  570.     PRPC_MESSAGE _pRpcMessage,
  571.     DWORD *_pdwStubPhase);
  572.  
  573.  
  574. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IMcastLeaseInfo_put_LeaseStartTime_Proxy( 
  575.     IMcastLeaseInfo __RPC_FAR * This,
  576.     /* [in] */ DATE time);
  577.  
  578.  
  579. void __RPC_STUB IMcastLeaseInfo_put_LeaseStartTime_Stub(
  580.     IRpcStubBuffer *This,
  581.     IRpcChannelBuffer *_pRpcChannelBuffer,
  582.     PRPC_MESSAGE _pRpcMessage,
  583.     DWORD *_pdwStubPhase);
  584.  
  585.  
  586. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMcastLeaseInfo_get_LeaseStopTime_Proxy( 
  587.     IMcastLeaseInfo __RPC_FAR * This,
  588.     /* [retval][out] */ DATE __RPC_FAR *pTime);
  589.  
  590.  
  591. void __RPC_STUB IMcastLeaseInfo_get_LeaseStopTime_Stub(
  592.     IRpcStubBuffer *This,
  593.     IRpcChannelBuffer *_pRpcChannelBuffer,
  594.     PRPC_MESSAGE _pRpcMessage,
  595.     DWORD *_pdwStubPhase);
  596.  
  597.  
  598. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IMcastLeaseInfo_put_LeaseStopTime_Proxy( 
  599.     IMcastLeaseInfo __RPC_FAR * This,
  600.     /* [in] */ DATE time);
  601.  
  602.  
  603. void __RPC_STUB IMcastLeaseInfo_put_LeaseStopTime_Stub(
  604.     IRpcStubBuffer *This,
  605.     IRpcChannelBuffer *_pRpcChannelBuffer,
  606.     PRPC_MESSAGE _pRpcMessage,
  607.     DWORD *_pdwStubPhase);
  608.  
  609.  
  610. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMcastLeaseInfo_get_AddressCount_Proxy( 
  611.     IMcastLeaseInfo __RPC_FAR * This,
  612.     /* [retval][out] */ long __RPC_FAR *pCount);
  613.  
  614.  
  615. void __RPC_STUB IMcastLeaseInfo_get_AddressCount_Stub(
  616.     IRpcStubBuffer *This,
  617.     IRpcChannelBuffer *_pRpcChannelBuffer,
  618.     PRPC_MESSAGE _pRpcMessage,
  619.     DWORD *_pdwStubPhase);
  620.  
  621.  
  622. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMcastLeaseInfo_get_ServerAddress_Proxy( 
  623.     IMcastLeaseInfo __RPC_FAR * This,
  624.     /* [retval][out] */ BSTR __RPC_FAR *ppAddress);
  625.  
  626.  
  627. void __RPC_STUB IMcastLeaseInfo_get_ServerAddress_Stub(
  628.     IRpcStubBuffer *This,
  629.     IRpcChannelBuffer *_pRpcChannelBuffer,
  630.     PRPC_MESSAGE _pRpcMessage,
  631.     DWORD *_pdwStubPhase);
  632.  
  633.  
  634. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMcastLeaseInfo_get_TTL_Proxy( 
  635.     IMcastLeaseInfo __RPC_FAR * This,
  636.     /* [retval][out] */ long __RPC_FAR *pTTL);
  637.  
  638.  
  639. void __RPC_STUB IMcastLeaseInfo_get_TTL_Stub(
  640.     IRpcStubBuffer *This,
  641.     IRpcChannelBuffer *_pRpcChannelBuffer,
  642.     PRPC_MESSAGE _pRpcMessage,
  643.     DWORD *_pdwStubPhase);
  644.  
  645.  
  646. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMcastLeaseInfo_get_Addresses_Proxy( 
  647.     IMcastLeaseInfo __RPC_FAR * This,
  648.     /* [retval][out] */ VARIANT __RPC_FAR *pVariant);
  649.  
  650.  
  651. void __RPC_STUB IMcastLeaseInfo_get_Addresses_Stub(
  652.     IRpcStubBuffer *This,
  653.     IRpcChannelBuffer *_pRpcChannelBuffer,
  654.     PRPC_MESSAGE _pRpcMessage,
  655.     DWORD *_pdwStubPhase);
  656.  
  657.  
  658. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE IMcastLeaseInfo_EnumerateAddresses_Proxy( 
  659.     IMcastLeaseInfo __RPC_FAR * This,
  660.     /* [retval][out] */ IEnumBstr __RPC_FAR *__RPC_FAR *ppEnumAddresses);
  661.  
  662.  
  663. void __RPC_STUB IMcastLeaseInfo_EnumerateAddresses_Stub(
  664.     IRpcStubBuffer *This,
  665.     IRpcChannelBuffer *_pRpcChannelBuffer,
  666.     PRPC_MESSAGE _pRpcMessage,
  667.     DWORD *_pdwStubPhase);
  668.  
  669.  
  670.  
  671. #endif     /* __IMcastLeaseInfo_INTERFACE_DEFINED__ */
  672.  
  673.  
  674. #ifndef __IEnumMcastScope_INTERFACE_DEFINED__
  675. #define __IEnumMcastScope_INTERFACE_DEFINED__
  676.  
  677. /* interface IEnumMcastScope */
  678. /* [unique][helpstring][hidden][uuid][object] */ 
  679.  
  680.  
  681. EXTERN_C const IID IID_IEnumMcastScope;
  682.  
  683. #if defined(__cplusplus) && !defined(CINTERFACE)
  684.     
  685.     MIDL_INTERFACE("DF0DAF09-A289-11D1-8697-006008B0E5D2")
  686.     IEnumMcastScope : public IUnknown
  687.     {
  688.     public:
  689.         virtual HRESULT STDMETHODCALLTYPE Next( 
  690.             /* [in] */ ULONG celt,
  691.             /* [out] */ IMcastScope __RPC_FAR *__RPC_FAR *ppScopes,
  692.             /* [full][out][in] */ ULONG __RPC_FAR *pceltFetched) = 0;
  693.         
  694.         virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  695.         
  696.         virtual HRESULT STDMETHODCALLTYPE Skip( 
  697.             /* [in] */ ULONG celt) = 0;
  698.         
  699.         virtual HRESULT STDMETHODCALLTYPE Clone( 
  700.             /* [retval][out] */ IEnumMcastScope __RPC_FAR *__RPC_FAR *ppEnum) = 0;
  701.         
  702.     };
  703.     
  704. #else     /* C style interface */
  705.  
  706.     typedef struct IEnumMcastScopeVtbl
  707.     {
  708.         BEGIN_INTERFACE
  709.         
  710.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  711.             IEnumMcastScope __RPC_FAR * This,
  712.             /* [in] */ REFIID riid,
  713.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  714.         
  715.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  716.             IEnumMcastScope __RPC_FAR * This);
  717.         
  718.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  719.             IEnumMcastScope __RPC_FAR * This);
  720.         
  721.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )( 
  722.             IEnumMcastScope __RPC_FAR * This,
  723.             /* [in] */ ULONG celt,
  724.             /* [out] */ IMcastScope __RPC_FAR *__RPC_FAR *ppScopes,
  725.             /* [full][out][in] */ ULONG __RPC_FAR *pceltFetched);
  726.         
  727.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )( 
  728.             IEnumMcastScope __RPC_FAR * This);
  729.         
  730.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Skip )( 
  731.             IEnumMcastScope __RPC_FAR * This,
  732.             /* [in] */ ULONG celt);
  733.         
  734.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )( 
  735.             IEnumMcastScope __RPC_FAR * This,
  736.             /* [retval][out] */ IEnumMcastScope __RPC_FAR *__RPC_FAR *ppEnum);
  737.         
  738.         END_INTERFACE
  739.     } IEnumMcastScopeVtbl;
  740.  
  741.     interface IEnumMcastScope
  742.     {
  743.         CONST_VTBL struct IEnumMcastScopeVtbl __RPC_FAR *lpVtbl;
  744.     };
  745.  
  746.     
  747.  
  748. #ifdef COBJMACROS
  749.  
  750.  
  751. #define IEnumMcastScope_QueryInterface(This,riid,ppvObject)    \
  752.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  753.  
  754. #define IEnumMcastScope_AddRef(This)    \
  755.     (This)->lpVtbl -> AddRef(This)
  756.  
  757. #define IEnumMcastScope_Release(This)    \
  758.     (This)->lpVtbl -> Release(This)
  759.  
  760.  
  761. #define IEnumMcastScope_Next(This,celt,ppScopes,pceltFetched)    \
  762.     (This)->lpVtbl -> Next(This,celt,ppScopes,pceltFetched)
  763.  
  764. #define IEnumMcastScope_Reset(This)    \
  765.     (This)->lpVtbl -> Reset(This)
  766.  
  767. #define IEnumMcastScope_Skip(This,celt)    \
  768.     (This)->lpVtbl -> Skip(This,celt)
  769.  
  770. #define IEnumMcastScope_Clone(This,ppEnum)    \
  771.     (This)->lpVtbl -> Clone(This,ppEnum)
  772.  
  773. #endif /* COBJMACROS */
  774.  
  775.  
  776. #endif     /* C style interface */
  777.  
  778.  
  779.  
  780. HRESULT STDMETHODCALLTYPE IEnumMcastScope_Next_Proxy( 
  781.     IEnumMcastScope __RPC_FAR * This,
  782.     /* [in] */ ULONG celt,
  783.     /* [out] */ IMcastScope __RPC_FAR *__RPC_FAR *ppScopes,
  784.     /* [full][out][in] */ ULONG __RPC_FAR *pceltFetched);
  785.  
  786.  
  787. void __RPC_STUB IEnumMcastScope_Next_Stub(
  788.     IRpcStubBuffer *This,
  789.     IRpcChannelBuffer *_pRpcChannelBuffer,
  790.     PRPC_MESSAGE _pRpcMessage,
  791.     DWORD *_pdwStubPhase);
  792.  
  793.  
  794. HRESULT STDMETHODCALLTYPE IEnumMcastScope_Reset_Proxy( 
  795.     IEnumMcastScope __RPC_FAR * This);
  796.  
  797.  
  798. void __RPC_STUB IEnumMcastScope_Reset_Stub(
  799.     IRpcStubBuffer *This,
  800.     IRpcChannelBuffer *_pRpcChannelBuffer,
  801.     PRPC_MESSAGE _pRpcMessage,
  802.     DWORD *_pdwStubPhase);
  803.  
  804.  
  805. HRESULT STDMETHODCALLTYPE IEnumMcastScope_Skip_Proxy( 
  806.     IEnumMcastScope __RPC_FAR * This,
  807.     /* [in] */ ULONG celt);
  808.  
  809.  
  810. void __RPC_STUB IEnumMcastScope_Skip_Stub(
  811.     IRpcStubBuffer *This,
  812.     IRpcChannelBuffer *_pRpcChannelBuffer,
  813.     PRPC_MESSAGE _pRpcMessage,
  814.     DWORD *_pdwStubPhase);
  815.  
  816.  
  817. HRESULT STDMETHODCALLTYPE IEnumMcastScope_Clone_Proxy( 
  818.     IEnumMcastScope __RPC_FAR * This,
  819.     /* [retval][out] */ IEnumMcastScope __RPC_FAR *__RPC_FAR *ppEnum);
  820.  
  821.  
  822. void __RPC_STUB IEnumMcastScope_Clone_Stub(
  823.     IRpcStubBuffer *This,
  824.     IRpcChannelBuffer *_pRpcChannelBuffer,
  825.     PRPC_MESSAGE _pRpcMessage,
  826.     DWORD *_pdwStubPhase);
  827.  
  828.  
  829.  
  830. #endif     /* __IEnumMcastScope_INTERFACE_DEFINED__ */
  831.  
  832.  
  833. #ifndef __IMcastAddressAllocation_INTERFACE_DEFINED__
  834. #define __IMcastAddressAllocation_INTERFACE_DEFINED__
  835.  
  836. /* interface IMcastAddressAllocation */
  837. /* [unique][helpstring][dual][uuid][object] */ 
  838.  
  839.  
  840. EXTERN_C const IID IID_IMcastAddressAllocation;
  841.  
  842. #if defined(__cplusplus) && !defined(CINTERFACE)
  843.     
  844.     MIDL_INTERFACE("DF0DAEF1-A289-11D1-8697-006008B0E5D2")
  845.     IMcastAddressAllocation : public IDispatch
  846.     {
  847.     public:
  848.         virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Scopes( 
  849.             /* [retval][out] */ VARIANT __RPC_FAR *pVariant) = 0;
  850.         
  851.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateScopes( 
  852.             /* [out] */ IEnumMcastScope __RPC_FAR *__RPC_FAR *ppEnumMcastScope) = 0;
  853.         
  854.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RequestAddress( 
  855.             /* [in] */ IMcastScope __RPC_FAR *pScope,
  856.             /* [in] */ DATE LeaseStartTime,
  857.             /* [in] */ DATE LeaseStopTime,
  858.             /* [in] */ long NumAddresses,
  859.             /* [retval][out] */ IMcastLeaseInfo __RPC_FAR *__RPC_FAR *ppLeaseResponse) = 0;
  860.         
  861.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RenewAddress( 
  862.             /* [in] */ long lReserved,
  863.             /* [in] */ IMcastLeaseInfo __RPC_FAR *pRenewRequest,
  864.             /* [retval][out] */ IMcastLeaseInfo __RPC_FAR *__RPC_FAR *ppRenewResponse) = 0;
  865.         
  866.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReleaseAddress( 
  867.             /* [in] */ IMcastLeaseInfo __RPC_FAR *pReleaseRequest) = 0;
  868.         
  869.         virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE CreateLeaseInfo( 
  870.             /* [in] */ DATE LeaseStartTime,
  871.             /* [in] */ DATE LeaseStopTime,
  872.             /* [in] */ DWORD dwNumAddresses,
  873.             /* [in] */ LPWSTR __RPC_FAR *ppAddresses,
  874.             /* [in] */ LPWSTR pRequestID,
  875.             /* [in] */ LPWSTR pServerAddress,
  876.             /* [retval][out] */ IMcastLeaseInfo __RPC_FAR *__RPC_FAR *ppReleaseRequest) = 0;
  877.         
  878.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateLeaseInfoFromVariant( 
  879.             /* [in] */ DATE LeaseStartTime,
  880.             /* [in] */ DATE LeaseStopTime,
  881.             /* [in] */ VARIANT vAddresses,
  882.             /* [in] */ BSTR pRequestID,
  883.             /* [in] */ BSTR pServerAddress,
  884.             /* [retval][out] */ IMcastLeaseInfo __RPC_FAR *__RPC_FAR *ppReleaseRequest) = 0;
  885.         
  886.     };
  887.     
  888. #else     /* C style interface */
  889.  
  890.     typedef struct IMcastAddressAllocationVtbl
  891.     {
  892.         BEGIN_INTERFACE
  893.         
  894.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  895.             IMcastAddressAllocation __RPC_FAR * This,
  896.             /* [in] */ REFIID riid,
  897.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  898.         
  899.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  900.             IMcastAddressAllocation __RPC_FAR * This);
  901.         
  902.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  903.             IMcastAddressAllocation __RPC_FAR * This);
  904.         
  905.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  906.             IMcastAddressAllocation __RPC_FAR * This,
  907.             /* [out] */ UINT __RPC_FAR *pctinfo);
  908.         
  909.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  910.             IMcastAddressAllocation __RPC_FAR * This,
  911.             /* [in] */ UINT iTInfo,
  912.             /* [in] */ LCID lcid,
  913.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  914.         
  915.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  916.             IMcastAddressAllocation __RPC_FAR * This,
  917.             /* [in] */ REFIID riid,
  918.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  919.             /* [in] */ UINT cNames,
  920.             /* [in] */ LCID lcid,
  921.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  922.         
  923.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  924.             IMcastAddressAllocation __RPC_FAR * This,
  925.             /* [in] */ DISPID dispIdMember,
  926.             /* [in] */ REFIID riid,
  927.             /* [in] */ LCID lcid,
  928.             /* [in] */ WORD wFlags,
  929.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  930.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  931.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  932.             /* [out] */ UINT __RPC_FAR *puArgErr);
  933.         
  934.         /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Scopes )( 
  935.             IMcastAddressAllocation __RPC_FAR * This,
  936.             /* [retval][out] */ VARIANT __RPC_FAR *pVariant);
  937.         
  938.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumerateScopes )( 
  939.             IMcastAddressAllocation __RPC_FAR * This,
  940.             /* [out] */ IEnumMcastScope __RPC_FAR *__RPC_FAR *ppEnumMcastScope);
  941.         
  942.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestAddress )( 
  943.             IMcastAddressAllocation __RPC_FAR * This,
  944.             /* [in] */ IMcastScope __RPC_FAR *pScope,
  945.             /* [in] */ DATE LeaseStartTime,
  946.             /* [in] */ DATE LeaseStopTime,
  947.             /* [in] */ long NumAddresses,
  948.             /* [retval][out] */ IMcastLeaseInfo __RPC_FAR *__RPC_FAR *ppLeaseResponse);
  949.         
  950.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RenewAddress )( 
  951.             IMcastAddressAllocation __RPC_FAR * This,
  952.             /* [in] */ long lReserved,
  953.             /* [in] */ IMcastLeaseInfo __RPC_FAR *pRenewRequest,
  954.             /* [retval][out] */ IMcastLeaseInfo __RPC_FAR *__RPC_FAR *ppRenewResponse);
  955.         
  956.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseAddress )( 
  957.             IMcastAddressAllocation __RPC_FAR * This,
  958.             /* [in] */ IMcastLeaseInfo __RPC_FAR *pReleaseRequest);
  959.         
  960.         /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateLeaseInfo )( 
  961.             IMcastAddressAllocation __RPC_FAR * This,
  962.             /* [in] */ DATE LeaseStartTime,
  963.             /* [in] */ DATE LeaseStopTime,
  964.             /* [in] */ DWORD dwNumAddresses,
  965.             /* [in] */ LPWSTR __RPC_FAR *ppAddresses,
  966.             /* [in] */ LPWSTR pRequestID,
  967.             /* [in] */ LPWSTR pServerAddress,
  968.             /* [retval][out] */ IMcastLeaseInfo __RPC_FAR *__RPC_FAR *ppReleaseRequest);
  969.         
  970.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateLeaseInfoFromVariant )( 
  971.             IMcastAddressAllocation __RPC_FAR * This,
  972.             /* [in] */ DATE LeaseStartTime,
  973.             /* [in] */ DATE LeaseStopTime,
  974.             /* [in] */ VARIANT vAddresses,
  975.             /* [in] */ BSTR pRequestID,
  976.             /* [in] */ BSTR pServerAddress,
  977.             /* [retval][out] */ IMcastLeaseInfo __RPC_FAR *__RPC_FAR *ppReleaseRequest);
  978.         
  979.         END_INTERFACE
  980.     } IMcastAddressAllocationVtbl;
  981.  
  982.     interface IMcastAddressAllocation
  983.     {
  984.         CONST_VTBL struct IMcastAddressAllocationVtbl __RPC_FAR *lpVtbl;
  985.     };
  986.  
  987.     
  988.  
  989. #ifdef COBJMACROS
  990.  
  991.  
  992. #define IMcastAddressAllocation_QueryInterface(This,riid,ppvObject)    \
  993.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  994.  
  995. #define IMcastAddressAllocation_AddRef(This)    \
  996.     (This)->lpVtbl -> AddRef(This)
  997.  
  998. #define IMcastAddressAllocation_Release(This)    \
  999.     (This)->lpVtbl -> Release(This)
  1000.  
  1001.  
  1002. #define IMcastAddressAllocation_GetTypeInfoCount(This,pctinfo)    \
  1003.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1004.  
  1005. #define IMcastAddressAllocation_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  1006.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1007.  
  1008. #define IMcastAddressAllocation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  1009.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1010.  
  1011. #define IMcastAddressAllocation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  1012.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1013.  
  1014.  
  1015. #define IMcastAddressAllocation_get_Scopes(This,pVariant)    \
  1016.     (This)->lpVtbl -> get_Scopes(This,pVariant)
  1017.  
  1018. #define IMcastAddressAllocation_EnumerateScopes(This,ppEnumMcastScope)    \
  1019.     (This)->lpVtbl -> EnumerateScopes(This,ppEnumMcastScope)
  1020.  
  1021. #define IMcastAddressAllocation_RequestAddress(This,pScope,LeaseStartTime,LeaseStopTime,NumAddresses,ppLeaseResponse)    \
  1022.     (This)->lpVtbl -> RequestAddress(This,pScope,LeaseStartTime,LeaseStopTime,NumAddresses,ppLeaseResponse)
  1023.  
  1024. #define IMcastAddressAllocation_RenewAddress(This,lReserved,pRenewRequest,ppRenewResponse)    \
  1025.     (This)->lpVtbl -> RenewAddress(This,lReserved,pRenewRequest,ppRenewResponse)
  1026.  
  1027. #define IMcastAddressAllocation_ReleaseAddress(This,pReleaseRequest)    \
  1028.     (This)->lpVtbl -> ReleaseAddress(This,pReleaseRequest)
  1029.  
  1030. #define IMcastAddressAllocation_CreateLeaseInfo(This,LeaseStartTime,LeaseStopTime,dwNumAddresses,ppAddresses,pRequestID,pServerAddress,ppReleaseRequest)    \
  1031.     (This)->lpVtbl -> CreateLeaseInfo(This,LeaseStartTime,LeaseStopTime,dwNumAddresses,ppAddresses,pRequestID,pServerAddress,ppReleaseRequest)
  1032.  
  1033. #define IMcastAddressAllocation_CreateLeaseInfoFromVariant(This,LeaseStartTime,LeaseStopTime,vAddresses,pRequestID,pServerAddress,ppReleaseRequest)    \
  1034.     (This)->lpVtbl -> CreateLeaseInfoFromVariant(This,LeaseStartTime,LeaseStopTime,vAddresses,pRequestID,pServerAddress,ppReleaseRequest)
  1035.  
  1036. #endif /* COBJMACROS */
  1037.  
  1038.  
  1039. #endif     /* C style interface */
  1040.  
  1041.  
  1042.  
  1043. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IMcastAddressAllocation_get_Scopes_Proxy( 
  1044.     IMcastAddressAllocation __RPC_FAR * This,
  1045.     /* [retval][out] */ VARIANT __RPC_FAR *pVariant);
  1046.  
  1047.  
  1048. void __RPC_STUB IMcastAddressAllocation_get_Scopes_Stub(
  1049.     IRpcStubBuffer *This,
  1050.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1051.     PRPC_MESSAGE _pRpcMessage,
  1052.     DWORD *_pdwStubPhase);
  1053.  
  1054.  
  1055. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE IMcastAddressAllocation_EnumerateScopes_Proxy( 
  1056.     IMcastAddressAllocation __RPC_FAR * This,
  1057.     /* [out] */ IEnumMcastScope __RPC_FAR *__RPC_FAR *ppEnumMcastScope);
  1058.  
  1059.  
  1060. void __RPC_STUB IMcastAddressAllocation_EnumerateScopes_Stub(
  1061.     IRpcStubBuffer *This,
  1062.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1063.     PRPC_MESSAGE _pRpcMessage,
  1064.     DWORD *_pdwStubPhase);
  1065.  
  1066.  
  1067. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMcastAddressAllocation_RequestAddress_Proxy( 
  1068.     IMcastAddressAllocation __RPC_FAR * This,
  1069.     /* [in] */ IMcastScope __RPC_FAR *pScope,
  1070.     /* [in] */ DATE LeaseStartTime,
  1071.     /* [in] */ DATE LeaseStopTime,
  1072.     /* [in] */ long NumAddresses,
  1073.     /* [retval][out] */ IMcastLeaseInfo __RPC_FAR *__RPC_FAR *ppLeaseResponse);
  1074.  
  1075.  
  1076. void __RPC_STUB IMcastAddressAllocation_RequestAddress_Stub(
  1077.     IRpcStubBuffer *This,
  1078.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1079.     PRPC_MESSAGE _pRpcMessage,
  1080.     DWORD *_pdwStubPhase);
  1081.  
  1082.  
  1083. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMcastAddressAllocation_RenewAddress_Proxy( 
  1084.     IMcastAddressAllocation __RPC_FAR * This,
  1085.     /* [in] */ long lReserved,
  1086.     /* [in] */ IMcastLeaseInfo __RPC_FAR *pRenewRequest,
  1087.     /* [retval][out] */ IMcastLeaseInfo __RPC_FAR *__RPC_FAR *ppRenewResponse);
  1088.  
  1089.  
  1090. void __RPC_STUB IMcastAddressAllocation_RenewAddress_Stub(
  1091.     IRpcStubBuffer *This,
  1092.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1093.     PRPC_MESSAGE _pRpcMessage,
  1094.     DWORD *_pdwStubPhase);
  1095.  
  1096.  
  1097. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMcastAddressAllocation_ReleaseAddress_Proxy( 
  1098.     IMcastAddressAllocation __RPC_FAR * This,
  1099.     /* [in] */ IMcastLeaseInfo __RPC_FAR *pReleaseRequest);
  1100.  
  1101.  
  1102. void __RPC_STUB IMcastAddressAllocation_ReleaseAddress_Stub(
  1103.     IRpcStubBuffer *This,
  1104.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1105.     PRPC_MESSAGE _pRpcMessage,
  1106.     DWORD *_pdwStubPhase);
  1107.  
  1108.  
  1109. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE IMcastAddressAllocation_CreateLeaseInfo_Proxy( 
  1110.     IMcastAddressAllocation __RPC_FAR * This,
  1111.     /* [in] */ DATE LeaseStartTime,
  1112.     /* [in] */ DATE LeaseStopTime,
  1113.     /* [in] */ DWORD dwNumAddresses,
  1114.     /* [in] */ LPWSTR __RPC_FAR *ppAddresses,
  1115.     /* [in] */ LPWSTR pRequestID,
  1116.     /* [in] */ LPWSTR pServerAddress,
  1117.     /* [retval][out] */ IMcastLeaseInfo __RPC_FAR *__RPC_FAR *ppReleaseRequest);
  1118.  
  1119.  
  1120. void __RPC_STUB IMcastAddressAllocation_CreateLeaseInfo_Stub(
  1121.     IRpcStubBuffer *This,
  1122.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1123.     PRPC_MESSAGE _pRpcMessage,
  1124.     DWORD *_pdwStubPhase);
  1125.  
  1126.  
  1127. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMcastAddressAllocation_CreateLeaseInfoFromVariant_Proxy( 
  1128.     IMcastAddressAllocation __RPC_FAR * This,
  1129.     /* [in] */ DATE LeaseStartTime,
  1130.     /* [in] */ DATE LeaseStopTime,
  1131.     /* [in] */ VARIANT vAddresses,
  1132.     /* [in] */ BSTR pRequestID,
  1133.     /* [in] */ BSTR pServerAddress,
  1134.     /* [retval][out] */ IMcastLeaseInfo __RPC_FAR *__RPC_FAR *ppReleaseRequest);
  1135.  
  1136.  
  1137. void __RPC_STUB IMcastAddressAllocation_CreateLeaseInfoFromVariant_Stub(
  1138.     IRpcStubBuffer *This,
  1139.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1140.     PRPC_MESSAGE _pRpcMessage,
  1141.     DWORD *_pdwStubPhase);
  1142.  
  1143.  
  1144.  
  1145. #endif     /* __IMcastAddressAllocation_INTERFACE_DEFINED__ */
  1146.  
  1147.  
  1148.  
  1149. #ifndef __McastLib_LIBRARY_DEFINED__
  1150. #define __McastLib_LIBRARY_DEFINED__
  1151.  
  1152. /* library McastLib */
  1153. /* [helpstring][version][uuid] */ 
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161. EXTERN_C const IID LIBID_McastLib;
  1162.  
  1163. EXTERN_C const CLSID CLSID_McastAddressAllocation;
  1164.  
  1165. #ifdef __cplusplus
  1166.  
  1167. class DECLSPEC_UUID("DF0DAEF2-A289-11D1-8697-006008B0E5D2")
  1168. McastAddressAllocation;
  1169. #endif
  1170. #endif /* __McastLib_LIBRARY_DEFINED__ */
  1171.  
  1172. /* Additional Prototypes for ALL interfaces */
  1173.  
  1174. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  1175. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  1176. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  1177. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  1178.  
  1179. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long __RPC_FAR *, unsigned long            , VARIANT __RPC_FAR * ); 
  1180. unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
  1181. unsigned char __RPC_FAR * __RPC_USER  VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * ); 
  1182. void                      __RPC_USER  VARIANT_UserFree(     unsigned long __RPC_FAR *, VARIANT __RPC_FAR * ); 
  1183.  
  1184. /* end of Additional Prototypes */
  1185.  
  1186. #ifdef __cplusplus
  1187. }
  1188. #endif
  1189.  
  1190. #endif
  1191.  
  1192.  
  1193. #pragma option pop /*P_O_Pop*/
  1194.