Author: janderwald
Date: Mon Sep 8 09:13:23 2008
New Revision: 36056
URL:
http://svn.reactos.org/svn/reactos?rev=36056&view=rev
Log:
- Add INetLanConnectionUiInfo, INetConnectionPropertyUi2 interface
Added:
trunk/reactos/include/psdk/netcfgn.h (with props)
Modified:
trunk/reactos/include/psdk/netcon.h
Added: trunk/reactos/include/psdk/netcfgn.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/netcfgn.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/netcfgn.h (added)
+++ trunk/reactos/include/psdk/netcfgn.h [iso-8859-1] Mon Sep 8 09:13:23 2008
@@ -1,0 +1,25 @@
+#ifndef _NETCFGN_H__
+#define _NETCFGN_H__
+
+#undef INTERFACE
+#define INTERFACE INetLanConnectionUiInfo
+DECLARE_INTERFACE_(INetLanConnectionUiInfo, IUnknown)
+{
+ STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppv) PURE;
+ STDMETHOD_(ULONG,AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
+ STDMETHOD_(HRESULT,GetDeviceGuid)(THIS_ GUID *pguid) PURE;
+};
+#undef INTERFACE
+
+#if !defined(__cplusplus) || defined(CINTERFACE)
+/*** IUnknown methods ***/
+#define INetLanConnectionUiInfo_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(p,a,b)
+#define INetLanConnectionUiInfo_AddRef(p)
(p)->lpVtbl->AddRef(p)
+#define INetLanConnectionUiInfo_Release(p)
(p)->lpVtbl->Release(p)
+#define INetLanConnectionUiInfo_GetDeviceGuid(p,a)
(p)->lpVtbl->GetDeviceGuid(p,a)
+#endif
+
+EXTERN_C const IID IID_INetLanConnectionUiInfo;
+
+#endif
Propchange: trunk/reactos/include/psdk/netcfgn.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/include/psdk/netcon.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/netcon.h?rev=…
==============================================================================
--- trunk/reactos/include/psdk/netcon.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/netcon.h [iso-8859-1] Mon Sep 8 09:13:23 2008
@@ -192,6 +192,32 @@
EXTERN_C const IID IID_INetConnectionPropertyUi;
+#undef INTERFACE
+#define INTERFACE INetConnectionPropertyUi2
+DECLARE_INTERFACE_(INetConnectionPropertyUi2, IUnknown)
+{
+ STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppv) PURE;
+ STDMETHOD_(ULONG,AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,Release) (THIS) PURE;
+ STDMETHOD_(HRESULT, SetConnection) (THIS_ INetConnection *pCon) PURE;
+ STDMETHOD_(HRESULT, AddPages) (THIS_ HWND hwndParent, LPFNADDPROPSHEETPAGE
pfnAddPage, LPARAM lParam) PURE;
+ STDMETHOD_(HRESULT, GetIcon) (THIS_ DWORD dwSize, HICON *phIcon) PURE;
+};
+#undef INTERFACE
+
+#if !defined(__cplusplus) || defined(CINTERFACE)
+#define INetConnectionPropertyUi2_QueryInterface(p,a,b)
(p)->lpVtbl->QueryInterface(p,a,b)
+#define INetConnectionPropertyUi2_AddRef(p)
(p)->lpVtbl->AddRef(p)
+#define INetConnectionPropertyUi2_Release(p)
(p)->lpVtbl->Release(p)
+#define INetConnectionPropertyUi2_SetConnection(p,a)
(p)->lpVtbl->SetConnection(p,a)
+#define INetConnectionPropertyUi2_AddPages(p,a,b,c)
(p)->lpVtbl->AddPages(p,a,b,c)
+#define INetConnectionPropertyUi2_GetIcon(p,a,b)
(p)->lpVtbl->GetIcon(p,a,b)
+#endif
+
+
+EXTERN_C const IID IID_INetConnectionPropertyUi2;
+
+
VOID STDCALL NcFreeNetconProperties (NETCON_PROPERTIES* pProps);
#endif