ReactOS 0.4.15-dev-7788-g1ad9096
netcfgn.h
Go to the documentation of this file.
1#ifndef _NETCFGN_H__
2#define _NETCFGN_H__
3
4typedef enum
5{
7 NCRL_TDI = 2
9
10#undef INTERFACE
11#define INTERFACE INetCfgPnpReconfigCallback
12DECLARE_INTERFACE_(INetCfgPnpReconfigCallback, IUnknown)
13{
17 STDMETHOD_(HRESULT,SendPnpReconfig)(THIS_ NCPNP_RECONFIG_LAYER Layer, LPCWSTR pszwUpper, LPCWSTR pszwLower, PVOID pvData, DWORD dwSizeOfData) PURE;
18};
19#undef INTERFACE
20
21#if !defined(__cplusplus) || defined(CINTERFACE)
22/*** IUnknown methods ***/
23#define INetCfgPnpReconfigCallback_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
24#define INetCfgPnpReconfigCallback_AddRef(p) (p)->lpVtbl->AddRef(p)
25#define INetCfgPnpReconfigCallback_Release(p) (p)->lpVtbl->Release(p)
26#define INetCfgPnpReconfigCallback_SendPnpReconfig(p,a,b,c,d,e) (p)->lpVtbl->SendPnpReconfig(p,a,b,c,d,e)
27#endif
28
30
31
32#undef INTERFACE
33#define INTERFACE INetCfgComponentControl
34DECLARE_INTERFACE_(INetCfgComponentControl, IUnknown)
35{
39 STDMETHOD_(HRESULT,Initialize) (THIS_ INetCfgComponent *pIComp, INetCfg *pINetCfg, BOOL fInstalling) PURE;
40 STDMETHOD_(HRESULT,ApplyRegistryChanges) (THIS) PURE;
41 STDMETHOD_(HRESULT,ApplyPnpChanges) (THIS_ INetCfgPnpReconfigCallback *pICallback) PURE;
42 STDMETHOD_(HRESULT,CancelChanges) (THIS) PURE;
43};
44#undef INTERFACE
45
46#if !defined(__cplusplus) || defined(CINTERFACE)
47/*** IUnknown methods ***/
48#define INetCfgComponentControl_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
49#define INetCfgComponentControl_AddRef(p) (p)->lpVtbl->AddRef(p)
50#define INetCfgComponentControl_Release(p) (p)->lpVtbl->Release(p)
51#define INetCfgComponentControl_Initialize(p,a,b,c) (p)->lpVtbl->Initialize(p,a,b,c)
52#define INetCfgComponentControl_ApplyRegistryChanges(p) (p)->lpVtbl->ApplyRegistryChanges(p)
53#define INetCfgComponentControl_ApplyPnpChanges(p,a) (p)->lpVtbl->ApplyRegistryChanges(p,a)
54#define INetCfgComponentControl_CancelChanges(p) (p)->lpVtbl->CancelChanges(p)
55#endif
56
58
59#undef INTERFACE
60#define INTERFACE INetCfgComponentPropertyUi
61DECLARE_INTERFACE_(INetCfgComponentPropertyUi, IUnknown)
62{
68 STDMETHOD_(HRESULT,MergePropPages)(THIS_ DWORD *pdwDefPages, BYTE **pahpspPrivate, UINT *pcPages, HWND hwndParent, LPCWSTR *pszStartPage) PURE;
69 STDMETHOD_(HRESULT,ValidateProperties)(THIS_ HWND hwndSheet) PURE;
70 STDMETHOD_(HRESULT,ApplyProperties)(THIS) PURE;
71 STDMETHOD_(HRESULT,CancelProperties)(THIS) PURE;
72};
73#undef INTERFACE
74
75#if !defined(__cplusplus) || defined(CINTERFACE)
76/*** IUnknown methods ***/
77#define INetCfgComponentPropertyUi_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
78#define INetCfgComponentPropertyUi_AddRef(p) (p)->lpVtbl->AddRef(p)
79#define INetCfgComponentPropertyUi_Release(p) (p)->lpVtbl->Release(p)
80#define INetCfgComponentPropertyUi_QueryPropertyUi(p,a) (p)->lpVtbl->QueryPropertyUi(p,a)
81#define INetCfgComponentPropertyUi_SetContext(p,a) (p)->lpVtbl->SetContext(p,a)
82#define INetCfgComponentPropertyUi_MergePropPages(p,a,b,c,d,e) (p)->lpVtbl->MergePropPages(p,a,b,c,d,e)
83#define INetCfgComponentPropertyUi_ValidateProperties(p,a) (p)->lpVtbl->ValidateProperties(p,a)
84#define INetCfgComponentPropertyUi_ApplyProperties(p) (p)->lpVtbl->ApplyProperties(p)
85#define INetCfgComponentPropertyUi_CancelProperties(p) (p)->lpVtbl->CancelProperties(p)
86#endif
87
89
90#undef INTERFACE
91#define INTERFACE INetLanConnectionUiInfo
92DECLARE_INTERFACE_(INetLanConnectionUiInfo, IUnknown)
93{
97 STDMETHOD_(HRESULT,GetDeviceGuid)(THIS_ GUID *pguid) PURE;
98};
99#undef INTERFACE
100
101#if !defined(__cplusplus) || defined(CINTERFACE)
102/*** IUnknown methods ***/
103#define INetLanConnectionUiInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
104#define INetLanConnectionUiInfo_AddRef(p) (p)->lpVtbl->AddRef(p)
105#define INetLanConnectionUiInfo_Release(p) (p)->lpVtbl->Release(p)
106#define INetLanConnectionUiInfo_GetDeviceGuid(p,a) (p)->lpVtbl->GetDeviceGuid(p,a)
107#endif
108
110
111#endif
#define DECLARE_INTERFACE_(i, b)
Definition: basetyps.h:78
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define EXTERN_C
Definition: basetyps.h:12
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
_In_ BOOLEAN Release
Definition: cdrom.h:920
static HWND hwndParent
Definition: cryptui.c:300
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
static IUnknown * pUnkReserved
Definition: asmenum.c:33
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int UINT
Definition: ndis.h:50
EXTERN_C const IID IID_INetCfgComponentPropertyUi
Definition: netcfgn.h:88
EXTERN_C const IID IID_INetCfgComponentControl
Definition: netcfgn.h:57
EXTERN_C const IID IID_INetLanConnectionUiInfo
Definition: netcfgn.h:109
EXTERN_C const IID IID_INetCfgPnpReconfigCallback
Definition: netcfgn.h:29
NCPNP_RECONFIG_LAYER
Definition: netcfgn.h:5
@ NCRL_NDIS
Definition: netcfgn.h:6
@ NCRL_TDI
Definition: netcfgn.h:7
#define REFIID
Definition: guiddef.h:118
Definition: xml2sdb.h:111
uint32_t ULONG
Definition: typedefs.h:59
_In_ ULONG _In_opt_ PVOID pvData
Definition: winddi.h:3749
static void Initialize()
Definition: xlate.c:212
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
unsigned char BYTE
Definition: xxhash.c:193