📄 netcfgn.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.0357 */
/* Compiler settings for netcfgn.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 __netcfgn_h__
#define __netcfgn_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __INetCfgPnpReconfigCallback_FWD_DEFINED__
#define __INetCfgPnpReconfigCallback_FWD_DEFINED__
typedef interface INetCfgPnpReconfigCallback INetCfgPnpReconfigCallback;
#endif /* __INetCfgPnpReconfigCallback_FWD_DEFINED__ */
#ifndef __INetCfgComponentControl_FWD_DEFINED__
#define __INetCfgComponentControl_FWD_DEFINED__
typedef interface INetCfgComponentControl INetCfgComponentControl;
#endif /* __INetCfgComponentControl_FWD_DEFINED__ */
#ifndef __INetCfgComponentSetup_FWD_DEFINED__
#define __INetCfgComponentSetup_FWD_DEFINED__
typedef interface INetCfgComponentSetup INetCfgComponentSetup;
#endif /* __INetCfgComponentSetup_FWD_DEFINED__ */
#ifndef __INetCfgComponentPropertyUi_FWD_DEFINED__
#define __INetCfgComponentPropertyUi_FWD_DEFINED__
typedef interface INetCfgComponentPropertyUi INetCfgComponentPropertyUi;
#endif /* __INetCfgComponentPropertyUi_FWD_DEFINED__ */
#ifndef __INetCfgComponentNotifyBinding_FWD_DEFINED__
#define __INetCfgComponentNotifyBinding_FWD_DEFINED__
typedef interface INetCfgComponentNotifyBinding INetCfgComponentNotifyBinding;
#endif /* __INetCfgComponentNotifyBinding_FWD_DEFINED__ */
#ifndef __INetCfgComponentNotifyGlobal_FWD_DEFINED__
#define __INetCfgComponentNotifyGlobal_FWD_DEFINED__
typedef interface INetCfgComponentNotifyGlobal INetCfgComponentNotifyGlobal;
#endif /* __INetCfgComponentNotifyGlobal_FWD_DEFINED__ */
#ifndef __INetCfgComponentUpperEdge_FWD_DEFINED__
#define __INetCfgComponentUpperEdge_FWD_DEFINED__
typedef interface INetCfgComponentUpperEdge INetCfgComponentUpperEdge;
#endif /* __INetCfgComponentUpperEdge_FWD_DEFINED__ */
#ifndef __INetLanConnectionUiInfo_FWD_DEFINED__
#define __INetLanConnectionUiInfo_FWD_DEFINED__
typedef interface INetLanConnectionUiInfo INetLanConnectionUiInfo;
#endif /* __INetLanConnectionUiInfo_FWD_DEFINED__ */
#ifndef __INetCfgComponentSysPrep_FWD_DEFINED__
#define __INetCfgComponentSysPrep_FWD_DEFINED__
typedef interface INetCfgComponentSysPrep INetCfgComponentSysPrep;
#endif /* __INetCfgComponentSysPrep_FWD_DEFINED__ */
/* header files for imported files */
#include "unknwn.h"
#include "netcfgx.h"
#ifdef __cplusplus
extern "C"{
#endif
void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * );
/* interface __MIDL_itf_netcfgn_0000 */
/* [local] */
//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//--------------------------------------------------------------------------
#if ( _MSC_VER >= 800 )
#pragma warning(disable:4201)
#endif
extern RPC_IF_HANDLE __MIDL_itf_netcfgn_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_netcfgn_0000_v0_0_s_ifspec;
#ifndef __INetCfgPnpReconfigCallback_INTERFACE_DEFINED__
#define __INetCfgPnpReconfigCallback_INTERFACE_DEFINED__
/* interface INetCfgPnpReconfigCallback */
/* [unique][uuid][object][local] */
typedef /* [v1_enum] */
enum tagNCPNP_RECONFIG_LAYER
{ NCRL_NDIS = 1,
NCRL_TDI = 2
} NCPNP_RECONFIG_LAYER;
EXTERN_C const IID IID_INetCfgPnpReconfigCallback;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("8d84bd35-e227-11d2-b700-00a0c98a6a85")
INetCfgPnpReconfigCallback : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE SendPnpReconfig(
/* [in] */ NCPNP_RECONFIG_LAYER Layer,
/* [in] */ LPCWSTR pszwUpper,
/* [in] */ LPCWSTR pszwLower,
/* [in] */ PVOID pvData,
/* [in] */ DWORD dwSizeOfData) = 0;
};
#else /* C style interface */
typedef struct INetCfgPnpReconfigCallbackVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
INetCfgPnpReconfigCallback * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
INetCfgPnpReconfigCallback * This);
ULONG ( STDMETHODCALLTYPE *Release )(
INetCfgPnpReconfigCallback * This);
HRESULT ( STDMETHODCALLTYPE *SendPnpReconfig )(
INetCfgPnpReconfigCallback * This,
/* [in] */ NCPNP_RECONFIG_LAYER Layer,
/* [in] */ LPCWSTR pszwUpper,
/* [in] */ LPCWSTR pszwLower,
/* [in] */ PVOID pvData,
/* [in] */ DWORD dwSizeOfData);
END_INTERFACE
} INetCfgPnpReconfigCallbackVtbl;
interface INetCfgPnpReconfigCallback
{
CONST_VTBL struct INetCfgPnpReconfigCallbackVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define INetCfgPnpReconfigCallback_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define INetCfgPnpReconfigCallback_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define INetCfgPnpReconfigCallback_Release(This) \
(This)->lpVtbl -> Release(This)
#define INetCfgPnpReconfigCallback_SendPnpReconfig(This,Layer,pszwUpper,pszwLower,pvData,dwSizeOfData) \
(This)->lpVtbl -> SendPnpReconfig(This,Layer,pszwUpper,pszwLower,pvData,dwSizeOfData)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE INetCfgPnpReconfigCallback_SendPnpReconfig_Proxy(
INetCfgPnpReconfigCallback * This,
/* [in] */ NCPNP_RECONFIG_LAYER Layer,
/* [in] */ LPCWSTR pszwUpper,
/* [in] */ LPCWSTR pszwLower,
/* [in] */ PVOID pvData,
/* [in] */ DWORD dwSizeOfData);
void __RPC_STUB INetCfgPnpReconfigCallback_SendPnpReconfig_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __INetCfgPnpReconfigCallback_INTERFACE_DEFINED__ */
#ifndef __INetCfgComponentControl_INTERFACE_DEFINED__
#define __INetCfgComponentControl_INTERFACE_DEFINED__
/* interface INetCfgComponentControl */
/* [unique][uuid][object][local] */
EXTERN_C const IID IID_INetCfgComponentControl;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("932238df-bea1-11d0-9298-00c04fc99dcf")
INetCfgComponentControl : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE Initialize(
/* [in] */ INetCfgComponent *pIComp,
/* [in] */ INetCfg *pINetCfg,
/* [in] */ BOOL fInstalling) = 0;
virtual HRESULT STDMETHODCALLTYPE ApplyRegistryChanges( void) = 0;
virtual HRESULT STDMETHODCALLTYPE ApplyPnpChanges(
/* [in] */ INetCfgPnpReconfigCallback *pICallback) = 0;
virtual HRESULT STDMETHODCALLTYPE CancelChanges( void) = 0;
};
#else /* C style interface */
typedef struct INetCfgComponentControlVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
INetCfgComponentControl * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
INetCfgComponentControl * This);
ULONG ( STDMETHODCALLTYPE *Release )(
INetCfgComponentControl * This);
HRESULT ( STDMETHODCALLTYPE *Initialize )(
INetCfgComponentControl * This,
/* [in] */ INetCfgComponent *pIComp,
/* [in] */ INetCfg *pINetCfg,
/* [in] */ BOOL fInstalling);
HRESULT ( STDMETHODCALLTYPE *ApplyRegistryChanges )(
INetCfgComponentControl * This);
HRESULT ( STDMETHODCALLTYPE *ApplyPnpChanges )(
INetCfgComponentControl * This,
/* [in] */ INetCfgPnpReconfigCallback *pICallback);
HRESULT ( STDMETHODCALLTYPE *CancelChanges )(
INetCfgComponentControl * This);
END_INTERFACE
} INetCfgComponentControlVtbl;
interface INetCfgComponentControl
{
CONST_VTBL struct INetCfgComponentControlVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define INetCfgComponentControl_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define INetCfgComponentControl_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define INetCfgComponentControl_Release(This) \
(This)->lpVtbl -> Release(This)
#define INetCfgComponentControl_Initialize(This,pIComp,pINetCfg,fInstalling) \
(This)->lpVtbl -> Initialize(This,pIComp,pINetCfg,fInstalling)
#define INetCfgComponentControl_ApplyRegistryChanges(This) \
(This)->lpVtbl -> ApplyRegistryChanges(This)
#define INetCfgComponentControl_ApplyPnpChanges(This,pICallback) \
(This)->lpVtbl -> ApplyPnpChanges(This,pICallback)
#define INetCfgComponentControl_CancelChanges(This) \
(This)->lpVtbl -> CancelChanges(This)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE INetCfgComponentControl_Initialize_Proxy(
INetCfgComponentControl * This,
/* [in] */ INetCfgComponent *pIComp,
/* [in] */ INetCfg *pINetCfg,
/* [in] */ BOOL fInstalling);
void __RPC_STUB INetCfgComponentControl_Initialize_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgComponentControl_ApplyRegistryChanges_Proxy(
INetCfgComponentControl * This);
void __RPC_STUB INetCfgComponentControl_ApplyRegistryChanges_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgComponentControl_ApplyPnpChanges_Proxy(
INetCfgComponentControl * This,
/* [in] */ INetCfgPnpReconfigCallback *pICallback);
void __RPC_STUB INetCfgComponentControl_ApplyPnpChanges_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgComponentControl_CancelChanges_Proxy(
INetCfgComponentControl * This);
void __RPC_STUB INetCfgComponentControl_CancelChanges_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __INetCfgComponentControl_INTERFACE_DEFINED__ */
#ifndef __INetCfgComponentSetup_INTERFACE_DEFINED__
#define __INetCfgComponentSetup_INTERFACE_DEFINED__
/* interface INetCfgComponentSetup */
/* [unique][uuid][object][local] */
typedef /* [v1_enum] */
enum tagNETWORK_INSTALL_TIME
{ NSF_PRIMARYINSTALL = 0x1,
NSF_POSTSYSINSTALL = 0x2
} NETWORK_INSTALL_TIME;
typedef /* [v1_enum] */
enum tagNETWORK_UPGRADE_TYPE
{ NSF_WIN16_UPGRADE = 0x10,
NSF_WIN95_UPGRADE = 0x20,
NSF_WINNT_WKS_UPGRADE = 0x40,
NSF_WINNT_SVR_UPGRADE = 0x80,
NSF_WINNT_SBS_UPGRADE = 0x100,
NSF_COMPONENT_UPDATE = 0x200
} NETWORK_UPGRADE_TYPE;
EXTERN_C const IID IID_INetCfgComponentSetup;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("932238e3-bea1-11d0-9298-00c04fc99dcf")
INetCfgComponentSetup : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE Install(
/* [in] */ DWORD dwSetupFlags) = 0;
virtual HRESULT STDMETHODCALLTYPE Upgrade(
/* [in] */ DWORD dwSetupFlags,
/* [in] */ DWORD dwUpgradeFomBuildNo) = 0;
virtual HRESULT STDMETHODCALLTYPE ReadAnswerFile(
/* [in] */ LPCWSTR pszwAnswerFile,
/* [in] */ LPCWSTR pszwAnswerSections) = 0;
virtual HRESULT STDMETHODCALLTYPE Removing( void) = 0;
};
#else /* C style interface */
typedef struct INetCfgComponentSetupVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
INetCfgComponentSetup * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
INetCfgComponentSetup * This);
ULONG ( STDMETHODCALLTYPE *Release )(
INetCfgComponentSetup * This);
HRESULT ( STDMETHODCALLTYPE *Install )(
INetCfgComponentSetup * This,
/* [in] */ DWORD dwSetupFlags);
HRESULT ( STDMETHODCALLTYPE *Upgrade )(
INetCfgComponentSetup * This,
/* [in] */ DWORD dwSetupFlags,
/* [in] */ DWORD dwUpgradeFomBuildNo);
HRESULT ( STDMETHODCALLTYPE *ReadAnswerFile )(
INetCfgComponentSetup * This,
/* [in] */ LPCWSTR pszwAnswerFile,
/* [in] */ LPCWSTR pszwAnswerSections);
HRESULT ( STDMETHODCALLTYPE *Removing )(
INetCfgComponentSetup * This);
END_INTERFACE
} INetCfgComponentSetupVtbl;
interface INetCfgComponentSetup
{
CONST_VTBL struct INetCfgComponentSetupVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define INetCfgComponentSetup_QueryInterface(This,riid,ppvObject) \
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -