ReactOS 0.4.15-dev-7674-gc0b4db1
lanstatusui.h
Go to the documentation of this file.
1
4// IID B722BCCB-4E68-101B-A2BC-00AA00404770
5
6#define WM_SHOWSTATUSDLG (WM_USER+10)
7
8typedef struct tagNotificationItem
9{
16
17typedef struct
18{
20 HWND hwndStatusDlg; /* LanStatusDlg window */
21 HWND hwndDlg; /* status dialog window */
33
35 public CComCoClass<CLanStatus, &CLSID_ConnectionTray>,
36 public CComObjectRootEx<CComMultiThreadModelNoCS>,
38{
39 public:
40 CLanStatus();
41
42 // IOleCommandTarget
43 virtual HRESULT WINAPI QueryStatus(const GUID *pguidCmdGroup, ULONG cCmds, OLECMD *prgCmds, OLECMDTEXT *pCmdText);
44 virtual HRESULT WINAPI Exec(const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut);
45
46 private:
48 HRESULT ShowStatusDialogByCLSID(const GUID *pguidCmdGroup);
49
50 CComPtr<INetConnectionManager> m_lpNetMan;
52
53 public:
55 DECLARE_CENTRAL_INSTANCE_NOT_AGGREGATABLE(CLanStatus)
57
59 COM_INTERFACE_ENTRY_IID(IID_IOleCommandTarget, IOleCommandTarget)
61
62};
HRESULT InitializeNetTaskbarNotifications()
virtual HRESULT WINAPI Exec(const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)
virtual HRESULT WINAPI QueryStatus(const GUID *pguidCmdGroup, ULONG cCmds, OLECMD *prgCmds, OLECMDTEXT *pCmdText)
CComPtr< INetConnectionManager > m_lpNetMan
Definition: lanstatusui.h:50
NOTIFICATION_ITEM * m_pHead
Definition: lanstatusui.h:51
HRESULT ShowStatusDialogByCLSID(const GUID *pguidCmdGroup)
unsigned long DWORD
Definition: ntddk_ex.h:95
struct tagNotificationItem NOTIFICATION_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 END_COM_MAP()
Definition: atlcom.h:592
#define DECLARE_NO_REGISTRY()
Definition: atlcom.h:639
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
unsigned int UINT
Definition: ndis.h:50
INetConnection * pNet
Definition: lanstatusui.h:19
struct tagNotificationItem * pNext
Definition: lanstatusui.h:10
INetConnection * pNet
Definition: lanstatusui.h:14
uint32_t ULONG
Definition: typedefs.h:59
#define WINAPI
Definition: msvc.h:6