ReactOS 0.4.16-dev-338-g34e76ad
lanconnectui.h
Go to the documentation of this file.
1
5
6typedef enum
7{
12
13typedef struct
14{
18 INetCfgComponent *pNCfgComp;
21
23 public CComCoClass<CNetConnectionPropertyUi, &CLSID_LanConnectionUi>,
24 public CComObjectRootEx<CComMultiThreadModelNoCS>,
25 public INetConnectionConnectUi,
26 public INetConnectionPropertyUi2,
27 public INetLanConnectionUiInfo
28{
29 public:
32
33 // INetConnectionPropertyUi2
35 STDMETHOD(GetIcon)(DWORD dwSize, HICON *phIcon) override;
36
37 // INetLanConnectionUiInfo
38 STDMETHOD(GetDeviceGuid)(GUID *pGuid) override;
39
40 // INetConnectionConnectUi
41 STDMETHOD(SetConnection)(INetConnection* pCon) override;
44
45 private:
46 BOOL GetINetCfgComponent(INetCfg *pNCfg, INetCfgComponent ** pOut);
47 VOID EnumComponents(HWND hDlgCtrl, INetCfg *pNCfg, const GUID *CompGuid, UINT Type, PSP_CLASSIMAGELIST_DATA pCILD);
50 BOOL GetDeviceInstanceID(OUT LPOLESTR *DeviceInstanceID);
52
53 CComPtr<INetConnection> m_pCon;
54 CComPtr<INetCfgLock> m_NCfgLock;
55 CComPtr<INetCfg> m_pNCfg;
57
58 public:
62
69};
Type
Definition: Type.h:7
#define STDMETHOD(m)
Definition: basetyps.h:62
VOID EnumComponents(HWND hDlgCtrl, INetCfg *pNCfg, const GUID *CompGuid, UINT Type, PSP_CLASSIMAGELIST_DATA pCILD)
CComPtr< INetCfgLock > m_NCfgLock
Definition: lanconnectui.h:54
STDMETHOD() AddPages(HWND hwndParent, LPFNADDPROPSHEETPAGE pfnAddPage, LPARAM lParam) override
STDMETHOD() GetDeviceGuid(GUID *pGuid) override
STDMETHOD() GetIcon(DWORD dwSize, HICON *phIcon) override
CComPtr< INetCfg > m_pNCfg
Definition: lanconnectui.h:55
static INT_PTR CALLBACK LANPropertiesUIDlg(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
VOID ShowNetworkComponentProperties(HWND hwndDlg)
CComPtr< INetConnection > m_pCon
Definition: lanconnectui.h:53
BOOL GetINetCfgComponent(INetCfg *pNCfg, INetCfgComponent **pOut)
STDMETHOD() SetConnection(INetConnection *pCon) override
VOID InitializeLANPropertiesUIDlg(HWND hwndDlg)
STDMETHOD() Disconnect(HWND hwndParent, DWORD dwFlags) override
NETCON_PROPERTIES * m_pProperties
Definition: lanconnectui.h:56
BOOL GetDeviceInstanceID(OUT LPOLESTR *DeviceInstanceID)
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
static HWND hwndParent
Definition: cryptui.c:300
#define CALLBACK
Definition: compat.h:35
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ PKSPIN_CONNECT Connect
Definition: ks.h:4536
NET_TYPE
Definition: lanconnectui.h:7
@ NET_TYPE_PROTOCOL
Definition: lanconnectui.h:10
@ NET_TYPE_SERVICE
Definition: lanconnectui.h:9
@ NET_TYPE_CLIENT
Definition: lanconnectui.h:8
struct NET_ITEM * PNET_ITEM
#define BEGIN_COM_MAP(x)
Definition: atlcom.h:581
#define COM_INTERFACE_ENTRY_IID(iid, x)
Definition: atlcom.h:601
#define DECLARE_PROTECT_FINAL_CONSTRUCT()
Definition: atlcom.h:679
#define DECLARE_NOT_AGGREGATABLE(x)
Definition: atlcom.h:651
#define END_COM_MAP()
Definition: atlcom.h:592
#define DECLARE_NO_REGISTRY()
Definition: atlcom.h:639
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:56
static HICON
Definition: imagelist.c:80
static LPOLESTR
Definition: stg_prop.c:27
unsigned int UINT
Definition: ndis.h:50
EXTERN_C const IID IID_INetLanConnectionUiInfo
Definition: netcfgn.h:109
EXTERN_C const IID IID_INetConnectionConnectUi
Definition: netcon.h:203
EXTERN_C const IID IID_INetConnectionPropertyUi2
Definition: netcon.h:252
EXTERN_C const IID IID_INetConnectionPropertyUi
Definition: netcon.h:227
BOOL(CALLBACK * LPFNADDPROPSHEETPAGE)(HPROPSHEETPAGE, LPARAM)
Definition: prsht.h:327
INetCfgComponent * pNCfgComp
Definition: lanconnectui.h:18
NET_TYPE Type
Definition: lanconnectui.h:15
UINT NumPropDialogOpen
Definition: lanconnectui.h:19
LPWSTR szHelp
Definition: lanconnectui.h:17
DWORD dwCharacteristics
Definition: lanconnectui.h:16
int32_t INT_PTR
Definition: typedefs.h:64
#define OUT
Definition: typedefs.h:40
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
LONG_PTR LPARAM
Definition: windef.h:208
UINT_PTR WPARAM
Definition: windef.h:207
WCHAR * LPWSTR
Definition: xmlstorage.h:184