NetCon.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:138k
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 6.00.0347 */
- /* Compiler settings for netcon.idl:
- Oicf, W1, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext, robust
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif // __RPCNDR_H_VERSION__
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __netcon_h__
- #define __netcon_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __IEnumNetConnection_FWD_DEFINED__
- #define __IEnumNetConnection_FWD_DEFINED__
- typedef interface IEnumNetConnection IEnumNetConnection;
- #endif /* __IEnumNetConnection_FWD_DEFINED__ */
- #ifndef __INetConnection_FWD_DEFINED__
- #define __INetConnection_FWD_DEFINED__
- typedef interface INetConnection INetConnection;
- #endif /* __INetConnection_FWD_DEFINED__ */
- #ifndef __INetConnectionManager_FWD_DEFINED__
- #define __INetConnectionManager_FWD_DEFINED__
- typedef interface INetConnectionManager INetConnectionManager;
- #endif /* __INetConnectionManager_FWD_DEFINED__ */
- #ifndef __INetConnectionManagerEvents_FWD_DEFINED__
- #define __INetConnectionManagerEvents_FWD_DEFINED__
- typedef interface INetConnectionManagerEvents INetConnectionManagerEvents;
- #endif /* __INetConnectionManagerEvents_FWD_DEFINED__ */
- #ifndef __INetConnectionConnectUi_FWD_DEFINED__
- #define __INetConnectionConnectUi_FWD_DEFINED__
- typedef interface INetConnectionConnectUi INetConnectionConnectUi;
- #endif /* __INetConnectionConnectUi_FWD_DEFINED__ */
- #ifndef __INetConnectionPropertyUi_FWD_DEFINED__
- #define __INetConnectionPropertyUi_FWD_DEFINED__
- typedef interface INetConnectionPropertyUi INetConnectionPropertyUi;
- #endif /* __INetConnectionPropertyUi_FWD_DEFINED__ */
- #ifndef __INetConnectionPropertyUi2_FWD_DEFINED__
- #define __INetConnectionPropertyUi2_FWD_DEFINED__
- typedef interface INetConnectionPropertyUi2 INetConnectionPropertyUi2;
- #endif /* __INetConnectionPropertyUi2_FWD_DEFINED__ */
- #ifndef __INetConnectionCommonUi_FWD_DEFINED__
- #define __INetConnectionCommonUi_FWD_DEFINED__
- typedef interface INetConnectionCommonUi INetConnectionCommonUi;
- #endif /* __INetConnectionCommonUi_FWD_DEFINED__ */
- #ifndef __IEnumNetSharingPortMapping_FWD_DEFINED__
- #define __IEnumNetSharingPortMapping_FWD_DEFINED__
- typedef interface IEnumNetSharingPortMapping IEnumNetSharingPortMapping;
- #endif /* __IEnumNetSharingPortMapping_FWD_DEFINED__ */
- #ifndef __INetSharingPortMappingProps_FWD_DEFINED__
- #define __INetSharingPortMappingProps_FWD_DEFINED__
- typedef interface INetSharingPortMappingProps INetSharingPortMappingProps;
- #endif /* __INetSharingPortMappingProps_FWD_DEFINED__ */
- #ifndef __INetSharingPortMapping_FWD_DEFINED__
- #define __INetSharingPortMapping_FWD_DEFINED__
- typedef interface INetSharingPortMapping INetSharingPortMapping;
- #endif /* __INetSharingPortMapping_FWD_DEFINED__ */
- #ifndef __IEnumNetSharingEveryConnection_FWD_DEFINED__
- #define __IEnumNetSharingEveryConnection_FWD_DEFINED__
- typedef interface IEnumNetSharingEveryConnection IEnumNetSharingEveryConnection;
- #endif /* __IEnumNetSharingEveryConnection_FWD_DEFINED__ */
- #ifndef __IEnumNetSharingPublicConnection_FWD_DEFINED__
- #define __IEnumNetSharingPublicConnection_FWD_DEFINED__
- typedef interface IEnumNetSharingPublicConnection IEnumNetSharingPublicConnection;
- #endif /* __IEnumNetSharingPublicConnection_FWD_DEFINED__ */
- #ifndef __IEnumNetSharingPrivateConnection_FWD_DEFINED__
- #define __IEnumNetSharingPrivateConnection_FWD_DEFINED__
- typedef interface IEnumNetSharingPrivateConnection IEnumNetSharingPrivateConnection;
- #endif /* __IEnumNetSharingPrivateConnection_FWD_DEFINED__ */
- #ifndef __INetSharingPortMappingCollection_FWD_DEFINED__
- #define __INetSharingPortMappingCollection_FWD_DEFINED__
- typedef interface INetSharingPortMappingCollection INetSharingPortMappingCollection;
- #endif /* __INetSharingPortMappingCollection_FWD_DEFINED__ */
- #ifndef __INetConnectionProps_FWD_DEFINED__
- #define __INetConnectionProps_FWD_DEFINED__
- typedef interface INetConnectionProps INetConnectionProps;
- #endif /* __INetConnectionProps_FWD_DEFINED__ */
- #ifndef __INetSharingConfiguration_FWD_DEFINED__
- #define __INetSharingConfiguration_FWD_DEFINED__
- typedef interface INetSharingConfiguration INetSharingConfiguration;
- #endif /* __INetSharingConfiguration_FWD_DEFINED__ */
- #ifndef __INetSharingEveryConnectionCollection_FWD_DEFINED__
- #define __INetSharingEveryConnectionCollection_FWD_DEFINED__
- typedef interface INetSharingEveryConnectionCollection INetSharingEveryConnectionCollection;
- #endif /* __INetSharingEveryConnectionCollection_FWD_DEFINED__ */
- #ifndef __INetSharingPublicConnectionCollection_FWD_DEFINED__
- #define __INetSharingPublicConnectionCollection_FWD_DEFINED__
- typedef interface INetSharingPublicConnectionCollection INetSharingPublicConnectionCollection;
- #endif /* __INetSharingPublicConnectionCollection_FWD_DEFINED__ */
- #ifndef __INetSharingPrivateConnectionCollection_FWD_DEFINED__
- #define __INetSharingPrivateConnectionCollection_FWD_DEFINED__
- typedef interface INetSharingPrivateConnectionCollection INetSharingPrivateConnectionCollection;
- #endif /* __INetSharingPrivateConnectionCollection_FWD_DEFINED__ */
- #ifndef __INetSharingManager_FWD_DEFINED__
- #define __INetSharingManager_FWD_DEFINED__
- typedef interface INetSharingManager INetSharingManager;
- #endif /* __INetSharingManager_FWD_DEFINED__ */
- #ifndef __IAlgSetup_FWD_DEFINED__
- #define __IAlgSetup_FWD_DEFINED__
- typedef interface IAlgSetup IAlgSetup;
- #endif /* __IAlgSetup_FWD_DEFINED__ */
- #ifndef __NetSharingManager_FWD_DEFINED__
- #define __NetSharingManager_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class NetSharingManager NetSharingManager;
- #else
- typedef struct NetSharingManager NetSharingManager;
- #endif /* __cplusplus */
- #endif /* __NetSharingManager_FWD_DEFINED__ */
- #ifndef __AlgSetup_FWD_DEFINED__
- #define __AlgSetup_FWD_DEFINED__
- #ifdef __cplusplus
- typedef class AlgSetup AlgSetup;
- #else
- typedef struct AlgSetup AlgSetup;
- #endif /* __cplusplus */
- #endif /* __AlgSetup_FWD_DEFINED__ */
- /* header files for imported files */
- #include "oaidl.h"
- #include "prsht.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- /* interface __MIDL_itf_netcon_0000 */
- /* [local] */
- //+-------------------------------------------------------------------------
- //
- // Microsoft Windows
- // Copyright (c) Microsoft Corporation. All rights reserved.
- //
- //--------------------------------------------------------------------------
- #if ( _MSC_VER >= 800 )
- #pragma warning(disable:4201)
- #endif
- EXTERN_C const CLSID CLSID_ConnectionManager;
- EXTERN_C const CLSID CLSID_ConnectionCommonUi;
- EXTERN_C const CLSID CLSID_NetSharingManager;
- //These strings reference the HKEY_CURRENT_USER registry which
- //retains whether shortcuts are created on the desktop.
- #define NETCON_HKEYCURRENTUSERPATH TEXT("Software\Microsoft\Windows NT\CurrentVersion\Network\Network Connections")
- #define NETCON_DESKTOPSHORTCUT TEXT("DesktopShortcut")
- #define NETCON_MAX_NAME_LEN 246
- extern RPC_IF_HANDLE __MIDL_itf_netcon_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_netcon_0000_v0_0_s_ifspec;
- #ifndef __IEnumNetConnection_INTERFACE_DEFINED__
- #define __IEnumNetConnection_INTERFACE_DEFINED__
- /* interface IEnumNetConnection */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumNetConnection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956A0-1CD3-11D1-B1C5-00805FC1270E")
- IEnumNetConnection : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ INetConnection **rgelt,
- /* [out] */ ULONG *pceltFetched) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ ULONG celt) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumNetConnection **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumNetConnectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumNetConnection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumNetConnection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumNetConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumNetConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ INetConnection **rgelt,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumNetConnection * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumNetConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumNetConnection * This,
- /* [out] */ IEnumNetConnection **ppenum);
-
- END_INTERFACE
- } IEnumNetConnectionVtbl;
- interface IEnumNetConnection
- {
- CONST_VTBL struct IEnumNetConnectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumNetConnection_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumNetConnection_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumNetConnection_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumNetConnection_Next(This,celt,rgelt,pceltFetched)
- (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
- #define IEnumNetConnection_Skip(This,celt)
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumNetConnection_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumNetConnection_Clone(This,ppenum)
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumNetConnection_Next_Proxy(
- IEnumNetConnection * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ INetConnection **rgelt,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumNetConnection_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetConnection_Skip_Proxy(
- IEnumNetConnection * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumNetConnection_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetConnection_Reset_Proxy(
- IEnumNetConnection * This);
- void __RPC_STUB IEnumNetConnection_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetConnection_Clone_Proxy(
- IEnumNetConnection * This,
- /* [out] */ IEnumNetConnection **ppenum);
- void __RPC_STUB IEnumNetConnection_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumNetConnection_INTERFACE_DEFINED__ */
- #ifndef __INetConnection_INTERFACE_DEFINED__
- #define __INetConnection_INTERFACE_DEFINED__
- /* interface INetConnection */
- /* [unique][uuid][object] */
- typedef
- enum tagNETCON_CHARACTERISTIC_FLAGS
- { NCCF_NONE = 0,
- NCCF_ALL_USERS = 0x1,
- NCCF_ALLOW_DUPLICATION = 0x2,
- NCCF_ALLOW_REMOVAL = 0x4,
- NCCF_ALLOW_RENAME = 0x8,
- NCCF_SHOW_ICON = 0x10,
- NCCF_INCOMING_ONLY = 0x20,
- NCCF_OUTGOING_ONLY = 0x40,
- NCCF_BRANDED = 0x80,
- NCCF_SHARED = 0x100,
- NCCF_BRIDGED = 0x200,
- NCCF_FIREWALLED = 0x400,
- NCCF_DEFAULT = 0x800
- } NETCON_CHARACTERISTIC_FLAGS;
- typedef
- enum tagNETCON_STATUS
- { NCS_DISCONNECTED = 0,
- NCS_CONNECTING = NCS_DISCONNECTED + 1,
- NCS_CONNECTED = NCS_CONNECTING + 1,
- NCS_DISCONNECTING = NCS_CONNECTED + 1,
- NCS_HARDWARE_NOT_PRESENT = NCS_DISCONNECTING + 1,
- NCS_HARDWARE_DISABLED = NCS_HARDWARE_NOT_PRESENT + 1,
- NCS_HARDWARE_MALFUNCTION = NCS_HARDWARE_DISABLED + 1,
- NCS_MEDIA_DISCONNECTED = NCS_HARDWARE_MALFUNCTION + 1,
- NCS_AUTHENTICATING = NCS_MEDIA_DISCONNECTED + 1,
- NCS_AUTHENTICATION_SUCCEEDED = NCS_AUTHENTICATING + 1,
- NCS_AUTHENTICATION_FAILED = NCS_AUTHENTICATION_SUCCEEDED + 1,
- NCS_INVALID_ADDRESS = NCS_AUTHENTICATION_FAILED + 1,
- NCS_CREDENTIALS_REQUIRED = NCS_INVALID_ADDRESS + 1
- } NETCON_STATUS;
- typedef
- enum tagNETCON_TYPE
- { NCT_DIRECT_CONNECT = 0,
- NCT_INBOUND = NCT_DIRECT_CONNECT + 1,
- NCT_INTERNET = NCT_INBOUND + 1,
- NCT_LAN = NCT_INTERNET + 1,
- NCT_PHONE = NCT_LAN + 1,
- NCT_TUNNEL = NCT_PHONE + 1,
- NCT_BRIDGE = NCT_TUNNEL + 1
- } NETCON_TYPE;
- typedef
- enum tagNETCON_MEDIATYPE
- { NCM_NONE = 0,
- NCM_DIRECT = NCM_NONE + 1,
- NCM_ISDN = NCM_DIRECT + 1,
- NCM_LAN = NCM_ISDN + 1,
- NCM_PHONE = NCM_LAN + 1,
- NCM_TUNNEL = NCM_PHONE + 1,
- NCM_PPPOE = NCM_TUNNEL + 1,
- NCM_BRIDGE = NCM_PPPOE + 1,
- NCM_SHAREDACCESSHOST_LAN = NCM_BRIDGE + 1,
- NCM_SHAREDACCESSHOST_RAS = NCM_SHAREDACCESSHOST_LAN + 1
- } NETCON_MEDIATYPE;
- typedef struct tagNETCON_PROPERTIES
- {
- GUID guidId;
- /* [string] */ LPWSTR pszwName;
- /* [string] */ LPWSTR pszwDeviceName;
- NETCON_STATUS Status;
- NETCON_MEDIATYPE MediaType;
- DWORD dwCharacter;
- CLSID clsidThisObject;
- CLSID clsidUiObject;
- } NETCON_PROPERTIES;
- #define S_OBJECT_NO_LONGER_VALID ((HRESULT)0x00000002L)
- EXTERN_C const IID IID_INetConnection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956A1-1CD3-11D1-B1C5-00805FC1270E")
- INetConnection : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Connect( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Disconnect( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Delete( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Duplicate(
- /* [string][in] */ LPCWSTR pszwDuplicateName,
- /* [out] */ INetConnection **ppCon) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetProperties(
- /* [out] */ NETCON_PROPERTIES **ppProps) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetUiObjectClassId(
- /* [ref][out] */ CLSID *pclsid) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Rename(
- /* [string][in] */ LPCWSTR pszwNewName) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnection * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnection * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Connect )(
- INetConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Disconnect )(
- INetConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Delete )(
- INetConnection * This);
-
- HRESULT ( STDMETHODCALLTYPE *Duplicate )(
- INetConnection * This,
- /* [string][in] */ LPCWSTR pszwDuplicateName,
- /* [out] */ INetConnection **ppCon);
-
- HRESULT ( STDMETHODCALLTYPE *GetProperties )(
- INetConnection * This,
- /* [out] */ NETCON_PROPERTIES **ppProps);
-
- HRESULT ( STDMETHODCALLTYPE *GetUiObjectClassId )(
- INetConnection * This,
- /* [ref][out] */ CLSID *pclsid);
-
- HRESULT ( STDMETHODCALLTYPE *Rename )(
- INetConnection * This,
- /* [string][in] */ LPCWSTR pszwNewName);
-
- END_INTERFACE
- } INetConnectionVtbl;
- interface INetConnection
- {
- CONST_VTBL struct INetConnectionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnection_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnection_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetConnection_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetConnection_Connect(This)
- (This)->lpVtbl -> Connect(This)
- #define INetConnection_Disconnect(This)
- (This)->lpVtbl -> Disconnect(This)
- #define INetConnection_Delete(This)
- (This)->lpVtbl -> Delete(This)
- #define INetConnection_Duplicate(This,pszwDuplicateName,ppCon)
- (This)->lpVtbl -> Duplicate(This,pszwDuplicateName,ppCon)
- #define INetConnection_GetProperties(This,ppProps)
- (This)->lpVtbl -> GetProperties(This,ppProps)
- #define INetConnection_GetUiObjectClassId(This,pclsid)
- (This)->lpVtbl -> GetUiObjectClassId(This,pclsid)
- #define INetConnection_Rename(This,pszwNewName)
- (This)->lpVtbl -> Rename(This,pszwNewName)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE INetConnection_Connect_Proxy(
- INetConnection * This);
- void __RPC_STUB INetConnection_Connect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnection_Disconnect_Proxy(
- INetConnection * This);
- void __RPC_STUB INetConnection_Disconnect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnection_Delete_Proxy(
- INetConnection * This);
- void __RPC_STUB INetConnection_Delete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnection_Duplicate_Proxy(
- INetConnection * This,
- /* [string][in] */ LPCWSTR pszwDuplicateName,
- /* [out] */ INetConnection **ppCon);
- void __RPC_STUB INetConnection_Duplicate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnection_GetProperties_Proxy(
- INetConnection * This,
- /* [out] */ NETCON_PROPERTIES **ppProps);
- void __RPC_STUB INetConnection_GetProperties_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnection_GetUiObjectClassId_Proxy(
- INetConnection * This,
- /* [ref][out] */ CLSID *pclsid);
- void __RPC_STUB INetConnection_GetUiObjectClassId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnection_Rename_Proxy(
- INetConnection * This,
- /* [string][in] */ LPCWSTR pszwNewName);
- void __RPC_STUB INetConnection_Rename_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnection_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_netcon_0115 */
- /* [local] */
- STDAPI_(VOID) NcFreeNetconProperties (NETCON_PROPERTIES* pProps);
- STDAPI_(BOOL) NcIsValidConnectionName (PCWSTR pszwName);
- extern RPC_IF_HANDLE __MIDL_itf_netcon_0115_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_netcon_0115_v0_0_s_ifspec;
- #ifndef __INetConnectionManager_INTERFACE_DEFINED__
- #define __INetConnectionManager_INTERFACE_DEFINED__
- /* interface INetConnectionManager */
- /* [unique][uuid][object] */
- typedef
- enum tagNETCONMGR_ENUM_FLAGS
- { NCME_DEFAULT = 0
- } NETCONMGR_ENUM_FLAGS;
- EXTERN_C const IID IID_INetConnectionManager;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956A2-1CD3-11D1-B1C5-00805FC1270E")
- INetConnectionManager : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE EnumConnections(
- /* [in] */ NETCONMGR_ENUM_FLAGS Flags,
- /* [out] */ IEnumNetConnection **ppEnum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionManagerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnectionManager * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnectionManager * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnectionManager * This);
-
- HRESULT ( STDMETHODCALLTYPE *EnumConnections )(
- INetConnectionManager * This,
- /* [in] */ NETCONMGR_ENUM_FLAGS Flags,
- /* [out] */ IEnumNetConnection **ppEnum);
-
- END_INTERFACE
- } INetConnectionManagerVtbl;
- interface INetConnectionManager
- {
- CONST_VTBL struct INetConnectionManagerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnectionManager_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnectionManager_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetConnectionManager_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetConnectionManager_EnumConnections(This,Flags,ppEnum)
- (This)->lpVtbl -> EnumConnections(This,Flags,ppEnum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE INetConnectionManager_EnumConnections_Proxy(
- INetConnectionManager * This,
- /* [in] */ NETCONMGR_ENUM_FLAGS Flags,
- /* [out] */ IEnumNetConnection **ppEnum);
- void __RPC_STUB INetConnectionManager_EnumConnections_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnectionManager_INTERFACE_DEFINED__ */
- #ifndef __INetConnectionManagerEvents_INTERFACE_DEFINED__
- #define __INetConnectionManagerEvents_INTERFACE_DEFINED__
- /* interface INetConnectionManagerEvents */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_INetConnectionManagerEvents;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956BA-1CD3-11D1-B1C5-00805FC1270E")
- INetConnectionManagerEvents : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE RefreshConnections( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Enable( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Disable(
- /* [in] */ ULONG ulDisableTimeout) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionManagerEventsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnectionManagerEvents * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnectionManagerEvents * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnectionManagerEvents * This);
-
- HRESULT ( STDMETHODCALLTYPE *RefreshConnections )(
- INetConnectionManagerEvents * This);
-
- HRESULT ( STDMETHODCALLTYPE *Enable )(
- INetConnectionManagerEvents * This);
-
- HRESULT ( STDMETHODCALLTYPE *Disable )(
- INetConnectionManagerEvents * This,
- /* [in] */ ULONG ulDisableTimeout);
-
- END_INTERFACE
- } INetConnectionManagerEventsVtbl;
- interface INetConnectionManagerEvents
- {
- CONST_VTBL struct INetConnectionManagerEventsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnectionManagerEvents_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnectionManagerEvents_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetConnectionManagerEvents_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetConnectionManagerEvents_RefreshConnections(This)
- (This)->lpVtbl -> RefreshConnections(This)
- #define INetConnectionManagerEvents_Enable(This)
- (This)->lpVtbl -> Enable(This)
- #define INetConnectionManagerEvents_Disable(This,ulDisableTimeout)
- (This)->lpVtbl -> Disable(This,ulDisableTimeout)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE INetConnectionManagerEvents_RefreshConnections_Proxy(
- INetConnectionManagerEvents * This);
- void __RPC_STUB INetConnectionManagerEvents_RefreshConnections_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnectionManagerEvents_Enable_Proxy(
- INetConnectionManagerEvents * This);
- void __RPC_STUB INetConnectionManagerEvents_Enable_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnectionManagerEvents_Disable_Proxy(
- INetConnectionManagerEvents * This,
- /* [in] */ ULONG ulDisableTimeout);
- void __RPC_STUB INetConnectionManagerEvents_Disable_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnectionManagerEvents_INTERFACE_DEFINED__ */
- #ifndef __INetConnectionConnectUi_INTERFACE_DEFINED__
- #define __INetConnectionConnectUi_INTERFACE_DEFINED__
- /* interface INetConnectionConnectUi */
- /* [unique][uuid][object][local] */
- typedef
- enum tagNETCONUI_CONNECT_FLAGS
- { NCUC_DEFAULT = 0,
- NCUC_NO_UI = 0x1
- } NETCONUI_CONNECT_FLAGS;
- EXTERN_C const IID IID_INetConnectionConnectUi;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956A3-1CD3-11D1-B1C5-00805FC1270E")
- INetConnectionConnectUi : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetConnection(
- /* [in] */ INetConnection *pCon) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Connect(
- /* [in] */ HWND hwndParent,
- /* [in] */ DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Disconnect(
- /* [in] */ HWND hwndParent,
- /* [in] */ DWORD dwFlags) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionConnectUiVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnectionConnectUi * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnectionConnectUi * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnectionConnectUi * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetConnection )(
- INetConnectionConnectUi * This,
- /* [in] */ INetConnection *pCon);
-
- HRESULT ( STDMETHODCALLTYPE *Connect )(
- INetConnectionConnectUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *Disconnect )(
- INetConnectionConnectUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ DWORD dwFlags);
-
- END_INTERFACE
- } INetConnectionConnectUiVtbl;
- interface INetConnectionConnectUi
- {
- CONST_VTBL struct INetConnectionConnectUiVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnectionConnectUi_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnectionConnectUi_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetConnectionConnectUi_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetConnectionConnectUi_SetConnection(This,pCon)
- (This)->lpVtbl -> SetConnection(This,pCon)
- #define INetConnectionConnectUi_Connect(This,hwndParent,dwFlags)
- (This)->lpVtbl -> Connect(This,hwndParent,dwFlags)
- #define INetConnectionConnectUi_Disconnect(This,hwndParent,dwFlags)
- (This)->lpVtbl -> Disconnect(This,hwndParent,dwFlags)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE INetConnectionConnectUi_SetConnection_Proxy(
- INetConnectionConnectUi * This,
- /* [in] */ INetConnection *pCon);
- void __RPC_STUB INetConnectionConnectUi_SetConnection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnectionConnectUi_Connect_Proxy(
- INetConnectionConnectUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB INetConnectionConnectUi_Connect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnectionConnectUi_Disconnect_Proxy(
- INetConnectionConnectUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB INetConnectionConnectUi_Disconnect_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnectionConnectUi_INTERFACE_DEFINED__ */
- #ifndef __INetConnectionPropertyUi_INTERFACE_DEFINED__
- #define __INetConnectionPropertyUi_INTERFACE_DEFINED__
- /* interface INetConnectionPropertyUi */
- /* [unique][uuid][object][local] */
- EXTERN_C const IID IID_INetConnectionPropertyUi;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956A4-1CD3-11D1-B1C5-00805FC1270E")
- INetConnectionPropertyUi : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetConnection(
- /* [in] */ INetConnection *pCon) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddPages(
- /* [in] */ HWND hwndParent,
- /* [in] */ LPFNADDPROPSHEETPAGE pfnAddPage,
- /* [in] */ LPARAM lParam) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionPropertyUiVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnectionPropertyUi * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnectionPropertyUi * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnectionPropertyUi * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetConnection )(
- INetConnectionPropertyUi * This,
- /* [in] */ INetConnection *pCon);
-
- HRESULT ( STDMETHODCALLTYPE *AddPages )(
- INetConnectionPropertyUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ LPFNADDPROPSHEETPAGE pfnAddPage,
- /* [in] */ LPARAM lParam);
-
- END_INTERFACE
- } INetConnectionPropertyUiVtbl;
- interface INetConnectionPropertyUi
- {
- CONST_VTBL struct INetConnectionPropertyUiVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnectionPropertyUi_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnectionPropertyUi_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetConnectionPropertyUi_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetConnectionPropertyUi_SetConnection(This,pCon)
- (This)->lpVtbl -> SetConnection(This,pCon)
- #define INetConnectionPropertyUi_AddPages(This,hwndParent,pfnAddPage,lParam)
- (This)->lpVtbl -> AddPages(This,hwndParent,pfnAddPage,lParam)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE INetConnectionPropertyUi_SetConnection_Proxy(
- INetConnectionPropertyUi * This,
- /* [in] */ INetConnection *pCon);
- void __RPC_STUB INetConnectionPropertyUi_SetConnection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnectionPropertyUi_AddPages_Proxy(
- INetConnectionPropertyUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ LPFNADDPROPSHEETPAGE pfnAddPage,
- /* [in] */ LPARAM lParam);
- void __RPC_STUB INetConnectionPropertyUi_AddPages_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnectionPropertyUi_INTERFACE_DEFINED__ */
- #ifndef __INetConnectionPropertyUi2_INTERFACE_DEFINED__
- #define __INetConnectionPropertyUi2_INTERFACE_DEFINED__
- /* interface INetConnectionPropertyUi2 */
- /* [unique][uuid][object][local] */
- EXTERN_C const IID IID_INetConnectionPropertyUi2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B9-1CD3-11D1-B1C5-00805FC1270E")
- INetConnectionPropertyUi2 : public INetConnectionPropertyUi
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetIcon(
- /* [in] */ DWORD dwSize,
- /* [out] */ HICON *phIcon) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionPropertyUi2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnectionPropertyUi2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnectionPropertyUi2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnectionPropertyUi2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetConnection )(
- INetConnectionPropertyUi2 * This,
- /* [in] */ INetConnection *pCon);
-
- HRESULT ( STDMETHODCALLTYPE *AddPages )(
- INetConnectionPropertyUi2 * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ LPFNADDPROPSHEETPAGE pfnAddPage,
- /* [in] */ LPARAM lParam);
-
- HRESULT ( STDMETHODCALLTYPE *GetIcon )(
- INetConnectionPropertyUi2 * This,
- /* [in] */ DWORD dwSize,
- /* [out] */ HICON *phIcon);
-
- END_INTERFACE
- } INetConnectionPropertyUi2Vtbl;
- interface INetConnectionPropertyUi2
- {
- CONST_VTBL struct INetConnectionPropertyUi2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnectionPropertyUi2_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnectionPropertyUi2_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetConnectionPropertyUi2_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetConnectionPropertyUi2_SetConnection(This,pCon)
- (This)->lpVtbl -> SetConnection(This,pCon)
- #define INetConnectionPropertyUi2_AddPages(This,hwndParent,pfnAddPage,lParam)
- (This)->lpVtbl -> AddPages(This,hwndParent,pfnAddPage,lParam)
- #define INetConnectionPropertyUi2_GetIcon(This,dwSize,phIcon)
- (This)->lpVtbl -> GetIcon(This,dwSize,phIcon)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE INetConnectionPropertyUi2_GetIcon_Proxy(
- INetConnectionPropertyUi2 * This,
- /* [in] */ DWORD dwSize,
- /* [out] */ HICON *phIcon);
- void __RPC_STUB INetConnectionPropertyUi2_GetIcon_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnectionPropertyUi2_INTERFACE_DEFINED__ */
- #ifndef __INetConnectionCommonUi_INTERFACE_DEFINED__
- #define __INetConnectionCommonUi_INTERFACE_DEFINED__
- /* interface INetConnectionCommonUi */
- /* [unique][uuid][object][local] */
- typedef
- enum tagNETCON_CHOOSEFLAGS
- { NCCHF_CONNECT = 0x1,
- NCCHF_CAPTION = 0x2,
- NCCHF_OKBTTNTEXT = 0x4,
- NCCHF_DISABLENEW = 0x8,
- NCCHF_AUTOSELECT = 0x10
- } NETCON_CHOOSEFLAGS;
- typedef
- enum tagNETCON_CHOOSETYPE
- { NCCHT_DIRECT_CONNECT = 0x1,
- NCCHT_LAN = 0x2,
- NCCHT_PHONE = 0x4,
- NCCHT_TUNNEL = 0x8,
- NCCHT_ISDN = 0x10,
- NCCHT_ALL = 0x1f
- } NETCON_CHOOSETYPE;
- typedef struct tagNETCON_CHOOSECONN
- {
- DWORD lStructSize;
- HWND hwndParent;
- DWORD dwFlags;
- DWORD dwTypeMask;
- LPCWSTR lpstrCaption;
- LPCWSTR lpstrOkBttnText;
- } NETCON_CHOOSECONN;
- EXTERN_C const IID IID_INetConnectionCommonUi;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956A5-1CD3-11D1-B1C5-00805FC1270E")
- INetConnectionCommonUi : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE ChooseConnection(
- /* [in] */ NETCON_CHOOSECONN *pChooseConn,
- /* [out] */ INetConnection **ppCon) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ShowConnectionProperties(
- /* [in] */ HWND hwndParent,
- /* [in] */ INetConnection *pCon) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE StartNewConnectionWizard(
- /* [in] */ HWND hwndParent,
- /* [out] */ INetConnection **ppCon) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetConnectionCommonUiVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetConnectionCommonUi * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetConnectionCommonUi * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetConnectionCommonUi * This);
-
- HRESULT ( STDMETHODCALLTYPE *ChooseConnection )(
- INetConnectionCommonUi * This,
- /* [in] */ NETCON_CHOOSECONN *pChooseConn,
- /* [out] */ INetConnection **ppCon);
-
- HRESULT ( STDMETHODCALLTYPE *ShowConnectionProperties )(
- INetConnectionCommonUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ INetConnection *pCon);
-
- HRESULT ( STDMETHODCALLTYPE *StartNewConnectionWizard )(
- INetConnectionCommonUi * This,
- /* [in] */ HWND hwndParent,
- /* [out] */ INetConnection **ppCon);
-
- END_INTERFACE
- } INetConnectionCommonUiVtbl;
- interface INetConnectionCommonUi
- {
- CONST_VTBL struct INetConnectionCommonUiVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetConnectionCommonUi_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetConnectionCommonUi_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetConnectionCommonUi_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetConnectionCommonUi_ChooseConnection(This,pChooseConn,ppCon)
- (This)->lpVtbl -> ChooseConnection(This,pChooseConn,ppCon)
- #define INetConnectionCommonUi_ShowConnectionProperties(This,hwndParent,pCon)
- (This)->lpVtbl -> ShowConnectionProperties(This,hwndParent,pCon)
- #define INetConnectionCommonUi_StartNewConnectionWizard(This,hwndParent,ppCon)
- (This)->lpVtbl -> StartNewConnectionWizard(This,hwndParent,ppCon)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE INetConnectionCommonUi_ChooseConnection_Proxy(
- INetConnectionCommonUi * This,
- /* [in] */ NETCON_CHOOSECONN *pChooseConn,
- /* [out] */ INetConnection **ppCon);
- void __RPC_STUB INetConnectionCommonUi_ChooseConnection_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnectionCommonUi_ShowConnectionProperties_Proxy(
- INetConnectionCommonUi * This,
- /* [in] */ HWND hwndParent,
- /* [in] */ INetConnection *pCon);
- void __RPC_STUB INetConnectionCommonUi_ShowConnectionProperties_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE INetConnectionCommonUi_StartNewConnectionWizard_Proxy(
- INetConnectionCommonUi * This,
- /* [in] */ HWND hwndParent,
- /* [out] */ INetConnection **ppCon);
- void __RPC_STUB INetConnectionCommonUi_StartNewConnectionWizard_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetConnectionCommonUi_INTERFACE_DEFINED__ */
- #ifndef __IEnumNetSharingPortMapping_INTERFACE_DEFINED__
- #define __IEnumNetSharingPortMapping_INTERFACE_DEFINED__
- /* interface IEnumNetSharingPortMapping */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumNetSharingPortMapping;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B0-1CD3-11D1-B1C5-00805FC1270E")
- IEnumNetSharingPortMapping : 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] */ IEnumNetSharingPortMapping **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumNetSharingPortMappingVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumNetSharingPortMapping * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumNetSharingPortMapping * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumNetSharingPortMapping * This);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumNetSharingPortMapping * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumNetSharingPortMapping * This,
- /* [in] */ ULONG celt);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumNetSharingPortMapping * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumNetSharingPortMapping * This,
- /* [out] */ IEnumNetSharingPortMapping **ppenum);
-
- END_INTERFACE
- } IEnumNetSharingPortMappingVtbl;
- interface IEnumNetSharingPortMapping
- {
- CONST_VTBL struct IEnumNetSharingPortMappingVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumNetSharingPortMapping_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumNetSharingPortMapping_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumNetSharingPortMapping_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumNetSharingPortMapping_Next(This,celt,rgVar,pceltFetched)
- (This)->lpVtbl -> Next(This,celt,rgVar,pceltFetched)
- #define IEnumNetSharingPortMapping_Skip(This,celt)
- (This)->lpVtbl -> Skip(This,celt)
- #define IEnumNetSharingPortMapping_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumNetSharingPortMapping_Clone(This,ppenum)
- (This)->lpVtbl -> Clone(This,ppenum)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPortMapping_Next_Proxy(
- IEnumNetSharingPortMapping * This,
- /* [in] */ ULONG celt,
- /* [length_is][size_is][out] */ VARIANT *rgVar,
- /* [out] */ ULONG *pceltFetched);
- void __RPC_STUB IEnumNetSharingPortMapping_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPortMapping_Skip_Proxy(
- IEnumNetSharingPortMapping * This,
- /* [in] */ ULONG celt);
- void __RPC_STUB IEnumNetSharingPortMapping_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPortMapping_Reset_Proxy(
- IEnumNetSharingPortMapping * This);
- void __RPC_STUB IEnumNetSharingPortMapping_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumNetSharingPortMapping_Clone_Proxy(
- IEnumNetSharingPortMapping * This,
- /* [out] */ IEnumNetSharingPortMapping **ppenum);
- void __RPC_STUB IEnumNetSharingPortMapping_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumNetSharingPortMapping_INTERFACE_DEFINED__ */
- #ifndef __INetSharingPortMappingProps_INTERFACE_DEFINED__
- #define __INetSharingPortMappingProps_INTERFACE_DEFINED__
- /* interface INetSharingPortMappingProps */
- /* [unique][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetSharingPortMappingProps;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("24B7E9B5-E38F-4685-851B-00892CF5F940")
- INetSharingPortMappingProps : public IDispatch
- {
- public:
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
- /* [retval][out] */ BSTR *pbstrName) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IPProtocol(
- /* [retval][out] */ UCHAR *pucIPProt) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ExternalPort(
- /* [retval][out] */ long *pusPort) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InternalPort(
- /* [retval][out] */ long *pusPort) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Options(
- /* [retval][out] */ long *pdwOptions) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TargetName(
- /* [retval][out] */ BSTR *pbstrTargetName) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TargetIPAddress(
- /* [retval][out] */ BSTR *pbstrTargetIPAddress) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Enabled(
- /* [retval][out] */ VARIANT_BOOL *pbool) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingPortMappingPropsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingPortMappingProps * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingPortMappingProps * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingPortMappingProps * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingPortMappingProps * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingPortMappingProps * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingPortMappingProps * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingPortMappingProps * 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_Name )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ BSTR *pbstrName);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IPProtocol )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ UCHAR *pucIPProt);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ExternalPort )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ long *pusPort);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InternalPort )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ long *pusPort);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Options )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ long *pdwOptions);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TargetName )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ BSTR *pbstrTargetName);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TargetIPAddress )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ BSTR *pbstrTargetIPAddress);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ VARIANT_BOOL *pbool);
-
- END_INTERFACE
- } INetSharingPortMappingPropsVtbl;
- interface INetSharingPortMappingProps
- {
- CONST_VTBL struct INetSharingPortMappingPropsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingPortMappingProps_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingPortMappingProps_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingPortMappingProps_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetSharingPortMappingProps_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingPortMappingProps_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingPortMappingProps_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingPortMappingProps_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingPortMappingProps_get_Name(This,pbstrName)
- (This)->lpVtbl -> get_Name(This,pbstrName)
- #define INetSharingPortMappingProps_get_IPProtocol(This,pucIPProt)
- (This)->lpVtbl -> get_IPProtocol(This,pucIPProt)
- #define INetSharingPortMappingProps_get_ExternalPort(This,pusPort)
- (This)->lpVtbl -> get_ExternalPort(This,pusPort)
- #define INetSharingPortMappingProps_get_InternalPort(This,pusPort)
- (This)->lpVtbl -> get_InternalPort(This,pusPort)
- #define INetSharingPortMappingProps_get_Options(This,pdwOptions)
- (This)->lpVtbl -> get_Options(This,pdwOptions)
- #define INetSharingPortMappingProps_get_TargetName(This,pbstrTargetName)
- (This)->lpVtbl -> get_TargetName(This,pbstrTargetName)
- #define INetSharingPortMappingProps_get_TargetIPAddress(This,pbstrTargetIPAddress)
- (This)->lpVtbl -> get_TargetIPAddress(This,pbstrTargetIPAddress)
- #define INetSharingPortMappingProps_get_Enabled(This,pbool)
- (This)->lpVtbl -> get_Enabled(This,pbool)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_Name_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ BSTR *pbstrName);
- void __RPC_STUB INetSharingPortMappingProps_get_Name_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_IPProtocol_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ UCHAR *pucIPProt);
- void __RPC_STUB INetSharingPortMappingProps_get_IPProtocol_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_ExternalPort_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ long *pusPort);
- void __RPC_STUB INetSharingPortMappingProps_get_ExternalPort_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_InternalPort_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ long *pusPort);
- void __RPC_STUB INetSharingPortMappingProps_get_InternalPort_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_Options_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ long *pdwOptions);
- void __RPC_STUB INetSharingPortMappingProps_get_Options_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_TargetName_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ BSTR *pbstrTargetName);
- void __RPC_STUB INetSharingPortMappingProps_get_TargetName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_TargetIPAddress_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ BSTR *pbstrTargetIPAddress);
- void __RPC_STUB INetSharingPortMappingProps_get_TargetIPAddress_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMappingProps_get_Enabled_Proxy(
- INetSharingPortMappingProps * This,
- /* [retval][out] */ VARIANT_BOOL *pbool);
- void __RPC_STUB INetSharingPortMappingProps_get_Enabled_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingPortMappingProps_INTERFACE_DEFINED__ */
- #ifndef __INetSharingPortMapping_INTERFACE_DEFINED__
- #define __INetSharingPortMapping_INTERFACE_DEFINED__
- /* interface INetSharingPortMapping */
- /* [unique][dual][oleautomation][uuid][object] */
- EXTERN_C const IID IID_INetSharingPortMapping;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B1-1CD3-11D1-B1C5-00805FC1270E")
- INetSharingPortMapping : public IDispatch
- {
- public:
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Disable( void) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Enable( void) = 0;
-
- virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Properties(
- /* [retval][out] */ INetSharingPortMappingProps **ppNSPMP) = 0;
-
- virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct INetSharingPortMappingVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- INetSharingPortMapping * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- INetSharingPortMapping * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- INetSharingPortMapping * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
- INetSharingPortMapping * This,
- /* [out] */ UINT *pctinfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
- INetSharingPortMapping * This,
- /* [in] */ UINT iTInfo,
- /* [in] */ LCID lcid,
- /* [out] */ ITypeInfo **ppTInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
- INetSharingPortMapping * This,
- /* [in] */ REFIID riid,
- /* [size_is][in] */ LPOLESTR *rgszNames,
- /* [in] */ UINT cNames,
- /* [in] */ LCID lcid,
- /* [size_is][out] */ DISPID *rgDispId);
-
- /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
- INetSharingPortMapping * 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 *Disable )(
- INetSharingPortMapping * This);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Enable )(
- INetSharingPortMapping * This);
-
- /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Properties )(
- INetSharingPortMapping * This,
- /* [retval][out] */ INetSharingPortMappingProps **ppNSPMP);
-
- /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
- INetSharingPortMapping * This);
-
- END_INTERFACE
- } INetSharingPortMappingVtbl;
- interface INetSharingPortMapping
- {
- CONST_VTBL struct INetSharingPortMappingVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define INetSharingPortMapping_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define INetSharingPortMapping_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define INetSharingPortMapping_Release(This)
- (This)->lpVtbl -> Release(This)
- #define INetSharingPortMapping_GetTypeInfoCount(This,pctinfo)
- (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
- #define INetSharingPortMapping_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define INetSharingPortMapping_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define INetSharingPortMapping_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- #define INetSharingPortMapping_Disable(This)
- (This)->lpVtbl -> Disable(This)
- #define INetSharingPortMapping_Enable(This)
- (This)->lpVtbl -> Enable(This)
- #define INetSharingPortMapping_get_Properties(This,ppNSPMP)
- (This)->lpVtbl -> get_Properties(This,ppNSPMP)
- #define INetSharingPortMapping_Delete(This)
- (This)->lpVtbl -> Delete(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingPortMapping_Disable_Proxy(
- INetSharingPortMapping * This);
- void __RPC_STUB INetSharingPortMapping_Disable_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingPortMapping_Enable_Proxy(
- INetSharingPortMapping * This);
- void __RPC_STUB INetSharingPortMapping_Enable_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INetSharingPortMapping_get_Properties_Proxy(
- INetSharingPortMapping * This,
- /* [retval][out] */ INetSharingPortMappingProps **ppNSPMP);
- void __RPC_STUB INetSharingPortMapping_get_Properties_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INetSharingPortMapping_Delete_Proxy(
- INetSharingPortMapping * This);
- void __RPC_STUB INetSharingPortMapping_Delete_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __INetSharingPortMapping_INTERFACE_DEFINED__ */
- #ifndef __IEnumNetSharingEveryConnection_INTERFACE_DEFINED__
- #define __IEnumNetSharingEveryConnection_INTERFACE_DEFINED__
- /* interface IEnumNetSharingEveryConnection */
- /* [unique][uuid][object] */
- EXTERN_C const IID IID_IEnumNetSharingEveryConnection;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C08956B8-1CD3-11D1-B1C5-00805FC1270E")
- IEnumNetSharingEveryConnection : 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] */ IEnumNetSharingEveryConnection **ppenum) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumNetSharingEveryConnectionVtbl
- {
- BEGIN_INTERFACE