📄 netcfgx.h
字号:
#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 netcfgx.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 __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
void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * );
/* interface __MIDL_itf_netcfgx_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_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_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_netcfgx_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(
/* [in] */ ULONG celt,
/* [length_is][size_is][out] */ INetCfgBindingInterface **rgelt,
/* [out] */ ULONG *pceltFetched) = 0;
virtual HRESULT STDMETHODCALLTYPE Skip(
/* [in] */ ULONG celt) = 0;
virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
virtual HRESULT STDMETHODCALLTYPE Clone(
/* [out] */ IEnumNetCfgBindingInterface **ppenum) = 0;
};
#else /* C style interface */
typedef struct IEnumNetCfgBindingInterfaceVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IEnumNetCfgBindingInterface * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IEnumNetCfgBindingInterface * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IEnumNetCfgBindingInterface * This);
HRESULT ( STDMETHODCALLTYPE *Next )(
IEnumNetCfgBindingInterface * This,
/* [in] */ ULONG celt,
/* [length_is][size_is][out] */ INetCfgBindingInterface **rgelt,
/* [out] */ ULONG *pceltFetched);
HRESULT ( STDMETHODCALLTYPE *Skip )(
IEnumNetCfgBindingInterface * This,
/* [in] */ ULONG celt);
HRESULT ( STDMETHODCALLTYPE *Reset )(
IEnumNetCfgBindingInterface * This);
HRESULT ( STDMETHODCALLTYPE *Clone )(
IEnumNetCfgBindingInterface * This,
/* [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 */
HRESULT STDMETHODCALLTYPE IEnumNetCfgBindingInterface_Next_Proxy(
IEnumNetCfgBindingInterface * This,
/* [in] */ ULONG celt,
/* [length_is][size_is][out] */ INetCfgBindingInterface **rgelt,
/* [out] */ ULONG *pceltFetched);
void __RPC_STUB IEnumNetCfgBindingInterface_Next_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IEnumNetCfgBindingInterface_Skip_Proxy(
IEnumNetCfgBindingInterface * This,
/* [in] */ ULONG celt);
void __RPC_STUB IEnumNetCfgBindingInterface_Skip_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IEnumNetCfgBindingInterface_Reset_Proxy(
IEnumNetCfgBindingInterface * This);
void __RPC_STUB IEnumNetCfgBindingInterface_Reset_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IEnumNetCfgBindingInterface_Clone_Proxy(
IEnumNetCfgBindingInterface * This,
/* [out] */ IEnumNetCfgBindingInterface **ppenum);
void __RPC_STUB IEnumNetCfgBindingInterface_Clone_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#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(
/* [in] */ ULONG celt,
/* [length_is][size_is][out] */ INetCfgBindingPath **rgelt,
/* [out] */ ULONG *pceltFetched) = 0;
virtual HRESULT STDMETHODCALLTYPE Skip(
/* [in] */ ULONG celt) = 0;
virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
virtual HRESULT STDMETHODCALLTYPE Clone(
/* [out] */ IEnumNetCfgBindingPath **ppenum) = 0;
};
#else /* C style interface */
typedef struct IEnumNetCfgBindingPathVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IEnumNetCfgBindingPath * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IEnumNetCfgBindingPath * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IEnumNetCfgBindingPath * This);
HRESULT ( STDMETHODCALLTYPE *Next )(
IEnumNetCfgBindingPath * This,
/* [in] */ ULONG celt,
/* [length_is][size_is][out] */ INetCfgBindingPath **rgelt,
/* [out] */ ULONG *pceltFetched);
HRESULT ( STDMETHODCALLTYPE *Skip )(
IEnumNetCfgBindingPath * This,
/* [in] */ ULONG celt);
HRESULT ( STDMETHODCALLTYPE *Reset )(
IEnumNetCfgBindingPath * This);
HRESULT ( STDMETHODCALLTYPE *Clone )(
IEnumNetCfgBindingPath * This,
/* [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)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -