Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Cedar/netcfgx.h')
-rw-r--r--src/Cedar/netcfgx.h1941
1 files changed, 1941 insertions, 0 deletions
diff --git a/src/Cedar/netcfgx.h b/src/Cedar/netcfgx.h
new file mode 100644
index 00000000..59c9f52c
--- /dev/null
+++ b/src/Cedar/netcfgx.h
@@ -0,0 +1,1941 @@
+
+
+/* this ALWAYS GENERATED file contains the definitions for the interfaces */
+
+
+ /* File created by MIDL compiler version 7.00.0555 */
+/* Compiler settings for netcfgx.idl:
+ Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555
+ 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( ) */
+
+#pragma warning( disable: 4049 ) /* more than 64k source lines */
+
+
+/* verify that the <rpcndr.h> version is high enough to compile this file*/
+#ifndef __REQUIRED_RPCNDR_H_VERSION__
+#define __REQUIRED_RPCNDR_H_VERSION__ 500
+#endif
+
+/* verify that the <rpcsal.h> version is high enough to compile this file*/
+#ifndef __REQUIRED_RPCSAL_H_VERSION__
+#define __REQUIRED_RPCSAL_H_VERSION__ 100
+#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 __netcfgx_h__
+#define __netcfgx_h__
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+#pragma once
+#endif
+
+/* Forward Declarations */
+
+#ifndef __IEnumNetCfgBindingInterface_FWD_DEFINED__
+#define __IEnumNetCfgBindingInterface_FWD_DEFINED__
+typedef interface IEnumNetCfgBindingInterface IEnumNetCfgBindingInterface;
+#endif /* __IEnumNetCfgBindingInterface_FWD_DEFINED__ */
+
+
+#ifndef __IEnumNetCfgBindingPath_FWD_DEFINED__
+#define __IEnumNetCfgBindingPath_FWD_DEFINED__
+typedef interface IEnumNetCfgBindingPath IEnumNetCfgBindingPath;
+#endif /* __IEnumNetCfgBindingPath_FWD_DEFINED__ */
+
+
+#ifndef __IEnumNetCfgComponent_FWD_DEFINED__
+#define __IEnumNetCfgComponent_FWD_DEFINED__
+typedef interface IEnumNetCfgComponent IEnumNetCfgComponent;
+#endif /* __IEnumNetCfgComponent_FWD_DEFINED__ */
+
+
+#ifndef __INetCfg_FWD_DEFINED__
+#define __INetCfg_FWD_DEFINED__
+typedef interface INetCfg INetCfg;
+#endif /* __INetCfg_FWD_DEFINED__ */
+
+
+#ifndef __INetCfgLock_FWD_DEFINED__
+#define __INetCfgLock_FWD_DEFINED__
+typedef interface INetCfgLock INetCfgLock;
+#endif /* __INetCfgLock_FWD_DEFINED__ */
+
+
+#ifndef __INetCfgBindingInterface_FWD_DEFINED__
+#define __INetCfgBindingInterface_FWD_DEFINED__
+typedef interface INetCfgBindingInterface INetCfgBindingInterface;
+#endif /* __INetCfgBindingInterface_FWD_DEFINED__ */
+
+
+#ifndef __INetCfgBindingPath_FWD_DEFINED__
+#define __INetCfgBindingPath_FWD_DEFINED__
+typedef interface INetCfgBindingPath INetCfgBindingPath;
+#endif /* __INetCfgBindingPath_FWD_DEFINED__ */
+
+
+#ifndef __INetCfgClass_FWD_DEFINED__
+#define __INetCfgClass_FWD_DEFINED__
+typedef interface INetCfgClass INetCfgClass;
+#endif /* __INetCfgClass_FWD_DEFINED__ */
+
+
+#ifndef __INetCfgClassSetup_FWD_DEFINED__
+#define __INetCfgClassSetup_FWD_DEFINED__
+typedef interface INetCfgClassSetup INetCfgClassSetup;
+#endif /* __INetCfgClassSetup_FWD_DEFINED__ */
+
+
+#ifndef __INetCfgComponent_FWD_DEFINED__
+#define __INetCfgComponent_FWD_DEFINED__
+typedef interface INetCfgComponent INetCfgComponent;
+#endif /* __INetCfgComponent_FWD_DEFINED__ */
+
+
+#ifndef __INetCfgComponentBindings_FWD_DEFINED__
+#define __INetCfgComponentBindings_FWD_DEFINED__
+typedef interface INetCfgComponentBindings INetCfgComponentBindings;
+#endif /* __INetCfgComponentBindings_FWD_DEFINED__ */
+
+
+#ifndef __INetCfgSysPrep_FWD_DEFINED__
+#define __INetCfgSysPrep_FWD_DEFINED__
+typedef interface INetCfgSysPrep INetCfgSysPrep;
+#endif /* __INetCfgSysPrep_FWD_DEFINED__ */
+
+
+/* header files for imported files */
+#include "unknwn.h"
+#include "prsht.h"
+
+#ifdef __cplusplus
+extern "C"{
+#endif
+
+
+/* interface __MIDL_itf_netcfgx_0000_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_CNetCfg;
+
+#define NETCFG_E_ALREADY_INITIALIZED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA020)
+#define NETCFG_E_NOT_INITIALIZED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA021)
+#define NETCFG_E_IN_USE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA022)
+#define NETCFG_E_NO_WRITE_LOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA024)
+#define NETCFG_E_NEED_REBOOT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA025)
+#define NETCFG_E_ACTIVE_RAS_CONNECTIONS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA026)
+#define NETCFG_E_ADAPTER_NOT_FOUND MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA027)
+#define NETCFG_E_COMPONENT_REMOVED_PENDING_REBOOT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA028)
+#define NETCFG_E_MAX_FILTER_LIMIT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA029)
+#define NETCFG_S_REBOOT MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0xA020)
+#define NETCFG_S_DISABLE_QUERY MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0xA022)
+#define NETCFG_S_STILL_REFERENCED MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0xA023)
+#define NETCFG_S_CAUSED_SETUP_CHANGE MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0xA024)
+#define NETCFG_S_COMMIT_NOW MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0xA025)
+
+#define NETCFG_CLIENT_CID_MS_MSClient TEXT("ms_msclient")
+#define NETCFG_SERVICE_CID_MS_SERVER TEXT("ms_server")
+#define NETCFG_SERVICE_CID_MS_NETBIOS TEXT("ms_netbios")
+#define NETCFG_SERVICE_CID_MS_PSCHED TEXT("ms_pschedpc")
+#define NETCFG_SERVICE_CID_MS_WLBS TEXT("ms_wlbs")
+#define NETCFG_TRANS_CID_MS_APPLETALK TEXT("ms_appletalk")
+#define NETCFG_TRANS_CID_MS_NETBEUI TEXT("ms_netbeui")
+#define NETCFG_TRANS_CID_MS_NETMON TEXT("ms_netmon")
+#define NETCFG_TRANS_CID_MS_NWIPX TEXT("ms_nwipx")
+#define NETCFG_TRANS_CID_MS_NWSPX TEXT("ms_nwspx")
+#define NETCFG_TRANS_CID_MS_TCPIP TEXT("ms_tcpip")
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+extern RPC_IF_HANDLE __MIDL_itf_netcfgx_0000_0000_v0_0_c_ifspec;
+extern RPC_IF_HANDLE __MIDL_itf_netcfgx_0000_0000_v0_0_s_ifspec;
+
+#ifndef __IEnumNetCfgBindingInterface_INTERFACE_DEFINED__
+#define __IEnumNetCfgBindingInterface_INTERFACE_DEFINED__
+
+/* interface IEnumNetCfgBindingInterface */
+/* [unique][uuid][object][local] */
+
+
+EXTERN_C const IID IID_IEnumNetCfgBindingInterface;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("C0E8AE90-306E-11D1-AACF-00805FC1270E")
+ IEnumNetCfgBindingInterface : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE Next(
+ /* [annotation][in] */
+ __in ULONG celt,
+ /* [annotation][length_is][size_is][out] */
+ __out_ecount(celt) INetCfgBindingInterface **rgelt,
+ /* [annotation][out] */
+ __out_opt ULONG *pceltFetched) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Skip(
+ /* [annotation][in] */
+ __in ULONG celt) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Clone(
+ /* [annotation][out] */
+ __out IEnumNetCfgBindingInterface **ppenum) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IEnumNetCfgBindingInterfaceVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ IEnumNetCfgBindingInterface * This,
+ /* [in] */ REFIID riid,
+ /* [annotation][iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ IEnumNetCfgBindingInterface * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ IEnumNetCfgBindingInterface * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Next )(
+ IEnumNetCfgBindingInterface * This,
+ /* [annotation][in] */
+ __in ULONG celt,
+ /* [annotation][length_is][size_is][out] */
+ __out_ecount(celt) INetCfgBindingInterface **rgelt,
+ /* [annotation][out] */
+ __out_opt ULONG *pceltFetched);
+
+ HRESULT ( STDMETHODCALLTYPE *Skip )(
+ IEnumNetCfgBindingInterface * This,
+ /* [annotation][in] */
+ __in ULONG celt);
+
+ HRESULT ( STDMETHODCALLTYPE *Reset )(
+ IEnumNetCfgBindingInterface * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Clone )(
+ IEnumNetCfgBindingInterface * This,
+ /* [annotation][out] */
+ __out IEnumNetCfgBindingInterface **ppenum);
+
+ END_INTERFACE
+ } IEnumNetCfgBindingInterfaceVtbl;
+
+ interface IEnumNetCfgBindingInterface
+ {
+ CONST_VTBL struct IEnumNetCfgBindingInterfaceVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define IEnumNetCfgBindingInterface_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define IEnumNetCfgBindingInterface_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define IEnumNetCfgBindingInterface_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define IEnumNetCfgBindingInterface_Next(This,celt,rgelt,pceltFetched) \
+ ( (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched) )
+
+#define IEnumNetCfgBindingInterface_Skip(This,celt) \
+ ( (This)->lpVtbl -> Skip(This,celt) )
+
+#define IEnumNetCfgBindingInterface_Reset(This) \
+ ( (This)->lpVtbl -> Reset(This) )
+
+#define IEnumNetCfgBindingInterface_Clone(This,ppenum) \
+ ( (This)->lpVtbl -> Clone(This,ppenum) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __IEnumNetCfgBindingInterface_INTERFACE_DEFINED__ */
+
+
+#ifndef __IEnumNetCfgBindingPath_INTERFACE_DEFINED__
+#define __IEnumNetCfgBindingPath_INTERFACE_DEFINED__
+
+/* interface IEnumNetCfgBindingPath */
+/* [unique][uuid][object][local] */
+
+
+EXTERN_C const IID IID_IEnumNetCfgBindingPath;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("C0E8AE91-306E-11D1-AACF-00805FC1270E")
+ IEnumNetCfgBindingPath : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE Next(
+ /* [annotation][in] */
+ __in ULONG celt,
+ /* [annotation][length_is][size_is][out] */
+ __out_ecount(celt) INetCfgBindingPath **rgelt,
+ /* [annotation][out] */
+ __out ULONG *pceltFetched) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Skip(
+ /* [annotation][in] */
+ __in ULONG celt) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Clone(
+ /* [annotation][out] */
+ __out IEnumNetCfgBindingPath **ppenum) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IEnumNetCfgBindingPathVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ IEnumNetCfgBindingPath * This,
+ /* [in] */ REFIID riid,
+ /* [annotation][iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ IEnumNetCfgBindingPath * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ IEnumNetCfgBindingPath * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Next )(
+ IEnumNetCfgBindingPath * This,
+ /* [annotation][in] */
+ __in ULONG celt,
+ /* [annotation][length_is][size_is][out] */
+ __out_ecount(celt) INetCfgBindingPath **rgelt,
+ /* [annotation][out] */
+ __out ULONG *pceltFetched);
+
+ HRESULT ( STDMETHODCALLTYPE *Skip )(
+ IEnumNetCfgBindingPath * This,
+ /* [annotation][in] */
+ __in ULONG celt);
+
+ HRESULT ( STDMETHODCALLTYPE *Reset )(
+ IEnumNetCfgBindingPath * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Clone )(
+ IEnumNetCfgBindingPath * This,
+ /* [annotation][out] */
+ __out IEnumNetCfgBindingPath **ppenum);
+
+ END_INTERFACE
+ } IEnumNetCfgBindingPathVtbl;
+
+ interface IEnumNetCfgBindingPath
+ {
+ CONST_VTBL struct IEnumNetCfgBindingPathVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define IEnumNetCfgBindingPath_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define IEnumNetCfgBindingPath_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define IEnumNetCfgBindingPath_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define IEnumNetCfgBindingPath_Next(This,celt,rgelt,pceltFetched) \
+ ( (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched) )
+
+#define IEnumNetCfgBindingPath_Skip(This,celt) \
+ ( (This)->lpVtbl -> Skip(This,celt) )
+
+#define IEnumNetCfgBindingPath_Reset(This) \
+ ( (This)->lpVtbl -> Reset(This) )
+
+#define IEnumNetCfgBindingPath_Clone(This,ppenum) \
+ ( (This)->lpVtbl -> Clone(This,ppenum) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __IEnumNetCfgBindingPath_INTERFACE_DEFINED__ */
+
+
+#ifndef __IEnumNetCfgComponent_INTERFACE_DEFINED__
+#define __IEnumNetCfgComponent_INTERFACE_DEFINED__
+
+/* interface IEnumNetCfgComponent */
+/* [unique][uuid][object][local] */
+
+
+EXTERN_C const IID IID_IEnumNetCfgComponent;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("C0E8AE92-306E-11D1-AACF-00805FC1270E")
+ IEnumNetCfgComponent : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE Next(
+ /* [annotation][in] */
+ __in ULONG celt,
+ /* [annotation][length_is][size_is][out] */
+ __out_ecount(celt) INetCfgComponent **rgelt,
+ /* [annotation][out] */
+ __out ULONG *pceltFetched) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Skip(
+ /* [annotation][in] */
+ __in ULONG celt) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Clone(
+ /* [annotation][out] */
+ __out IEnumNetCfgComponent **ppenum) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct IEnumNetCfgComponentVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ IEnumNetCfgComponent * This,
+ /* [in] */ REFIID riid,
+ /* [annotation][iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ IEnumNetCfgComponent * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ IEnumNetCfgComponent * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Next )(
+ IEnumNetCfgComponent * This,
+ /* [annotation][in] */
+ __in ULONG celt,
+ /* [annotation][length_is][size_is][out] */
+ __out_ecount(celt) INetCfgComponent **rgelt,
+ /* [annotation][out] */
+ __out ULONG *pceltFetched);
+
+ HRESULT ( STDMETHODCALLTYPE *Skip )(
+ IEnumNetCfgComponent * This,
+ /* [annotation][in] */
+ __in ULONG celt);
+
+ HRESULT ( STDMETHODCALLTYPE *Reset )(
+ IEnumNetCfgComponent * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Clone )(
+ IEnumNetCfgComponent * This,
+ /* [annotation][out] */
+ __out IEnumNetCfgComponent **ppenum);
+
+ END_INTERFACE
+ } IEnumNetCfgComponentVtbl;
+
+ interface IEnumNetCfgComponent
+ {
+ CONST_VTBL struct IEnumNetCfgComponentVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define IEnumNetCfgComponent_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define IEnumNetCfgComponent_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define IEnumNetCfgComponent_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define IEnumNetCfgComponent_Next(This,celt,rgelt,pceltFetched) \
+ ( (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched) )
+
+#define IEnumNetCfgComponent_Skip(This,celt) \
+ ( (This)->lpVtbl -> Skip(This,celt) )
+
+#define IEnumNetCfgComponent_Reset(This) \
+ ( (This)->lpVtbl -> Reset(This) )
+
+#define IEnumNetCfgComponent_Clone(This,ppenum) \
+ ( (This)->lpVtbl -> Clone(This,ppenum) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __IEnumNetCfgComponent_INTERFACE_DEFINED__ */
+
+
+#ifndef __INetCfg_INTERFACE_DEFINED__
+#define __INetCfg_INTERFACE_DEFINED__
+
+/* interface INetCfg */
+/* [unique][uuid][object][local] */
+
+
+EXTERN_C const IID IID_INetCfg;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("C0E8AE93-306E-11D1-AACF-00805FC1270E")
+ INetCfg : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE Initialize(
+ /* [annotation][in] */
+ __in PVOID pvReserved) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Uninitialize( void) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Apply( void) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE EnumComponents(
+ /* [annotation][in] */
+ __in const GUID *pguidClass,
+ /* [annotation][out] */
+ __deref_out_opt IEnumNetCfgComponent **ppenumComponent) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE FindComponent(
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pszwInfId,
+ /* [annotation][out] */
+ __deref_out_opt INetCfgComponent **pComponent) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE QueryNetCfgClass(
+ /* [annotation][in] */
+ __in const GUID *pguidClass,
+ /* [annotation][in] */
+ __in REFIID riid,
+ /* [annotation][iid_is][out] */
+ __deref_out_opt void **ppvObject) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INetCfgVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ INetCfg * This,
+ /* [in] */ REFIID riid,
+ /* [annotation][iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ INetCfg * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ INetCfg * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Initialize )(
+ INetCfg * This,
+ /* [annotation][in] */
+ __in PVOID pvReserved);
+
+ HRESULT ( STDMETHODCALLTYPE *Uninitialize )(
+ INetCfg * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Apply )(
+ INetCfg * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Cancel )(
+ INetCfg * This);
+
+ HRESULT ( STDMETHODCALLTYPE *EnumComponents )(
+ INetCfg * This,
+ /* [annotation][in] */
+ __in const GUID *pguidClass,
+ /* [annotation][out] */
+ __deref_out_opt IEnumNetCfgComponent **ppenumComponent);
+
+ HRESULT ( STDMETHODCALLTYPE *FindComponent )(
+ INetCfg * This,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pszwInfId,
+ /* [annotation][out] */
+ __deref_out_opt INetCfgComponent **pComponent);
+
+ HRESULT ( STDMETHODCALLTYPE *QueryNetCfgClass )(
+ INetCfg * This,
+ /* [annotation][in] */
+ __in const GUID *pguidClass,
+ /* [annotation][in] */
+ __in REFIID riid,
+ /* [annotation][iid_is][out] */
+ __deref_out_opt void **ppvObject);
+
+ END_INTERFACE
+ } INetCfgVtbl;
+
+ interface INetCfg
+ {
+ CONST_VTBL struct INetCfgVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INetCfg_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define INetCfg_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define INetCfg_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define INetCfg_Initialize(This,pvReserved) \
+ ( (This)->lpVtbl -> Initialize(This,pvReserved) )
+
+#define INetCfg_Uninitialize(This) \
+ ( (This)->lpVtbl -> Uninitialize(This) )
+
+#define INetCfg_Apply(This) \
+ ( (This)->lpVtbl -> Apply(This) )
+
+#define INetCfg_Cancel(This) \
+ ( (This)->lpVtbl -> Cancel(This) )
+
+#define INetCfg_EnumComponents(This,pguidClass,ppenumComponent) \
+ ( (This)->lpVtbl -> EnumComponents(This,pguidClass,ppenumComponent) )
+
+#define INetCfg_FindComponent(This,pszwInfId,pComponent) \
+ ( (This)->lpVtbl -> FindComponent(This,pszwInfId,pComponent) )
+
+#define INetCfg_QueryNetCfgClass(This,pguidClass,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryNetCfgClass(This,pguidClass,riid,ppvObject) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __INetCfg_INTERFACE_DEFINED__ */
+
+
+#ifndef __INetCfgLock_INTERFACE_DEFINED__
+#define __INetCfgLock_INTERFACE_DEFINED__
+
+/* interface INetCfgLock */
+/* [unique][uuid][object][local] */
+
+
+EXTERN_C const IID IID_INetCfgLock;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("C0E8AE9F-306E-11D1-AACF-00805FC1270E")
+ INetCfgLock : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE AcquireWriteLock(
+ /* [annotation][in] */
+ __in DWORD cmsTimeout,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pszwClientDescription,
+ /* [annotation][string][out] */
+ __deref_out_opt LPWSTR *ppszwClientDescription) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE ReleaseWriteLock( void) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE IsWriteLocked(
+ /* [annotation][string][out] */
+ __deref_out __nullterminated LPWSTR *ppszwClientDescription) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INetCfgLockVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ INetCfgLock * This,
+ /* [in] */ REFIID riid,
+ /* [annotation][iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ INetCfgLock * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ INetCfgLock * This);
+
+ HRESULT ( STDMETHODCALLTYPE *AcquireWriteLock )(
+ INetCfgLock * This,
+ /* [annotation][in] */
+ __in DWORD cmsTimeout,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pszwClientDescription,
+ /* [annotation][string][out] */
+ __deref_out_opt LPWSTR *ppszwClientDescription);
+
+ HRESULT ( STDMETHODCALLTYPE *ReleaseWriteLock )(
+ INetCfgLock * This);
+
+ HRESULT ( STDMETHODCALLTYPE *IsWriteLocked )(
+ INetCfgLock * This,
+ /* [annotation][string][out] */
+ __deref_out __nullterminated LPWSTR *ppszwClientDescription);
+
+ END_INTERFACE
+ } INetCfgLockVtbl;
+
+ interface INetCfgLock
+ {
+ CONST_VTBL struct INetCfgLockVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INetCfgLock_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define INetCfgLock_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define INetCfgLock_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define INetCfgLock_AcquireWriteLock(This,cmsTimeout,pszwClientDescription,ppszwClientDescription) \
+ ( (This)->lpVtbl -> AcquireWriteLock(This,cmsTimeout,pszwClientDescription,ppszwClientDescription) )
+
+#define INetCfgLock_ReleaseWriteLock(This) \
+ ( (This)->lpVtbl -> ReleaseWriteLock(This) )
+
+#define INetCfgLock_IsWriteLocked(This,ppszwClientDescription) \
+ ( (This)->lpVtbl -> IsWriteLocked(This,ppszwClientDescription) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __INetCfgLock_INTERFACE_DEFINED__ */
+
+
+#ifndef __INetCfgBindingInterface_INTERFACE_DEFINED__
+#define __INetCfgBindingInterface_INTERFACE_DEFINED__
+
+/* interface INetCfgBindingInterface */
+/* [unique][uuid][object][local] */
+
+
+EXTERN_C const IID IID_INetCfgBindingInterface;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("C0E8AE94-306E-11D1-AACF-00805FC1270E")
+ INetCfgBindingInterface : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE GetName(
+ /* [annotation][string][out] */
+ __deref_out LPWSTR *ppszwInterfaceName) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetUpperComponent(
+ /* [annotation][out] */
+ __deref_out_opt INetCfgComponent **ppnccItem) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetLowerComponent(
+ /* [annotation][out] */
+ __deref_out_opt INetCfgComponent **ppnccItem) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INetCfgBindingInterfaceVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ INetCfgBindingInterface * This,
+ /* [in] */ REFIID riid,
+ /* [annotation][iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ INetCfgBindingInterface * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ INetCfgBindingInterface * This);
+
+ HRESULT ( STDMETHODCALLTYPE *GetName )(
+ INetCfgBindingInterface * This,
+ /* [annotation][string][out] */
+ __deref_out LPWSTR *ppszwInterfaceName);
+
+ HRESULT ( STDMETHODCALLTYPE *GetUpperComponent )(
+ INetCfgBindingInterface * This,
+ /* [annotation][out] */
+ __deref_out_opt INetCfgComponent **ppnccItem);
+
+ HRESULT ( STDMETHODCALLTYPE *GetLowerComponent )(
+ INetCfgBindingInterface * This,
+ /* [annotation][out] */
+ __deref_out_opt INetCfgComponent **ppnccItem);
+
+ END_INTERFACE
+ } INetCfgBindingInterfaceVtbl;
+
+ interface INetCfgBindingInterface
+ {
+ CONST_VTBL struct INetCfgBindingInterfaceVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INetCfgBindingInterface_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define INetCfgBindingInterface_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define INetCfgBindingInterface_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define INetCfgBindingInterface_GetName(This,ppszwInterfaceName) \
+ ( (This)->lpVtbl -> GetName(This,ppszwInterfaceName) )
+
+#define INetCfgBindingInterface_GetUpperComponent(This,ppnccItem) \
+ ( (This)->lpVtbl -> GetUpperComponent(This,ppnccItem) )
+
+#define INetCfgBindingInterface_GetLowerComponent(This,ppnccItem) \
+ ( (This)->lpVtbl -> GetLowerComponent(This,ppnccItem) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __INetCfgBindingInterface_INTERFACE_DEFINED__ */
+
+
+#ifndef __INetCfgBindingPath_INTERFACE_DEFINED__
+#define __INetCfgBindingPath_INTERFACE_DEFINED__
+
+/* interface INetCfgBindingPath */
+/* [unique][uuid][object][local] */
+
+
+EXTERN_C const IID IID_INetCfgBindingPath;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("C0E8AE96-306E-11D1-AACF-00805FC1270E")
+ INetCfgBindingPath : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE IsSamePathAs(
+ /* [annotation][in] */
+ __in INetCfgBindingPath *pPath) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE IsSubPathOf(
+ /* [annotation][in] */
+ __in INetCfgBindingPath *pPath) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE IsEnabled( void) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Enable(
+ /* [annotation][in] */
+ __in BOOL fEnable) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetPathToken(
+ /* [annotation][string][out] */
+ __deref_out __nullterminated LPWSTR *ppszwPathToken) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetOwner(
+ /* [annotation][out] */
+ __deref_out_opt INetCfgComponent **ppComponent) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetDepth(
+ /* [annotation][out] */
+ __out ULONG *pcInterfaces) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE EnumBindingInterfaces(
+ /* [annotation][out] */
+ __deref_out_opt IEnumNetCfgBindingInterface **ppenumInterface) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INetCfgBindingPathVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ INetCfgBindingPath * This,
+ /* [in] */ REFIID riid,
+ /* [annotation][iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ INetCfgBindingPath * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ INetCfgBindingPath * This);
+
+ HRESULT ( STDMETHODCALLTYPE *IsSamePathAs )(
+ INetCfgBindingPath * This,
+ /* [annotation][in] */
+ __in INetCfgBindingPath *pPath);
+
+ HRESULT ( STDMETHODCALLTYPE *IsSubPathOf )(
+ INetCfgBindingPath * This,
+ /* [annotation][in] */
+ __in INetCfgBindingPath *pPath);
+
+ HRESULT ( STDMETHODCALLTYPE *IsEnabled )(
+ INetCfgBindingPath * This);
+
+ HRESULT ( STDMETHODCALLTYPE *Enable )(
+ INetCfgBindingPath * This,
+ /* [annotation][in] */
+ __in BOOL fEnable);
+
+ HRESULT ( STDMETHODCALLTYPE *GetPathToken )(
+ INetCfgBindingPath * This,
+ /* [annotation][string][out] */
+ __deref_out __nullterminated LPWSTR *ppszwPathToken);
+
+ HRESULT ( STDMETHODCALLTYPE *GetOwner )(
+ INetCfgBindingPath * This,
+ /* [annotation][out] */
+ __deref_out_opt INetCfgComponent **ppComponent);
+
+ HRESULT ( STDMETHODCALLTYPE *GetDepth )(
+ INetCfgBindingPath * This,
+ /* [annotation][out] */
+ __out ULONG *pcInterfaces);
+
+ HRESULT ( STDMETHODCALLTYPE *EnumBindingInterfaces )(
+ INetCfgBindingPath * This,
+ /* [annotation][out] */
+ __deref_out_opt IEnumNetCfgBindingInterface **ppenumInterface);
+
+ END_INTERFACE
+ } INetCfgBindingPathVtbl;
+
+ interface INetCfgBindingPath
+ {
+ CONST_VTBL struct INetCfgBindingPathVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INetCfgBindingPath_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define INetCfgBindingPath_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define INetCfgBindingPath_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define INetCfgBindingPath_IsSamePathAs(This,pPath) \
+ ( (This)->lpVtbl -> IsSamePathAs(This,pPath) )
+
+#define INetCfgBindingPath_IsSubPathOf(This,pPath) \
+ ( (This)->lpVtbl -> IsSubPathOf(This,pPath) )
+
+#define INetCfgBindingPath_IsEnabled(This) \
+ ( (This)->lpVtbl -> IsEnabled(This) )
+
+#define INetCfgBindingPath_Enable(This,fEnable) \
+ ( (This)->lpVtbl -> Enable(This,fEnable) )
+
+#define INetCfgBindingPath_GetPathToken(This,ppszwPathToken) \
+ ( (This)->lpVtbl -> GetPathToken(This,ppszwPathToken) )
+
+#define INetCfgBindingPath_GetOwner(This,ppComponent) \
+ ( (This)->lpVtbl -> GetOwner(This,ppComponent) )
+
+#define INetCfgBindingPath_GetDepth(This,pcInterfaces) \
+ ( (This)->lpVtbl -> GetDepth(This,pcInterfaces) )
+
+#define INetCfgBindingPath_EnumBindingInterfaces(This,ppenumInterface) \
+ ( (This)->lpVtbl -> EnumBindingInterfaces(This,ppenumInterface) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __INetCfgBindingPath_INTERFACE_DEFINED__ */
+
+
+#ifndef __INetCfgClass_INTERFACE_DEFINED__
+#define __INetCfgClass_INTERFACE_DEFINED__
+
+/* interface INetCfgClass */
+/* [unique][uuid][object][local] */
+
+
+EXTERN_C const IID IID_INetCfgClass;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("C0E8AE97-306E-11D1-AACF-00805FC1270E")
+ INetCfgClass : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE FindComponent(
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pszwInfId,
+ /* [annotation][out] */
+ __deref_out_opt INetCfgComponent **ppnccItem) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE EnumComponents(
+ /* [annotation][out] */
+ __deref_out_opt IEnumNetCfgComponent **ppenumComponent) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INetCfgClassVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ INetCfgClass * This,
+ /* [in] */ REFIID riid,
+ /* [annotation][iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ INetCfgClass * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ INetCfgClass * This);
+
+ HRESULT ( STDMETHODCALLTYPE *FindComponent )(
+ INetCfgClass * This,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pszwInfId,
+ /* [annotation][out] */
+ __deref_out_opt INetCfgComponent **ppnccItem);
+
+ HRESULT ( STDMETHODCALLTYPE *EnumComponents )(
+ INetCfgClass * This,
+ /* [annotation][out] */
+ __deref_out_opt IEnumNetCfgComponent **ppenumComponent);
+
+ END_INTERFACE
+ } INetCfgClassVtbl;
+
+ interface INetCfgClass
+ {
+ CONST_VTBL struct INetCfgClassVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INetCfgClass_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define INetCfgClass_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define INetCfgClass_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define INetCfgClass_FindComponent(This,pszwInfId,ppnccItem) \
+ ( (This)->lpVtbl -> FindComponent(This,pszwInfId,ppnccItem) )
+
+#define INetCfgClass_EnumComponents(This,ppenumComponent) \
+ ( (This)->lpVtbl -> EnumComponents(This,ppenumComponent) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __INetCfgClass_INTERFACE_DEFINED__ */
+
+
+#ifndef __INetCfgClassSetup_INTERFACE_DEFINED__
+#define __INetCfgClassSetup_INTERFACE_DEFINED__
+
+/* interface INetCfgClassSetup */
+/* [unique][uuid][object][local] */
+
+typedef
+enum tagOBO_TOKEN_TYPE
+ { OBO_USER = 1,
+ OBO_COMPONENT = 2,
+ OBO_SOFTWARE = 3
+ } OBO_TOKEN_TYPE;
+
+typedef struct tagOBO_TOKEN
+ {
+ OBO_TOKEN_TYPE Type;
+ INetCfgComponent *pncc;
+ LPCWSTR pszwManufacturer;
+ LPCWSTR pszwProduct;
+ LPCWSTR pszwDisplayName;
+ BOOL fRegistered;
+ } OBO_TOKEN;
+
+
+EXTERN_C const IID IID_INetCfgClassSetup;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("C0E8AE9D-306E-11D1-AACF-00805FC1270E")
+ INetCfgClassSetup : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE SelectAndInstall(
+ /* [annotation][in] */
+ __in HWND hwndParent,
+ /* [annotation][in] */
+ __in_opt OBO_TOKEN *pOboToken,
+ /* [annotation][out] */
+ __deref_out_opt INetCfgComponent **ppnccItem) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE Install(
+ /* [annotation][string][in] */
+ __in LPCWSTR pszwInfId,
+ /* [annotation][in] */
+ __in_opt OBO_TOKEN *pOboToken,
+ /* [annotation][in] */
+ __in_opt DWORD dwSetupFlags,
+ /* [annotation][in] */
+ __in_opt DWORD dwUpgradeFromBuildNo,
+ /* [annotation][string][in] */
+ __in_opt LPCWSTR pszwAnswerFile,
+ /* [annotation][string][in] */
+ __in_opt LPCWSTR pszwAnswerSections,
+ /* [annotation][out] */
+ __deref_out_opt INetCfgComponent **ppnccItem) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE DeInstall(
+ /* [annotation][in] */
+ __in INetCfgComponent *pComponent,
+ /* [annotation][in] */
+ __in_opt OBO_TOKEN *pOboToken,
+ /* [annotation][out] */
+ __deref_out_opt LPWSTR *pmszwRefs) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INetCfgClassSetupVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ INetCfgClassSetup * This,
+ /* [in] */ REFIID riid,
+ /* [annotation][iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ INetCfgClassSetup * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ INetCfgClassSetup * This);
+
+ HRESULT ( STDMETHODCALLTYPE *SelectAndInstall )(
+ INetCfgClassSetup * This,
+ /* [annotation][in] */
+ __in HWND hwndParent,
+ /* [annotation][in] */
+ __in_opt OBO_TOKEN *pOboToken,
+ /* [annotation][out] */
+ __deref_out_opt INetCfgComponent **ppnccItem);
+
+ HRESULT ( STDMETHODCALLTYPE *Install )(
+ INetCfgClassSetup * This,
+ /* [annotation][string][in] */
+ __in LPCWSTR pszwInfId,
+ /* [annotation][in] */
+ __in_opt OBO_TOKEN *pOboToken,
+ /* [annotation][in] */
+ __in_opt DWORD dwSetupFlags,
+ /* [annotation][in] */
+ __in_opt DWORD dwUpgradeFromBuildNo,
+ /* [annotation][string][in] */
+ __in_opt LPCWSTR pszwAnswerFile,
+ /* [annotation][string][in] */
+ __in_opt LPCWSTR pszwAnswerSections,
+ /* [annotation][out] */
+ __deref_out_opt INetCfgComponent **ppnccItem);
+
+ HRESULT ( STDMETHODCALLTYPE *DeInstall )(
+ INetCfgClassSetup * This,
+ /* [annotation][in] */
+ __in INetCfgComponent *pComponent,
+ /* [annotation][in] */
+ __in_opt OBO_TOKEN *pOboToken,
+ /* [annotation][out] */
+ __deref_out_opt LPWSTR *pmszwRefs);
+
+ END_INTERFACE
+ } INetCfgClassSetupVtbl;
+
+ interface INetCfgClassSetup
+ {
+ CONST_VTBL struct INetCfgClassSetupVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INetCfgClassSetup_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define INetCfgClassSetup_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define INetCfgClassSetup_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define INetCfgClassSetup_SelectAndInstall(This,hwndParent,pOboToken,ppnccItem) \
+ ( (This)->lpVtbl -> SelectAndInstall(This,hwndParent,pOboToken,ppnccItem) )
+
+#define INetCfgClassSetup_Install(This,pszwInfId,pOboToken,dwSetupFlags,dwUpgradeFromBuildNo,pszwAnswerFile,pszwAnswerSections,ppnccItem) \
+ ( (This)->lpVtbl -> Install(This,pszwInfId,pOboToken,dwSetupFlags,dwUpgradeFromBuildNo,pszwAnswerFile,pszwAnswerSections,ppnccItem) )
+
+#define INetCfgClassSetup_DeInstall(This,pComponent,pOboToken,pmszwRefs) \
+ ( (This)->lpVtbl -> DeInstall(This,pComponent,pOboToken,pmszwRefs) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __INetCfgClassSetup_INTERFACE_DEFINED__ */
+
+
+#ifndef __INetCfgComponent_INTERFACE_DEFINED__
+#define __INetCfgComponent_INTERFACE_DEFINED__
+
+/* interface INetCfgComponent */
+/* [unique][uuid][object][local] */
+
+typedef
+enum tagCOMPONENT_CHARACTERISTICS
+ { NCF_VIRTUAL = 0x1,
+ NCF_SOFTWARE_ENUMERATED = 0x2,
+ NCF_PHYSICAL = 0x4,
+ NCF_HIDDEN = 0x8,
+ NCF_NO_SERVICE = 0x10,
+ NCF_NOT_USER_REMOVABLE = 0x20,
+ NCF_MULTIPORT_INSTANCED_ADAPTER = 0x40,
+ NCF_HAS_UI = 0x80,
+ NCF_SINGLE_INSTANCE = 0x100,
+ NCF_FILTER = 0x400,
+ NCF_DONTEXPOSELOWER = 0x1000,
+ NCF_HIDE_BINDING = 0x2000,
+ NCF_NDIS_PROTOCOL = 0x4000,
+ NCF_FIXED_BINDING = 0x20000,
+ NCF_LW_FILTER = 0x40000
+ } COMPONENT_CHARACTERISTICS;
+
+typedef
+enum tagNCRP_FLAGS
+ { NCRP_QUERY_PROPERTY_UI = 0x1,
+ NCRP_SHOW_PROPERTY_UI = 0x2
+ } NCRP_FLAGS;
+
+
+EXTERN_C const IID IID_INetCfgComponent;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("C0E8AE99-306E-11D1-AACF-00805FC1270E")
+ INetCfgComponent : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE GetDisplayName(
+ /* [annotation][string][out] */
+ __deref_out_opt LPWSTR *ppszwDisplayName) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE SetDisplayName(
+ /* [annotation][string][in] */
+ __in LPCWSTR pszwDisplayName) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetHelpText(
+ /* [annotation][string][out] */
+ __deref_out_opt LPWSTR *pszwHelpText) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetId(
+ /* [annotation][string][out] */
+ __deref_out_opt LPWSTR *ppszwId) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetCharacteristics(
+ /* [annotation][out] */
+ __out LPDWORD pdwCharacteristics) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetInstanceGuid(
+ /* [annotation][out] */
+ __out_opt GUID *pGuid) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetPnpDevNodeId(
+ /* [annotation][string][out] */
+ __deref_out_opt LPWSTR *ppszwDevNodeId) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetClassGuid(
+ /* [annotation][out] */
+ __out_opt GUID *pGuid) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetBindName(
+ /* [annotation][string][out] */
+ __deref_out_opt LPWSTR *ppszwBindName) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE GetDeviceStatus(
+ /* [annotation][out] */
+ __out ULONG *pulStatus) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE OpenParamKey(
+ /* [annotation][out] */
+ __deref_out_opt HKEY *phkey) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE RaisePropertyUi(
+ /* [annotation][in] */
+ __in_opt HWND hwndParent,
+ /* [annotation][in] */
+ __in DWORD dwFlags,
+ /* [annotation][in] */
+ __in_opt IUnknown *punkContext) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INetCfgComponentVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ INetCfgComponent * This,
+ /* [in] */ REFIID riid,
+ /* [annotation][iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ INetCfgComponent * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ INetCfgComponent * This);
+
+ HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
+ INetCfgComponent * This,
+ /* [annotation][string][out] */
+ __deref_out_opt LPWSTR *ppszwDisplayName);
+
+ HRESULT ( STDMETHODCALLTYPE *SetDisplayName )(
+ INetCfgComponent * This,
+ /* [annotation][string][in] */
+ __in LPCWSTR pszwDisplayName);
+
+ HRESULT ( STDMETHODCALLTYPE *GetHelpText )(
+ INetCfgComponent * This,
+ /* [annotation][string][out] */
+ __deref_out_opt LPWSTR *pszwHelpText);
+
+ HRESULT ( STDMETHODCALLTYPE *GetId )(
+ INetCfgComponent * This,
+ /* [annotation][string][out] */
+ __deref_out_opt LPWSTR *ppszwId);
+
+ HRESULT ( STDMETHODCALLTYPE *GetCharacteristics )(
+ INetCfgComponent * This,
+ /* [annotation][out] */
+ __out LPDWORD pdwCharacteristics);
+
+ HRESULT ( STDMETHODCALLTYPE *GetInstanceGuid )(
+ INetCfgComponent * This,
+ /* [annotation][out] */
+ __out_opt GUID *pGuid);
+
+ HRESULT ( STDMETHODCALLTYPE *GetPnpDevNodeId )(
+ INetCfgComponent * This,
+ /* [annotation][string][out] */
+ __deref_out_opt LPWSTR *ppszwDevNodeId);
+
+ HRESULT ( STDMETHODCALLTYPE *GetClassGuid )(
+ INetCfgComponent * This,
+ /* [annotation][out] */
+ __out_opt GUID *pGuid);
+
+ HRESULT ( STDMETHODCALLTYPE *GetBindName )(
+ INetCfgComponent * This,
+ /* [annotation][string][out] */
+ __deref_out_opt LPWSTR *ppszwBindName);
+
+ HRESULT ( STDMETHODCALLTYPE *GetDeviceStatus )(
+ INetCfgComponent * This,
+ /* [annotation][out] */
+ __out ULONG *pulStatus);
+
+ HRESULT ( STDMETHODCALLTYPE *OpenParamKey )(
+ INetCfgComponent * This,
+ /* [annotation][out] */
+ __deref_out_opt HKEY *phkey);
+
+ HRESULT ( STDMETHODCALLTYPE *RaisePropertyUi )(
+ INetCfgComponent * This,
+ /* [annotation][in] */
+ __in_opt HWND hwndParent,
+ /* [annotation][in] */
+ __in DWORD dwFlags,
+ /* [annotation][in] */
+ __in_opt IUnknown *punkContext);
+
+ END_INTERFACE
+ } INetCfgComponentVtbl;
+
+ interface INetCfgComponent
+ {
+ CONST_VTBL struct INetCfgComponentVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INetCfgComponent_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define INetCfgComponent_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define INetCfgComponent_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define INetCfgComponent_GetDisplayName(This,ppszwDisplayName) \
+ ( (This)->lpVtbl -> GetDisplayName(This,ppszwDisplayName) )
+
+#define INetCfgComponent_SetDisplayName(This,pszwDisplayName) \
+ ( (This)->lpVtbl -> SetDisplayName(This,pszwDisplayName) )
+
+#define INetCfgComponent_GetHelpText(This,pszwHelpText) \
+ ( (This)->lpVtbl -> GetHelpText(This,pszwHelpText) )
+
+#define INetCfgComponent_GetId(This,ppszwId) \
+ ( (This)->lpVtbl -> GetId(This,ppszwId) )
+
+#define INetCfgComponent_GetCharacteristics(This,pdwCharacteristics) \
+ ( (This)->lpVtbl -> GetCharacteristics(This,pdwCharacteristics) )
+
+#define INetCfgComponent_GetInstanceGuid(This,pGuid) \
+ ( (This)->lpVtbl -> GetInstanceGuid(This,pGuid) )
+
+#define INetCfgComponent_GetPnpDevNodeId(This,ppszwDevNodeId) \
+ ( (This)->lpVtbl -> GetPnpDevNodeId(This,ppszwDevNodeId) )
+
+#define INetCfgComponent_GetClassGuid(This,pGuid) \
+ ( (This)->lpVtbl -> GetClassGuid(This,pGuid) )
+
+#define INetCfgComponent_GetBindName(This,ppszwBindName) \
+ ( (This)->lpVtbl -> GetBindName(This,ppszwBindName) )
+
+#define INetCfgComponent_GetDeviceStatus(This,pulStatus) \
+ ( (This)->lpVtbl -> GetDeviceStatus(This,pulStatus) )
+
+#define INetCfgComponent_OpenParamKey(This,phkey) \
+ ( (This)->lpVtbl -> OpenParamKey(This,phkey) )
+
+#define INetCfgComponent_RaisePropertyUi(This,hwndParent,dwFlags,punkContext) \
+ ( (This)->lpVtbl -> RaisePropertyUi(This,hwndParent,dwFlags,punkContext) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __INetCfgComponent_INTERFACE_DEFINED__ */
+
+
+#ifndef __INetCfgComponentBindings_INTERFACE_DEFINED__
+#define __INetCfgComponentBindings_INTERFACE_DEFINED__
+
+/* interface INetCfgComponentBindings */
+/* [unique][uuid][object][local] */
+
+typedef
+enum tagSUPPORTS_BINDING_INTERFACE_FLAGS
+ { NCF_LOWER = 0x1,
+ NCF_UPPER = 0x2
+ } SUPPORTS_BINDING_INTERFACE_FLAGS;
+
+typedef
+enum tagENUM_BINDING_PATHS_FLAGS
+ { EBP_ABOVE = 0x1,
+ EBP_BELOW = 0x2
+ } ENUM_BINDING_PATHS_FLAGS;
+
+
+EXTERN_C const IID IID_INetCfgComponentBindings;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("C0E8AE9E-306E-11D1-AACF-00805FC1270E")
+ INetCfgComponentBindings : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE BindTo(
+ /* [annotation][in] */
+ __in INetCfgComponent *pnccItem) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE UnbindFrom(
+ /* [annotation][in] */
+ __in INetCfgComponent *pnccItem) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE SupportsBindingInterface(
+ /* [annotation][in] */
+ __in DWORD dwFlags,
+ /* [annotation][in] */
+ __in __nullterminated LPCWSTR pszwInterfaceName) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE IsBoundTo(
+ /* [annotation][in] */
+ __in INetCfgComponent *pnccItem) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE IsBindableTo(
+ /* [annotation][in] */
+ __in INetCfgComponent *pnccItem) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE EnumBindingPaths(
+ /* [annotation][in] */
+ __in DWORD dwFlags,
+ /* [annotation][out] */
+ __deref_out_opt IEnumNetCfgBindingPath **ppIEnum) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE MoveBefore(
+ /* [annotation][in] */
+ __in INetCfgBindingPath *pncbItemSrc,
+ /* [annotation][in] */
+ __in INetCfgBindingPath *pncbItemDest) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE MoveAfter(
+ /* [annotation][in] */
+ __in INetCfgBindingPath *pncbItemSrc,
+ /* [annotation][in] */
+ __in INetCfgBindingPath *pncbItemDest) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INetCfgComponentBindingsVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ INetCfgComponentBindings * This,
+ /* [in] */ REFIID riid,
+ /* [annotation][iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ INetCfgComponentBindings * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ INetCfgComponentBindings * This);
+
+ HRESULT ( STDMETHODCALLTYPE *BindTo )(
+ INetCfgComponentBindings * This,
+ /* [annotation][in] */
+ __in INetCfgComponent *pnccItem);
+
+ HRESULT ( STDMETHODCALLTYPE *UnbindFrom )(
+ INetCfgComponentBindings * This,
+ /* [annotation][in] */
+ __in INetCfgComponent *pnccItem);
+
+ HRESULT ( STDMETHODCALLTYPE *SupportsBindingInterface )(
+ INetCfgComponentBindings * This,
+ /* [annotation][in] */
+ __in DWORD dwFlags,
+ /* [annotation][in] */
+ __in __nullterminated LPCWSTR pszwInterfaceName);
+
+ HRESULT ( STDMETHODCALLTYPE *IsBoundTo )(
+ INetCfgComponentBindings * This,
+ /* [annotation][in] */
+ __in INetCfgComponent *pnccItem);
+
+ HRESULT ( STDMETHODCALLTYPE *IsBindableTo )(
+ INetCfgComponentBindings * This,
+ /* [annotation][in] */
+ __in INetCfgComponent *pnccItem);
+
+ HRESULT ( STDMETHODCALLTYPE *EnumBindingPaths )(
+ INetCfgComponentBindings * This,
+ /* [annotation][in] */
+ __in DWORD dwFlags,
+ /* [annotation][out] */
+ __deref_out_opt IEnumNetCfgBindingPath **ppIEnum);
+
+ HRESULT ( STDMETHODCALLTYPE *MoveBefore )(
+ INetCfgComponentBindings * This,
+ /* [annotation][in] */
+ __in INetCfgBindingPath *pncbItemSrc,
+ /* [annotation][in] */
+ __in INetCfgBindingPath *pncbItemDest);
+
+ HRESULT ( STDMETHODCALLTYPE *MoveAfter )(
+ INetCfgComponentBindings * This,
+ /* [annotation][in] */
+ __in INetCfgBindingPath *pncbItemSrc,
+ /* [annotation][in] */
+ __in INetCfgBindingPath *pncbItemDest);
+
+ END_INTERFACE
+ } INetCfgComponentBindingsVtbl;
+
+ interface INetCfgComponentBindings
+ {
+ CONST_VTBL struct INetCfgComponentBindingsVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INetCfgComponentBindings_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define INetCfgComponentBindings_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define INetCfgComponentBindings_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define INetCfgComponentBindings_BindTo(This,pnccItem) \
+ ( (This)->lpVtbl -> BindTo(This,pnccItem) )
+
+#define INetCfgComponentBindings_UnbindFrom(This,pnccItem) \
+ ( (This)->lpVtbl -> UnbindFrom(This,pnccItem) )
+
+#define INetCfgComponentBindings_SupportsBindingInterface(This,dwFlags,pszwInterfaceName) \
+ ( (This)->lpVtbl -> SupportsBindingInterface(This,dwFlags,pszwInterfaceName) )
+
+#define INetCfgComponentBindings_IsBoundTo(This,pnccItem) \
+ ( (This)->lpVtbl -> IsBoundTo(This,pnccItem) )
+
+#define INetCfgComponentBindings_IsBindableTo(This,pnccItem) \
+ ( (This)->lpVtbl -> IsBindableTo(This,pnccItem) )
+
+#define INetCfgComponentBindings_EnumBindingPaths(This,dwFlags,ppIEnum) \
+ ( (This)->lpVtbl -> EnumBindingPaths(This,dwFlags,ppIEnum) )
+
+#define INetCfgComponentBindings_MoveBefore(This,pncbItemSrc,pncbItemDest) \
+ ( (This)->lpVtbl -> MoveBefore(This,pncbItemSrc,pncbItemDest) )
+
+#define INetCfgComponentBindings_MoveAfter(This,pncbItemSrc,pncbItemDest) \
+ ( (This)->lpVtbl -> MoveAfter(This,pncbItemSrc,pncbItemDest) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __INetCfgComponentBindings_INTERFACE_DEFINED__ */
+
+
+#ifndef __INetCfgSysPrep_INTERFACE_DEFINED__
+#define __INetCfgSysPrep_INTERFACE_DEFINED__
+
+/* interface INetCfgSysPrep */
+/* [unique][uuid][object][local] */
+
+
+EXTERN_C const IID IID_INetCfgSysPrep;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("C0E8AE98-306E-11D1-AACF-00805FC1270E")
+ INetCfgSysPrep : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE HrSetupSetFirstDword(
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszSection,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszKey,
+ /* [in] */ DWORD dwValue) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE HrSetupSetFirstString(
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszSection,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszKey,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszValue) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE HrSetupSetFirstStringAsBool(
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszSection,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszKey,
+ /* [in] */ BOOL fValue) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE HrSetupSetFirstMultiSzField(
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszSection,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszKey,
+ /* [annotation][in] */
+ __in __nullterminated LPCWSTR pmszValue) = 0;
+
+ };
+
+#else /* C style interface */
+
+ typedef struct INetCfgSysPrepVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ INetCfgSysPrep * This,
+ /* [in] */ REFIID riid,
+ /* [annotation][iid_is][out] */
+ __RPC__deref_out void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ INetCfgSysPrep * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ INetCfgSysPrep * This);
+
+ HRESULT ( STDMETHODCALLTYPE *HrSetupSetFirstDword )(
+ INetCfgSysPrep * This,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszSection,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszKey,
+ /* [in] */ DWORD dwValue);
+
+ HRESULT ( STDMETHODCALLTYPE *HrSetupSetFirstString )(
+ INetCfgSysPrep * This,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszSection,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszKey,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszValue);
+
+ HRESULT ( STDMETHODCALLTYPE *HrSetupSetFirstStringAsBool )(
+ INetCfgSysPrep * This,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszSection,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszKey,
+ /* [in] */ BOOL fValue);
+
+ HRESULT ( STDMETHODCALLTYPE *HrSetupSetFirstMultiSzField )(
+ INetCfgSysPrep * This,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszSection,
+ /* [annotation][string][in] */
+ __in __nullterminated LPCWSTR pwszKey,
+ /* [annotation][in] */
+ __in __nullterminated LPCWSTR pmszValue);
+
+ END_INTERFACE
+ } INetCfgSysPrepVtbl;
+
+ interface INetCfgSysPrep
+ {
+ CONST_VTBL struct INetCfgSysPrepVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define INetCfgSysPrep_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define INetCfgSysPrep_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define INetCfgSysPrep_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define INetCfgSysPrep_HrSetupSetFirstDword(This,pwszSection,pwszKey,dwValue) \
+ ( (This)->lpVtbl -> HrSetupSetFirstDword(This,pwszSection,pwszKey,dwValue) )
+
+#define INetCfgSysPrep_HrSetupSetFirstString(This,pwszSection,pwszKey,pwszValue) \
+ ( (This)->lpVtbl -> HrSetupSetFirstString(This,pwszSection,pwszKey,pwszValue) )
+
+#define INetCfgSysPrep_HrSetupSetFirstStringAsBool(This,pwszSection,pwszKey,fValue) \
+ ( (This)->lpVtbl -> HrSetupSetFirstStringAsBool(This,pwszSection,pwszKey,fValue) )
+
+#define INetCfgSysPrep_HrSetupSetFirstMultiSzField(This,pwszSection,pwszKey,pmszValue) \
+ ( (This)->lpVtbl -> HrSetupSetFirstMultiSzField(This,pwszSection,pwszKey,pmszValue) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __INetCfgSysPrep_INTERFACE_DEFINED__ */
+
+
+/* Additional Prototypes for ALL interfaces */
+
+/* end of Additional Prototypes */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+
+
+