[NTDLL] Allow shimdata to override the process manifest.
[reactos.git] / dll / shellext / stobject / csystray.h
index 1bf474e..214a4c6 100644 (file)
@@ -1,11 +1,13 @@
 /*
  * PROJECT:     ReactOS system libraries
  * LICENSE:     GPL - See COPYING in the top level directory
- * FILE:        dll\win32\stobject\stobject.cpp
+ * FILE:        dll/shellext/stobject/csystray.h
  * PURPOSE:     Systray shell service object
  * PROGRAMMERS: Robert Naumann
- David Quintana <gigaherz@gmail.com>
+ *              David Quintana <gigaherz@gmail.com>
+ *              Shriraj Sawant a.k.a SR13 <sr.official@hotmail.com>
  */
+
 #pragma once
 
 extern const GUID CLSID_SysTray;
@@ -22,6 +24,8 @@ class CSysTray :
     public CWindowImpl<CSysTray, CWindow, CMessageWndClass>,
     public IOleCommandTarget
 {
+    CComPtr<IOleCommandTarget> pctNetShell;
+
     // TODO: keep icon handlers here
 
     HWND hwndSysTray;
@@ -35,10 +39,13 @@ class CSysTray :
     HRESULT InitIcons();
     HRESULT ShutdownIcons();
     HRESULT UpdateIcons();
-    HRESULT ProcessIconMessage(UINT uMsg, WPARAM wParam, LPARAM lParam);
+    HRESULT ProcessIconMessage(UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT &lResult);
+
+    HRESULT InitNetShell();
+    HRESULT ShutdownNetShell();
 
 public:
-    HRESULT NotifyIcon(INT code, UINT uId, HICON hIcon, LPCWSTR szTip);
+    HRESULT NotifyIcon(INT code, UINT uId, HICON hIcon, LPCWSTR szTip, DWORD dwstate = 0);
 
     HWND GetHWnd() { return m_hWnd; }