1 #ifndef _NETCFGN_H__
2 #define _NETCFGN_H__
3
4 typedef enum
5 {
6 NCRL_NDIS = 1,
7 NCRL_TDI = 2
8 }NCPNP_RECONFIG_LAYER;
9
10 #undef INTERFACE
11 #define INTERFACE INetCfgPnpReconfigCallback
DECLARE_INTERFACE_(INetCfgPnpReconfigCallback,IUnknown)12 DECLARE_INTERFACE_(INetCfgPnpReconfigCallback, IUnknown)
13 {
14 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppv) PURE;
15 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
16 STDMETHOD_(ULONG,Release) (THIS) PURE;
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
29 EXTERN_C const IID IID_INetCfgPnpReconfigCallback;
30
31
32 #undef INTERFACE
33 #define INTERFACE INetCfgComponentControl
DECLARE_INTERFACE_(INetCfgComponentControl,IUnknown)34 DECLARE_INTERFACE_(INetCfgComponentControl, IUnknown)
35 {
36 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppv) PURE;
37 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
38 STDMETHOD_(ULONG,Release) (THIS) PURE;
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
57 EXTERN_C const IID IID_INetCfgComponentControl;
58
59 #undef INTERFACE
60 #define INTERFACE INetCfgComponentPropertyUi
DECLARE_INTERFACE_(INetCfgComponentPropertyUi,IUnknown)61 DECLARE_INTERFACE_(INetCfgComponentPropertyUi, IUnknown)
62 {
63 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppv) PURE;
64 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
65 STDMETHOD_(ULONG,Release) (THIS) PURE;
66 STDMETHOD_(HRESULT,QueryPropertyUi)(THIS_ IUnknown *pUnkReserved) PURE;
67 STDMETHOD_(HRESULT,SetContext)(THIS_ IUnknown *pUnkReserved) PURE;
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
88 EXTERN_C const IID IID_INetCfgComponentPropertyUi;
89
90 #undef INTERFACE
91 #define INTERFACE INetLanConnectionUiInfo
DECLARE_INTERFACE_(INetLanConnectionUiInfo,IUnknown)92 DECLARE_INTERFACE_(INetLanConnectionUiInfo, IUnknown)
93 {
94 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppv) PURE;
95 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
96 STDMETHOD_(ULONG,Release) (THIS) PURE;
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
109 EXTERN_C const IID IID_INetLanConnectionUiInfo;
110
111 #endif
112