- ret = IDM_TASKBAR_TOOLBARS_QUICKLAUNCH;
-
-done:
- if (pidl)
- ILFree(pidl);
-
- return ret;
-}
-
-UINT CBandSiteMenu::_GetMenuIdFromBand(CLSID *BandCLSID)
-{
- /* Try to find the clsid of the band in the dsa */
- UINT count = DSA_GetItemCount(m_comcatDsa);
- for (UINT i = 0; i < count; i++)
- {
- GUID* pdsaGUID = (GUID*)DSA_GetItemPtr(m_comcatDsa, i);
- if (IsEqualGUID(*pdsaGUID, *BandCLSID))
- {
- /* The index in the dsa is also the index in the menu */
- return i + FIRST_COMCAT_MENU_ID;
- }
- }