[EXPLORER]
authorDavid Quintana <gigaherz@gmail.com>
Thu, 15 Jan 2015 17:58:16 +0000 (17:58 +0000)
committerDavid Quintana <gigaherz@gmail.com>
Thu, 15 Jan 2015 17:58:16 +0000 (17:58 +0000)
* Addendum to r66040: Fix the return types and remove unused parameters.

svn path=/trunk/; revision=66041

reactos/base/shell/explorer/trayntfy.cpp

index 5f6ff2c..e611b9b 100644 (file)
@@ -417,7 +417,7 @@ public:
         return TRUE;
     }
 
-    LRESULT NotifyIconCmd(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
+    BOOL NotifyIconCmd(WPARAM wParam, LPARAM lParam)
     {
         PCOPYDATASTRUCT cpData = (PCOPYDATASTRUCT) lParam;
         if (cpData->dwData == 1)
@@ -1457,11 +1457,11 @@ public:
         return DrawBackground(hdc);
     }
 
-    LRESULT NotifyIconCmd(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
+    BOOL NotifyIconCmd(WPARAM wParam, LPARAM lParam)
     {
         if (m_pager)
         {
-            return m_pager->NotifyIconCmd(uMsg, wParam, lParam, bHandled);
+            return m_pager->NotifyIconCmd(wParam, lParam);
         }
 
         return TRUE;
@@ -1595,8 +1595,7 @@ HWND CreateTrayNotifyWnd(IN OUT ITrayWindow *Tray, BOOL bHideClock, CTrayNotifyW
 BOOL
 TrayNotify_NotifyIconCmd(CTrayNotifyWnd* pTrayNotify, WPARAM wParam, LPARAM lParam)
 {
-    BOOL bDummy;
-    return pTrayNotify->NotifyIconCmd(0, wParam, lParam, bDummy);
+    return pTrayNotify->NotifyIconCmd(wParam, lParam);
 }
 
 BOOL