[EXPLORER] Start menu: Fix Small Icons flag (#6651)
[reactos.git] / base / shell / explorer / precomp.h
index 16087fd..5981b8f 100644 (file)
@@ -203,9 +203,8 @@ typedef struct _TW_STUCKRECTS2
         {
             DWORD AutoHide : 1;
             DWORD AlwaysOnTop : 1;
-            DWORD SmallIcons : 1;
+            DWORD SmSmallIcons : 1; // Start menu Small Icons
             DWORD HideClock : 1;
-            DWORD SmallStartMenu : 1;
         };
     };
     DWORD Position;
@@ -327,16 +326,23 @@ DECLARE_INTERFACE_(ITrayBandSite, IUnknown)
 HRESULT CTrayBandSite_CreateInstance(IN ITrayWindow *tray, IN IDeskBand* pTaskBand, OUT ITrayBandSite** pBandSite);
 
 /*
- * startmnu.cpp
+ * startctxmnu.cpp
  */
-
 HRESULT CStartMenuBtnCtxMenu_CreateInstance(ITrayWindow * TrayWnd, IN HWND hWndOwner, IContextMenu ** ppCtxMenu);
 
+/*
+ * startmnu.cpp
+ */
 IMenuPopup*
 CreateStartMenu(IN ITrayWindow *Tray,
                 OUT IMenuBand **ppMenuBand,
                 IN HBITMAP hbmBanner OPTIONAL,
                 IN BOOL bSmallIcons);
+HRESULT
+UpdateStartMenu(IN OUT IMenuPopup *pMenuPopup,
+                IN HBITMAP hbmBanner  OPTIONAL,
+                IN BOOL bSmallIcons,
+                IN BOOL bRefresh);
 
 /*
  * startmnucust.cpp
@@ -347,7 +353,6 @@ ShowCustomizeClassic(HINSTANCE, HWND);
 /*
 * startmnusite.cpp
 */
-
 HRESULT
 CStartMenuSite_CreateInstance(IN OUT ITrayWindow *Tray, const IID & riid, PVOID * ppv);