NetCon.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:138k
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumNetSharingEveryConnection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumNetSharingEveryConnection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumNetSharingEveryConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumNetSharingEveryConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumNetSharingEveryConnection * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumNetSharingEveryConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumNetSharingEveryConnection * This,
- /* [out] */ IEnumNetSharingEveryConnection **ppenum);
-
- END_INTERFACE
- } IEnumNetSharingEveryConnectionVtbl;
- interface IEnumNetSharingEveryConnection
- {
- CONST_VTBL struct IEnumNetSharingEveryConnectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumNetSharingEveryConnection_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumNetSharingEveryConnection_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumNetSharingEveryConnection_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumNetSharingEveryConnection_Next(This,celt,rgVar,pceltFetched)
- (This)->lpVtbl -> Next(This,celt,rgVar,pceltFetched)
- #define IEnumNetSharingEveryConnection_Skip(This,celt)
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumNetSharingEveryConnection_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumNetSharingEveryConnection_Clone(This,ppenum)
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumNetSharingEveryConnection_Next_Proxy(
- IEnumNetSharingEveryConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumNetSharingEveryConnection_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingEveryConnection_Skip_Proxy(
- IEnumNetSharingEveryConnection * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumNetSharingEveryConnection_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingEveryConnection_Reset_Proxy(
- IEnumNetSharingEveryConnection * This);
- void __RPC_STUB IEnumNetSharingEveryConnection_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingEveryConnection_Clone_Proxy(
- IEnumNetSharingEveryConnection * This,
- /* [out] */ IEnumNetSharingEveryConnection **ppenum);
- void __RPC_STUB IEnumNetSharingEveryConnection_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumNetSharingEveryConnection_INTERFACE_DEFINED__ */
- #ifndef __IEnumNetSharingPublicConnection_INTERFACE_DEFINED__
- #define __IEnumNetSharingPublicConnection_INTERFACE_DEFINED__
- /* interface IEnumNetSharingPublicConnection */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumNetSharingPublicConnection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B4-1CD3-11D1-B1C5-00805FC1270E")
- IEnumNetSharingPublicConnection : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumNetSharingPublicConnection **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumNetSharingPublicConnectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumNetSharingPublicConnection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumNetSharingPublicConnection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumNetSharingPublicConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumNetSharingPublicConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumNetSharingPublicConnection * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumNetSharingPublicConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumNetSharingPublicConnection * This,
- /* [out] */ IEnumNetSharingPublicConnection **ppenum);
-
- END_INTERFACE
- } IEnumNetSharingPublicConnectionVtbl;
- interface IEnumNetSharingPublicConnection
- {
- CONST_VTBL struct IEnumNetSharingPublicConnectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumNetSharingPublicConnection_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumNetSharingPublicConnection_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumNetSharingPublicConnection_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumNetSharingPublicConnection_Next(This,celt,rgVar,pceltFetched)
- (This)->lpVtbl -> Next(This,celt,rgVar,pceltFetched)
- #define IEnumNetSharingPublicConnection_Skip(This,celt)
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumNetSharingPublicConnection_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumNetSharingPublicConnection_Clone(This,ppenum)
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPublicConnection_Next_Proxy(
- IEnumNetSharingPublicConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumNetSharingPublicConnection_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPublicConnection_Skip_Proxy(
- IEnumNetSharingPublicConnection * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumNetSharingPublicConnection_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPublicConnection_Reset_Proxy(
- IEnumNetSharingPublicConnection * This);
- void __RPC_STUB IEnumNetSharingPublicConnection_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPublicConnection_Clone_Proxy(
- IEnumNetSharingPublicConnection * This,
- /* [out] */ IEnumNetSharingPublicConnection **ppenum);
- void __RPC_STUB IEnumNetSharingPublicConnection_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumNetSharingPublicConnection_INTERFACE_DEFINED__ */
- #ifndef __IEnumNetSharingPrivateConnection_INTERFACE_DEFINED__
- #define __IEnumNetSharingPrivateConnection_INTERFACE_DEFINED__
- /* interface IEnumNetSharingPrivateConnection */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumNetSharingPrivateConnection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B5-1CD3-11D1-B1C5-00805FC1270E")
- IEnumNetSharingPrivateConnection : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pCeltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumNetSharingPrivateConnection **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumNetSharingPrivateConnectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumNetSharingPrivateConnection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumNetSharingPrivateConnection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumNetSharingPrivateConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumNetSharingPrivateConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pCeltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumNetSharingPrivateConnection * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumNetSharingPrivateConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumNetSharingPrivateConnection * This,
- /* [out] */ IEnumNetSharingPrivateConnection **ppenum);
-
- END_INTERFACE
- } IEnumNetSharingPrivateConnectionVtbl;
- interface IEnumNetSharingPrivateConnection
- {
- CONST_VTBL struct IEnumNetSharingPrivateConnectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumNetSharingPrivateConnection_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumNetSharingPrivateConnection_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumNetSharingPrivateConnection_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumNetSharingPrivateConnection_Next(This,celt,rgVar,pCeltFetched)
- (This)->lpVtbl -> Next(This,celt,rgVar,pCeltFetched)
- #define IEnumNetSharingPrivateConnection_Skip(This,celt)
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumNetSharingPrivateConnection_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumNetSharingPrivateConnection_Clone(This,ppenum)
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPrivateConnection_Next_Proxy(
- IEnumNetSharingPrivateConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pCeltFetched);
- void __RPC_STUB IEnumNetSharingPrivateConnection_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPrivateConnection_Skip_Proxy(
- IEnumNetSharingPrivateConnection * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumNetSharingPrivateConnection_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPrivateConnection_Reset_Proxy(
- IEnumNetSharingPrivateConnection * This);
- void __RPC_STUB IEnumNetSharingPrivateConnection_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPrivateConnection_Clone_Proxy(
- IEnumNetSharingPrivateConnection * This,
- /* [out] */ IEnumNetSharingPrivateConnection **ppenum);
- void __RPC_STUB IEnumNetSharingPrivateConnection_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumNetSharingPrivateConnection_INTERFACE_DEFINED__ */
- #ifndef __INetSharingPortMappingCollection_INTERFACE_DEFINED__
- #define __INetSharingPortMappingCollection_INTERFACE_DEFINED__
- /* interface INetSharingPortMappingCollection */
- /* [unique][helpstring][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetSharingPortMappingCollection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("02E4A2DE-DA20-4E34-89C8-AC22275A010B")
- INetSharingPortMappingCollection : public IDispatch
- {
- public:
- virtual /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
- /* [retval][out] */ IUnknown **pVal) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *pVal) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingPortMappingCollectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingPortMappingCollection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingPortMappingCollection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingPortMappingCollection * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingPortMappingCollection * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingPortMappingCollection * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingPortMappingCollection * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingPortMappingCollection * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][restricted][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
- INetSharingPortMappingCollection * This,
- /* [retval][out] */ IUnknown **pVal);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- INetSharingPortMappingCollection * This,
- /* [retval][out] */ long *pVal);
-
- END_INTERFACE
- } INetSharingPortMappingCollectionVtbl;
- interface INetSharingPortMappingCollection
- {
- CONST_VTBL struct INetSharingPortMappingCollectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingPortMappingCollection_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingPortMappingCollection_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingPortMappingCollection_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetSharingPortMappingCollection_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingPortMappingCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingPortMappingCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingPortMappingCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingPortMappingCollection_get__NewEnum(This,pVal)
- (This)->lpVtbl -> get__NewEnum(This,pVal)
- #define INetSharingPortMappingCollection_get_Count(This,pVal)
- (This)->lpVtbl -> get_Count(This,pVal)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingCollection_get__NewEnum_Proxy(
- INetSharingPortMappingCollection * This,
- /* [retval][out] */ IUnknown **pVal);
- void __RPC_STUB INetSharingPortMappingCollection_get__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingCollection_get_Count_Proxy(
- INetSharingPortMappingCollection * This,
- /* [retval][out] */ long *pVal);
- void __RPC_STUB INetSharingPortMappingCollection_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingPortMappingCollection_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_netcon_0128 */
- /* [local] */
- // properties for INetConnection (wraps NETCON_PROPERTIES)
- extern RPC_IF_HANDLE __MIDL_itf_netcon_0128_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_netcon_0128_v0_0_s_ifspec;
- #ifndef __INetConnectionProps_INTERFACE_DEFINED__
- #define __INetConnectionProps_INTERFACE_DEFINED__
- /* interface INetConnectionProps */
- /* [unique][helpstring][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetConnectionProps;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("F4277C95-CE5B-463D-8167-5662D9BCAA72")
- INetConnectionProps : public IDispatch
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Guid(
- /* [retval][out] */ BSTR *pbstrGuid) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
- /* [retval][out] */ BSTR *pbstrName) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceName(
- /* [retval][out] */ BSTR *pbstrDeviceName) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Status(
- /* [retval][out] */ NETCON_STATUS *pStatus) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaType(
- /* [retval][out] */ NETCON_MEDIATYPE *pMediaType) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Characteristics(
- /* [retval][out] */ DWORD *pdwFlags) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionPropsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnectionProps * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnectionProps * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnectionProps * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetConnectionProps * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetConnectionProps * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetConnectionProps * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetConnectionProps * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Guid )(
- INetConnectionProps * This,
- /* [retval][out] */ BSTR *pbstrGuid);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
- INetConnectionProps * This,
- /* [retval][out] */ BSTR *pbstrName);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceName )(
- INetConnectionProps * This,
- /* [retval][out] */ BSTR *pbstrDeviceName);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )(
- INetConnectionProps * This,
- /* [retval][out] */ NETCON_STATUS *pStatus);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaType )(
- INetConnectionProps * This,
- /* [retval][out] */ NETCON_MEDIATYPE *pMediaType);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Characteristics )(
- INetConnectionProps * This,
- /* [retval][out] */ DWORD *pdwFlags);
-
- END_INTERFACE
- } INetConnectionPropsVtbl;
- interface INetConnectionProps
- {
- CONST_VTBL struct INetConnectionPropsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnectionProps_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnectionProps_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetConnectionProps_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetConnectionProps_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetConnectionProps_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetConnectionProps_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetConnectionProps_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetConnectionProps_get_Guid(This,pbstrGuid)
- (This)->lpVtbl -> get_Guid(This,pbstrGuid)
- #define INetConnectionProps_get_Name(This,pbstrName)
- (This)->lpVtbl -> get_Name(This,pbstrName)
- #define INetConnectionProps_get_DeviceName(This,pbstrDeviceName)
- (This)->lpVtbl -> get_DeviceName(This,pbstrDeviceName)
- #define INetConnectionProps_get_Status(This,pStatus)
- (This)->lpVtbl -> get_Status(This,pStatus)
- #define INetConnectionProps_get_MediaType(This,pMediaType)
- (This)->lpVtbl -> get_MediaType(This,pMediaType)
- #define INetConnectionProps_get_Characteristics(This,pdwFlags)
- (This)->lpVtbl -> get_Characteristics(This,pdwFlags)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetConnectionProps_get_Guid_Proxy(
- INetConnectionProps * This,
- /* [retval][out] */ BSTR *pbstrGuid);
- void __RPC_STUB INetConnectionProps_get_Guid_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetConnectionProps_get_Name_Proxy(
- INetConnectionProps * This,
- /* [retval][out] */ BSTR *pbstrName);
- void __RPC_STUB INetConnectionProps_get_Name_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetConnectionProps_get_DeviceName_Proxy(
- INetConnectionProps * This,
- /* [retval][out] */ BSTR *pbstrDeviceName);
- void __RPC_STUB INetConnectionProps_get_DeviceName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetConnectionProps_get_Status_Proxy(
- INetConnectionProps * This,
- /* [retval][out] */ NETCON_STATUS *pStatus);
- void __RPC_STUB INetConnectionProps_get_Status_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetConnectionProps_get_MediaType_Proxy(
- INetConnectionProps * This,
- /* [retval][out] */ NETCON_MEDIATYPE *pMediaType);
- void __RPC_STUB INetConnectionProps_get_MediaType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetConnectionProps_get_Characteristics_Proxy(
- INetConnectionProps * This,
- /* [retval][out] */ DWORD *pdwFlags);
- void __RPC_STUB INetConnectionProps_get_Characteristics_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnectionProps_INTERFACE_DEFINED__ */
- #ifndef __INetSharingConfiguration_INTERFACE_DEFINED__
- #define __INetSharingConfiguration_INTERFACE_DEFINED__
- /* interface INetSharingConfiguration */
- /* [unique][dual][oleautomation][uuid][object] */
- typedef
- enum tagSHARINGCONNECTIONTYPE
- { ICSSHARINGTYPE_PUBLIC = 0,
- ICSSHARINGTYPE_PRIVATE = ICSSHARINGTYPE_PUBLIC + 1
- } SHARINGCONNECTIONTYPE;
- typedef enum tagSHARINGCONNECTIONTYPE *LPSHARINGCONNECTIONTYPE;
- typedef
- enum tagSHARINGCONNECTION_ENUM_FLAGS
- { ICSSC_DEFAULT = 0,
- ICSSC_ENABLED = ICSSC_DEFAULT + 1
- } SHARINGCONNECTION_ENUM_FLAGS;
- typedef
- enum tagICS_TARGETTYPE
- { ICSTT_NAME = 0,
- ICSTT_IPADDRESS = ICSTT_NAME + 1
- } ICS_TARGETTYPE;
- EXTERN_C const IID IID_INetSharingConfiguration;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B6-1CD3-11D1-B1C5-00805FC1270E")
- INetSharingConfiguration : public IDispatch
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SharingEnabled(
- /* [retval][out] */ VARIANT_BOOL *pbEnabled) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SharingConnectionType(
- /* [retval][out] */ SHARINGCONNECTIONTYPE *pType) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DisableSharing( void) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnableSharing(
- /* [in] */ SHARINGCONNECTIONTYPE Type) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InternetFirewallEnabled(
- /* [retval][out] */ VARIANT_BOOL *pbEnabled) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DisableInternetFirewall( void) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EnableInternetFirewall( void) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EnumPortMappings(
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPortMappingCollection **ppColl) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddPortMapping(
- /* [in] */ BSTR bstrName,
- /* [in] */ UCHAR ucIPProtocol,
- /* [in] */ USHORT usExternalPort,
- /* [in] */ USHORT usInternalPort,
- /* [in] */ DWORD dwOptions,
- /* [in] */ BSTR bstrTargetNameOrIPAddress,
- /* [in] */ ICS_TARGETTYPE eTargetType,
- /* [retval][out] */ INetSharingPortMapping **ppMapping) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemovePortMapping(
- /* [in] */ INetSharingPortMapping *pMapping) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingConfigurationVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingConfiguration * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingConfiguration * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingConfiguration * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingConfiguration * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingConfiguration * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingConfiguration * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingConfiguration * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SharingEnabled )(
- INetSharingConfiguration * This,
- /* [retval][out] */ VARIANT_BOOL *pbEnabled);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SharingConnectionType )(
- INetSharingConfiguration * This,
- /* [retval][out] */ SHARINGCONNECTIONTYPE *pType);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DisableSharing )(
- INetSharingConfiguration * This);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnableSharing )(
- INetSharingConfiguration * This,
- /* [in] */ SHARINGCONNECTIONTYPE Type);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InternetFirewallEnabled )(
- INetSharingConfiguration * This,
- /* [retval][out] */ VARIANT_BOOL *pbEnabled);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DisableInternetFirewall )(
- INetSharingConfiguration * This);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnableInternetFirewall )(
- INetSharingConfiguration * This);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnumPortMappings )(
- INetSharingConfiguration * This,
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPortMappingCollection **ppColl);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddPortMapping )(
- INetSharingConfiguration * This,
- /* [in] */ BSTR bstrName,
- /* [in] */ UCHAR ucIPProtocol,
- /* [in] */ USHORT usExternalPort,
- /* [in] */ USHORT usInternalPort,
- /* [in] */ DWORD dwOptions,
- /* [in] */ BSTR bstrTargetNameOrIPAddress,
- /* [in] */ ICS_TARGETTYPE eTargetType,
- /* [retval][out] */ INetSharingPortMapping **ppMapping);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemovePortMapping )(
- INetSharingConfiguration * This,
- /* [in] */ INetSharingPortMapping *pMapping);
-
- END_INTERFACE
- } INetSharingConfigurationVtbl;
- interface INetSharingConfiguration
- {
- CONST_VTBL struct INetSharingConfigurationVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingConfiguration_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingConfiguration_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingConfiguration_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetSharingConfiguration_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingConfiguration_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingConfiguration_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingConfiguration_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingConfiguration_get_SharingEnabled(This,pbEnabled)
- (This)->lpVtbl -> get_SharingEnabled(This,pbEnabled)
- #define INetSharingConfiguration_get_SharingConnectionType(This,pType)
- (This)->lpVtbl -> get_SharingConnectionType(This,pType)
- #define INetSharingConfiguration_DisableSharing(This)
- (This)->lpVtbl -> DisableSharing(This)
- #define INetSharingConfiguration_EnableSharing(This,Type)
- (This)->lpVtbl -> EnableSharing(This,Type)
- #define INetSharingConfiguration_get_InternetFirewallEnabled(This,pbEnabled)
- (This)->lpVtbl -> get_InternetFirewallEnabled(This,pbEnabled)
- #define INetSharingConfiguration_DisableInternetFirewall(This)
- (This)->lpVtbl -> DisableInternetFirewall(This)
- #define INetSharingConfiguration_EnableInternetFirewall(This)
- (This)->lpVtbl -> EnableInternetFirewall(This)
- #define INetSharingConfiguration_get_EnumPortMappings(This,Flags,ppColl)
- (This)->lpVtbl -> get_EnumPortMappings(This,Flags,ppColl)
- #define INetSharingConfiguration_AddPortMapping(This,bstrName,ucIPProtocol,usExternalPort,usInternalPort,dwOptions,bstrTargetNameOrIPAddress,eTargetType,ppMapping)
- (This)->lpVtbl -> AddPortMapping(This,bstrName,ucIPProtocol,usExternalPort,usInternalPort,dwOptions,bstrTargetNameOrIPAddress,eTargetType,ppMapping)
- #define INetSharingConfiguration_RemovePortMapping(This,pMapping)
- (This)->lpVtbl -> RemovePortMapping(This,pMapping)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_get_SharingEnabled_Proxy(
- INetSharingConfiguration * This,
- /* [retval][out] */ VARIANT_BOOL *pbEnabled);
- void __RPC_STUB INetSharingConfiguration_get_SharingEnabled_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_get_SharingConnectionType_Proxy(
- INetSharingConfiguration * This,
- /* [retval][out] */ SHARINGCONNECTIONTYPE *pType);
- void __RPC_STUB INetSharingConfiguration_get_SharingConnectionType_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_DisableSharing_Proxy(
- INetSharingConfiguration * This);
- void __RPC_STUB INetSharingConfiguration_DisableSharing_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_EnableSharing_Proxy(
- INetSharingConfiguration * This,
- /* [in] */ SHARINGCONNECTIONTYPE Type);
- void __RPC_STUB INetSharingConfiguration_EnableSharing_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_get_InternetFirewallEnabled_Proxy(
- INetSharingConfiguration * This,
- /* [retval][out] */ VARIANT_BOOL *pbEnabled);
- void __RPC_STUB INetSharingConfiguration_get_InternetFirewallEnabled_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_DisableInternetFirewall_Proxy(
- INetSharingConfiguration * This);
- void __RPC_STUB INetSharingConfiguration_DisableInternetFirewall_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_EnableInternetFirewall_Proxy(
- INetSharingConfiguration * This);
- void __RPC_STUB INetSharingConfiguration_EnableInternetFirewall_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_get_EnumPortMappings_Proxy(
- INetSharingConfiguration * This,
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPortMappingCollection **ppColl);
- void __RPC_STUB INetSharingConfiguration_get_EnumPortMappings_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_AddPortMapping_Proxy(
- INetSharingConfiguration * This,
- /* [in] */ BSTR bstrName,
- /* [in] */ UCHAR ucIPProtocol,
- /* [in] */ USHORT usExternalPort,
- /* [in] */ USHORT usInternalPort,
- /* [in] */ DWORD dwOptions,
- /* [in] */ BSTR bstrTargetNameOrIPAddress,
- /* [in] */ ICS_TARGETTYPE eTargetType,
- /* [retval][out] */ INetSharingPortMapping **ppMapping);
- void __RPC_STUB INetSharingConfiguration_AddPortMapping_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingConfiguration_RemovePortMapping_Proxy(
- INetSharingConfiguration * This,
- /* [in] */ INetSharingPortMapping *pMapping);
- void __RPC_STUB INetSharingConfiguration_RemovePortMapping_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingConfiguration_INTERFACE_DEFINED__ */
- #ifndef __INetSharingEveryConnectionCollection_INTERFACE_DEFINED__
- #define __INetSharingEveryConnectionCollection_INTERFACE_DEFINED__
- /* interface INetSharingEveryConnectionCollection */
- /* [unique][helpstring][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetSharingEveryConnectionCollection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("33C4643C-7811-46FA-A89A-768597BD7223")
- INetSharingEveryConnectionCollection : public IDispatch
- {
- public:
- virtual /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
- /* [retval][out] */ IUnknown **pVal) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *pVal) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingEveryConnectionCollectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingEveryConnectionCollection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingEveryConnectionCollection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingEveryConnectionCollection * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingEveryConnectionCollection * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingEveryConnectionCollection * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingEveryConnectionCollection * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingEveryConnectionCollection * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][restricted][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
- INetSharingEveryConnectionCollection * This,
- /* [retval][out] */ IUnknown **pVal);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- INetSharingEveryConnectionCollection * This,
- /* [retval][out] */ long *pVal);
-
- END_INTERFACE
- } INetSharingEveryConnectionCollectionVtbl;
- interface INetSharingEveryConnectionCollection
- {
- CONST_VTBL struct INetSharingEveryConnectionCollectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingEveryConnectionCollection_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingEveryConnectionCollection_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingEveryConnectionCollection_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetSharingEveryConnectionCollection_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingEveryConnectionCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingEveryConnectionCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingEveryConnectionCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingEveryConnectionCollection_get__NewEnum(This,pVal)
- (This)->lpVtbl -> get__NewEnum(This,pVal)
- #define INetSharingEveryConnectionCollection_get_Count(This,pVal)
- (This)->lpVtbl -> get_Count(This,pVal)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingEveryConnectionCollection_get__NewEnum_Proxy(
- INetSharingEveryConnectionCollection * This,
- /* [retval][out] */ IUnknown **pVal);
- void __RPC_STUB INetSharingEveryConnectionCollection_get__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingEveryConnectionCollection_get_Count_Proxy(
- INetSharingEveryConnectionCollection * This,
- /* [retval][out] */ long *pVal);
- void __RPC_STUB INetSharingEveryConnectionCollection_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingEveryConnectionCollection_INTERFACE_DEFINED__ */
- #ifndef __INetSharingPublicConnectionCollection_INTERFACE_DEFINED__
- #define __INetSharingPublicConnectionCollection_INTERFACE_DEFINED__
- /* interface INetSharingPublicConnectionCollection */
- /* [unique][helpstring][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetSharingPublicConnectionCollection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("7D7A6355-F372-4971-A149-BFC927BE762A")
- INetSharingPublicConnectionCollection : public IDispatch
- {
- public:
- virtual /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
- /* [retval][out] */ IUnknown **pVal) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *pVal) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingPublicConnectionCollectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingPublicConnectionCollection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingPublicConnectionCollection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingPublicConnectionCollection * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingPublicConnectionCollection * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingPublicConnectionCollection * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingPublicConnectionCollection * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingPublicConnectionCollection * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][restricted][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
- INetSharingPublicConnectionCollection * This,
- /* [retval][out] */ IUnknown **pVal);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- INetSharingPublicConnectionCollection * This,
- /* [retval][out] */ long *pVal);
-
- END_INTERFACE
- } INetSharingPublicConnectionCollectionVtbl;
- interface INetSharingPublicConnectionCollection
- {
- CONST_VTBL struct INetSharingPublicConnectionCollectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingPublicConnectionCollection_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingPublicConnectionCollection_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingPublicConnectionCollection_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetSharingPublicConnectionCollection_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingPublicConnectionCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingPublicConnectionCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingPublicConnectionCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingPublicConnectionCollection_get__NewEnum(This,pVal)
- (This)->lpVtbl -> get__NewEnum(This,pVal)
- #define INetSharingPublicConnectionCollection_get_Count(This,pVal)
- (This)->lpVtbl -> get_Count(This,pVal)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPublicConnectionCollection_get__NewEnum_Proxy(
- INetSharingPublicConnectionCollection * This,
- /* [retval][out] */ IUnknown **pVal);
- void __RPC_STUB INetSharingPublicConnectionCollection_get__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPublicConnectionCollection_get_Count_Proxy(
- INetSharingPublicConnectionCollection * This,
- /* [retval][out] */ long *pVal);
- void __RPC_STUB INetSharingPublicConnectionCollection_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingPublicConnectionCollection_INTERFACE_DEFINED__ */
- #ifndef __INetSharingPrivateConnectionCollection_INTERFACE_DEFINED__
- #define __INetSharingPrivateConnectionCollection_INTERFACE_DEFINED__
- /* interface INetSharingPrivateConnectionCollection */
- /* [unique][helpstring][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetSharingPrivateConnectionCollection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("38AE69E0-4409-402A-A2CB-E965C727F840")
- INetSharingPrivateConnectionCollection : public IDispatch
- {
- public:
- virtual /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
- /* [retval][out] */ IUnknown **pVal) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
- /* [retval][out] */ long *pVal) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingPrivateConnectionCollectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingPrivateConnectionCollection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingPrivateConnectionCollection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingPrivateConnectionCollection * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingPrivateConnectionCollection * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingPrivateConnectionCollection * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingPrivateConnectionCollection * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingPrivateConnectionCollection * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][restricted][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
- INetSharingPrivateConnectionCollection * This,
- /* [retval][out] */ IUnknown **pVal);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
- INetSharingPrivateConnectionCollection * This,
- /* [retval][out] */ long *pVal);
-
- END_INTERFACE
- } INetSharingPrivateConnectionCollectionVtbl;
- interface INetSharingPrivateConnectionCollection
- {
- CONST_VTBL struct INetSharingPrivateConnectionCollectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingPrivateConnectionCollection_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingPrivateConnectionCollection_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingPrivateConnectionCollection_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetSharingPrivateConnectionCollection_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingPrivateConnectionCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingPrivateConnectionCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingPrivateConnectionCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingPrivateConnectionCollection_get__NewEnum(This,pVal)
- (This)->lpVtbl -> get__NewEnum(This,pVal)
- #define INetSharingPrivateConnectionCollection_get_Count(This,pVal)
- (This)->lpVtbl -> get_Count(This,pVal)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPrivateConnectionCollection_get__NewEnum_Proxy(
- INetSharingPrivateConnectionCollection * This,
- /* [retval][out] */ IUnknown **pVal);
- void __RPC_STUB INetSharingPrivateConnectionCollection_get__NewEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPrivateConnectionCollection_get_Count_Proxy(
- INetSharingPrivateConnectionCollection * This,
- /* [retval][out] */ long *pVal);
- void __RPC_STUB INetSharingPrivateConnectionCollection_get_Count_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingPrivateConnectionCollection_INTERFACE_DEFINED__ */
- #ifndef __INetSharingManager_INTERFACE_DEFINED__
- #define __INetSharingManager_INTERFACE_DEFINED__
- /* interface INetSharingManager */
- /* [unique][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetSharingManager;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B7-1CD3-11D1-B1C5-00805FC1270E")
- INetSharingManager : public IDispatch
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SharingInstalled(
- /* [retval][out] */ VARIANT_BOOL *pbInstalled) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EnumPublicConnections(
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPublicConnectionCollection **ppColl) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EnumPrivateConnections(
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPrivateConnectionCollection **ppColl) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_INetSharingConfigurationForINetConnection(
- /* [in] */ INetConnection *pNetConnection,
- /* [retval][out] */ INetSharingConfiguration **ppNetSharingConfiguration) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EnumEveryConnection(
- /* [retval][out] */ INetSharingEveryConnectionCollection **ppColl) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NetConnectionProps(
- /* [in] */ INetConnection *pNetConnection,
- /* [retval][out] */ INetConnectionProps **ppProps) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingManagerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingManager * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingManager * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingManager * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingManager * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingManager * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingManager * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingManager * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SharingInstalled )(
- INetSharingManager * This,
- /* [retval][out] */ VARIANT_BOOL *pbInstalled);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnumPublicConnections )(
- INetSharingManager * This,
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPublicConnectionCollection **ppColl);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnumPrivateConnections )(
- INetSharingManager * This,
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPrivateConnectionCollection **ppColl);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_INetSharingConfigurationForINetConnection )(
- INetSharingManager * This,
- /* [in] */ INetConnection *pNetConnection,
- /* [retval][out] */ INetSharingConfiguration **ppNetSharingConfiguration);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnumEveryConnection )(
- INetSharingManager * This,
- /* [retval][out] */ INetSharingEveryConnectionCollection **ppColl);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NetConnectionProps )(
- INetSharingManager * This,
- /* [in] */ INetConnection *pNetConnection,
- /* [retval][out] */ INetConnectionProps **ppProps);
-
- END_INTERFACE
- } INetSharingManagerVtbl;
- interface INetSharingManager
- {
- CONST_VTBL struct INetSharingManagerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingManager_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingManager_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingManager_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetSharingManager_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingManager_get_SharingInstalled(This,pbInstalled)
- (This)->lpVtbl -> get_SharingInstalled(This,pbInstalled)
- #define INetSharingManager_get_EnumPublicConnections(This,Flags,ppColl)
- (This)->lpVtbl -> get_EnumPublicConnections(This,Flags,ppColl)
- #define INetSharingManager_get_EnumPrivateConnections(This,Flags,ppColl)
- (This)->lpVtbl -> get_EnumPrivateConnections(This,Flags,ppColl)
- #define INetSharingManager_get_INetSharingConfigurationForINetConnection(This,pNetConnection,ppNetSharingConfiguration)
- (This)->lpVtbl -> get_INetSharingConfigurationForINetConnection(This,pNetConnection,ppNetSharingConfiguration)
- #define INetSharingManager_get_EnumEveryConnection(This,ppColl)
- (This)->lpVtbl -> get_EnumEveryConnection(This,ppColl)
- #define INetSharingManager_get_NetConnectionProps(This,pNetConnection,ppProps)
- (This)->lpVtbl -> get_NetConnectionProps(This,pNetConnection,ppProps)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingManager_get_SharingInstalled_Proxy(
- INetSharingManager * This,
- /* [retval][out] */ VARIANT_BOOL *pbInstalled);
- void __RPC_STUB INetSharingManager_get_SharingInstalled_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingManager_get_EnumPublicConnections_Proxy(
- INetSharingManager * This,
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPublicConnectionCollection **ppColl);
- void __RPC_STUB INetSharingManager_get_EnumPublicConnections_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingManager_get_EnumPrivateConnections_Proxy(
- INetSharingManager * This,
- /* [in] */ SHARINGCONNECTION_ENUM_FLAGS Flags,
- /* [retval][out] */ INetSharingPrivateConnectionCollection **ppColl);
- void __RPC_STUB INetSharingManager_get_EnumPrivateConnections_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingManager_get_INetSharingConfigurationForINetConnection_Proxy(
- INetSharingManager * This,
- /* [in] */ INetConnection *pNetConnection,
- /* [retval][out] */ INetSharingConfiguration **ppNetSharingConfiguration);
- void __RPC_STUB INetSharingManager_get_INetSharingConfigurationForINetConnection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingManager_get_EnumEveryConnection_Proxy(
- INetSharingManager * This,
- /* [retval][out] */ INetSharingEveryConnectionCollection **ppColl);
- void __RPC_STUB INetSharingManager_get_EnumEveryConnection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingManager_get_NetConnectionProps_Proxy(
- INetSharingManager * This,
- /* [in] */ INetConnection *pNetConnection,
- /* [retval][out] */ INetConnectionProps **ppProps);
- void __RPC_STUB INetSharingManager_get_NetConnectionProps_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingManager_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_netcon_0134 */
- /* [local] */
- #define ALG_SETUP_PORTS_LIST_BYTE_SIZE ( 2048 )
- extern RPC_IF_HANDLE __MIDL_itf_netcon_0134_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_netcon_0134_v0_0_s_ifspec;
- #ifndef __IAlgSetup_INTERFACE_DEFINED__
- #define __IAlgSetup_INTERFACE_DEFINED__
- /* interface IAlgSetup */
- /* [unique][helpstring][dual][uuid][object] */
- EXTERN_C const IID IID_IAlgSetup;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("A779AF1A-009A-4C44-B9F0-8F0F4CF2AE49")
- IAlgSetup : public IDispatch
- {
- public:
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
- /* [in] */ BSTR pszProgID,
- /* [in] */ BSTR pszPublisher,
- /* [in] */ BSTR pszProduct,
- /* [in] */ BSTR pszVersion,
- /* [in] */ short nProtocol,
- /* [in] */ BSTR pszPorts) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
- /* [in] */ BSTR pszProgID) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IAlgSetupVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IAlgSetup * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IAlgSetup * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IAlgSetup * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- IAlgSetup * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- IAlgSetup * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- IAlgSetup * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- IAlgSetup * This,
- /* [in] */ DISPID dispIdMember,
- /* [in] */ REFIID riid,
- /* [in] */ LCID lcid,
- /* [in] */ WORD wFlags,
- /* [out][in] */ DISPPARAMS *pDispParams,
- /* [out] */ VARIANT *pVarResult,
- /* [out] */ EXCEPINFO *pExcepInfo,
- /* [out] */ UINT *puArgErr);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
- IAlgSetup * This,
- /* [in] */ BSTR pszProgID,
- /* [in] */ BSTR pszPublisher,
- /* [in] */ BSTR pszProduct,
- /* [in] */ BSTR pszVersion,
- /* [in] */ short nProtocol,
- /* [in] */ BSTR pszPorts);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
- IAlgSetup * This,
- /* [in] */ BSTR pszProgID);
-
- END_INTERFACE
- } IAlgSetupVtbl;
- interface IAlgSetup
- {
- CONST_VTBL struct IAlgSetupVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IAlgSetup_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IAlgSetup_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IAlgSetup_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IAlgSetup_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define IAlgSetup_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IAlgSetup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IAlgSetup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define IAlgSetup_Add(This,pszProgID,pszPublisher,pszProduct,pszVersion,nProtocol,pszPorts)
- (This)->lpVtbl -> Add(This,pszProgID,pszPublisher,pszProduct,pszVersion,nProtocol,pszPorts)
- #define IAlgSetup_Remove(This,pszProgID)
- (This)->lpVtbl -> Remove(This,pszProgID)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAlgSetup_Add_Proxy(
- IAlgSetup * This,
- /* [in] */ BSTR pszProgID,
- /* [in] */ BSTR pszPublisher,
- /* [in] */ BSTR pszProduct,
- /* [in] */ BSTR pszVersion,
- /* [in] */ short nProtocol,
- /* [in] */ BSTR pszPorts);
- void __RPC_STUB IAlgSetup_Add_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IAlgSetup_Remove_Proxy(
- IAlgSetup * This,
- /* [in] */ BSTR pszProgID);
- void __RPC_STUB IAlgSetup_Remove_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IAlgSetup_INTERFACE_DEFINED__ */
- #ifndef __NETCONLib_LIBRARY_DEFINED__
- #define __NETCONLib_LIBRARY_DEFINED__
- /* library NETCONLib */
- /* [helpstring][version][uuid] */
- EXTERN_C const IID LIBID_NETCONLib;
- EXTERN_C const CLSID CLSID_NetSharingManager;
- #ifdef __cplusplus
- class DECLSPEC_UUID("5C63C1AD-3956-4FF8-8486-40034758315B")
- NetSharingManager;
- #endif
- EXTERN_C const CLSID CLSID_AlgSetup;
- #ifdef __cplusplus
- class DECLSPEC_UUID("27D0BCCC-344D-4287-AF37-0C72C161C14C")
- AlgSetup;
- #endif
- #endif /* __NETCONLib_LIBRARY_DEFINED__ */
- /* Additional Prototypes for ALL interfaces */
- unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
- unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
- unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
- void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
- unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
- unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
- unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
- void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif