mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 22:28:36 +00:00
- Add INetCfgPnpReconfigCallback, INetCfgComponentControl, INetCfgComponentPropertyUi IIDS
svn path=/trunk/; revision=36082
This commit is contained in:
parent
73cee88355
commit
0fa19c57c1
|
@ -1,6 +1,92 @@
|
||||||
#ifndef _NETCFGN_H__
|
#ifndef _NETCFGN_H__
|
||||||
#define _NETCFGN_H__
|
#define _NETCFGN_H__
|
||||||
|
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
NCRL_NDIS = 1,
|
||||||
|
NCRL_TDI = 2
|
||||||
|
}NCPNP_RECONFIG_LAYER;
|
||||||
|
|
||||||
|
#undef INTERFACE
|
||||||
|
#define INTERFACE INetCfgPnpReconfigCallback
|
||||||
|
DECLARE_INTERFACE_(INetCfgPnpReconfigCallback, IUnknown)
|
||||||
|
{
|
||||||
|
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppv) PURE;
|
||||||
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
||||||
|
STDMETHOD_(ULONG,Release) (THIS) PURE;
|
||||||
|
STDMETHOD_(HRESULT,SendPnpReconfig)(THIS_ NCPNP_RECONFIG_LAYER Layer, LPCWSTR pszwUpper, LPCWSTR pszwLower, PVOID pvData, DWORD dwSizeOfData) PURE;
|
||||||
|
};
|
||||||
|
#undef INTERFACE
|
||||||
|
|
||||||
|
#if !defined(__cplusplus) || defined(CINTERFACE)
|
||||||
|
/*** IUnknown methods ***/
|
||||||
|
#define INetCfgPnpReconfigCallback_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||||
|
#define INetCfgPnpReconfigCallback_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||||
|
#define INetCfgPnpReconfigCallback_Release(p) (p)->lpVtbl->Release(p)
|
||||||
|
#define INetCfgPnpReconfigCallback_SendPnpReconfig(p,a,b,c,d,e) (p)->lpVtbl->SendPnpReconfig(p,a,b,c,d,e)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
EXTERN_C const IID IID_INetCfgPnpReconfigCallback;
|
||||||
|
|
||||||
|
|
||||||
|
#undef INTERFACE
|
||||||
|
#define INTERFACE INetCfgComponentControl
|
||||||
|
DECLARE_INTERFACE_(INetCfgComponentControl, IUnknown)
|
||||||
|
{
|
||||||
|
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppv) PURE;
|
||||||
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
||||||
|
STDMETHOD_(ULONG,Release) (THIS) PURE;
|
||||||
|
STDMETHOD_(HRESULT,Initialize) (THIS_ INetCfgComponent *pIComp, INetCfg *pINetCfg, BOOL fInstalling) PURE;
|
||||||
|
STDMETHOD_(HRESULT,ApplyRegistryChanges) (THIS) PURE;
|
||||||
|
STDMETHOD_(HRESULT,ApplyPnpChanges) (THIS_ INetCfgPnpReconfigCallback *pICallback) PURE;
|
||||||
|
STDMETHOD_(HRESULT,CancelChanges) (THIS) PURE;
|
||||||
|
};
|
||||||
|
#undef INTERFACE
|
||||||
|
|
||||||
|
#if !defined(__cplusplus) || defined(CINTERFACE)
|
||||||
|
/*** IUnknown methods ***/
|
||||||
|
#define INetCfgComponentControl_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||||
|
#define INetCfgComponentControl_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||||
|
#define INetCfgComponentControl_Release(p) (p)->lpVtbl->Release(p)
|
||||||
|
#define INetCfgComponentControl_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c)
|
||||||
|
#define INetCfgComponentControl_ApplyRegistryChanges(p) (p)->lpVtbl->ApplyRegistryChanges(p)
|
||||||
|
#define INetCfgComponentControl_ApplyPnpChanges(p,a) (p)->lpVtbl->ApplyRegistryChanges(p,a)
|
||||||
|
#define INetCfgComponentControl_CancelChanges(p) (p)->lpVtbl->CancelChanges(p)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
EXTERN_C const IID IID_INetCfgComponentControl;
|
||||||
|
|
||||||
|
#undef INTERFACE
|
||||||
|
#define INTERFACE INetCfgComponentPropertyUi
|
||||||
|
DECLARE_INTERFACE_(INetCfgComponentPropertyUi, IUnknown)
|
||||||
|
{
|
||||||
|
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppv) PURE;
|
||||||
|
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
||||||
|
STDMETHOD_(ULONG,Release) (THIS) PURE;
|
||||||
|
STDMETHOD_(HRESULT,QueryPropertyUi)(THIS_ IUnknown *pUnkReserved) PURE;
|
||||||
|
STDMETHOD_(HRESULT,SetContext)(THIS_ IUnknown *pUnkReserved) PURE;
|
||||||
|
STDMETHOD_(HRESULT,MergePropPages)(THIS_ DWORD *pdwDefPages, BYTE **pahpspPrivate, UINT *pcPages, HWND hwndParent, LPCWSTR *pszStartPage) PURE;
|
||||||
|
STDMETHOD_(HRESULT,ValidateProperties)(THIS_ HWND hwndSheet) PURE;
|
||||||
|
STDMETHOD_(HRESULT,ApplyProperties)(THIS) PURE;
|
||||||
|
STDMETHOD_(HRESULT,CancelProperties)(THIS) PURE;
|
||||||
|
};
|
||||||
|
#undef INTERFACE
|
||||||
|
|
||||||
|
#if !defined(__cplusplus) || defined(CINTERFACE)
|
||||||
|
/*** IUnknown methods ***/
|
||||||
|
#define INetCfgComponentPropertyUi_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||||
|
#define INetCfgComponentPropertyUi_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||||
|
#define INetCfgComponentPropertyUi_Release(p) (p)->lpVtbl->Release(p)
|
||||||
|
#define INetCfgComponentPropertyUi_QueryPropertyUi(p,a) (p)->lpVtbl->QueryPropertyUi(p,a)
|
||||||
|
#define INetCfgComponentPropertyUi_SetContext(p,a) (p)->lpVtbl->SetContext(p,a)
|
||||||
|
#define INetCfgComponentPropertyUi_MergePropPages(p,a,b,c,d,e) (p)->lpVtbl->MergePropPages(p,a,b,c,d,e)
|
||||||
|
#define INetCfgComponentPropertyUi_ValidateProperties(p,a) (p)->lpVtbl->ValidateProperties(p,a)
|
||||||
|
#define INetCfgComponentPropertyUi_ApplyProperties(p) (p)->lpVtbl->ApplyProperties(p)
|
||||||
|
#define INetCfgComponentPropertyUi_CancelProperties(p) (p)->lpVtbl->CancelProperties(p)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
EXTERN_C const IID IID_INetCfgComponentPropertyUi;
|
||||||
|
|
||||||
#undef INTERFACE
|
#undef INTERFACE
|
||||||
#define INTERFACE INetLanConnectionUiInfo
|
#define INTERFACE INetLanConnectionUiInfo
|
||||||
DECLARE_INTERFACE_(INetLanConnectionUiInfo, IUnknown)
|
DECLARE_INTERFACE_(INetLanConnectionUiInfo, IUnknown)
|
||||||
|
|
Loading…
Reference in a new issue