22 public CComCoClass<CSysTray, &CLSID_SysTray>,
23 public CComObjectRootEx<CComMultiThreadModelNoCS>,
24 public CWindowImpl<CSysTray, CWindow, CMessageWndClass>,
#define STDMETHODCALLTYPE
HRESULT NotifyIcon(INT code, UINT uId, HICON hIcon, LPCWSTR szTip, DWORD dwstate=0)
BOOL ProcessWindowMessage(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT &lResult, DWORD dwMsgMapID=0)
CComPtr< IOleCommandTarget > pctNetShell
VOID GetServicesEnabled()
HRESULT SysTrayThreadProc()
HRESULT ProcessIconMessage(UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT &lResult)
HRESULT DestroySysTrayWindow()
virtual HRESULT STDMETHODCALLTYPE Exec(const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut)
BOOL IsServiceEnabled(DWORD dwServiceFlag)
VOID EnableService(DWORD dwServiceFlag, BOOL bEnable)
HRESULT CreateSysTrayThread()
HRESULT SysTrayMessageLoop()
virtual HRESULT STDMETHODCALLTYPE QueryStatus(const GUID *pguidCmdGroup, ULONG cCmds, OLECMD prgCmds[], OLECMDTEXT *pCmdText)
HRESULT ShutdownNetShell()
static DWORD WINAPI s_SysTrayThreadProc(PVOID param)
CWinTraits< WS_POPUP|WS_DLGFRAME|WS_CLIPCHILDREN|WS_CLIPSIBLINGS, WS_EX_LEFT|WS_EX_LTRREADING|WS_EX_RIGHTSCROLLBAR|WS_EX_PALETTEWINDOW > CMessageWndClass
struct IOleCommandTarget::_tagOLECMDTEXT OLECMDTEXT
struct IOleCommandTarget::_tagOLECMD OLECMD
#define COM_INTERFACE_ENTRY_IID(iid, x)
#define DECLARE_PROTECT_FINAL_CONSTRUCT()
#define DECLARE_NOT_AGGREGATABLE(x)
#define DECLARE_REGISTRY_RESOURCEID(x)
#define DECLARE_WND_CLASS_EX(WndClassName, style, bkgnd)
#define WS_EX_RIGHTSCROLLBAR
#define WS_EX_PALETTEWINDOW