mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 14:51:00 +00:00
[EXPLORER-NEW]
- Use macros for calling IBanneredBar methods - Remove some definitions from todo header because they are already in shlguid_undoc.h svn path=/trunk/; revision=55004
This commit is contained in:
parent
d6606f146d
commit
b13c03475a
2 changed files with 5 additions and 18 deletions
|
@ -820,18 +820,17 @@ UpdateStartMenu(IN OUT IMenuPopup *pMenuPopup,
|
|||
{
|
||||
// hRet = IBanneredBar_SetBitmap(pbb,
|
||||
// hbmBanner);
|
||||
hRet = pbb->lpVtbl->SetBitmap(pbb,
|
||||
hbmBanner);
|
||||
hRet = IBanneredBar_SetBitmap(pbb, hbmBanner);
|
||||
|
||||
|
||||
/* Update the icon size */
|
||||
//hRet = IBanneredBar_SetIconSize(pbb,
|
||||
// bSmallIcons ? BMICON_SMALL : BMICON_LARGE);
|
||||
hRet = pbb->lpVtbl->SetIconSize(pbb,
|
||||
hRet = IBanneredBar_SetIconSize(pbb,
|
||||
bSmallIcons ? BMICON_SMALL : BMICON_LARGE);
|
||||
|
||||
//IBanneredBar_Release(pbb);
|
||||
pbb->lpVtbl->Release(pbb);
|
||||
IBanneredBar_Release(pbb);
|
||||
}
|
||||
|
||||
return hRet;
|
||||
|
@ -890,10 +889,10 @@ CreateStartMenu(IN ITrayWindow *Tray,
|
|||
if (SUCCEEDED(hr))
|
||||
{
|
||||
//hr = IInitializeObject_Initialize(pIo);
|
||||
hr = pIo->lpVtbl->Initialize(pIo);
|
||||
hr = IInitializeObject_Initialize(pIo);
|
||||
|
||||
//IInitializeObject_Release(pIo);
|
||||
pIo->lpVtbl->Release(pIo);
|
||||
IInitializeObject_Release(pIo);
|
||||
}
|
||||
else
|
||||
hr = S_OK;
|
||||
|
|
|
@ -5,10 +5,6 @@
|
|||
#endif
|
||||
|
||||
/* FIXME: Ugly hack!!! FIX ASAP! Move to uuid! */
|
||||
static const GUID IID_HACK_IShellView2 = {0x88E39E80,0x3578,0x11CF,{0xAE,0x69,0x08,0x00,0x2B,0x2E,0x12,0x62}};
|
||||
#define IID_IShellView2 IID_HACK_IShellView2
|
||||
static const GUID IID_HACK_IShellView3 = {0xEC39FA88,0xF8AF,0x41CF,{0x84,0x21,0x38,0xBE,0xD2,0x8F,0x46,0x73}};
|
||||
#define IID_IShellView3 IID_HACK_IShellView2
|
||||
static const GUID VID_HACK_LargeIcons = {0x0057D0E0, 0x3573, 0x11CF, {0xAE, 0x69, 0x08, 0x00, 0x2B, 0x2E, 0x12, 0x62}};
|
||||
#define VID_LargeIcons VID_HACK_LargeIcons
|
||||
|
||||
|
@ -17,14 +13,6 @@ static const GUID IID_HACK_IDeskBarClient = {0xEB0FE175, 0x1A3A, 0x11D0, {0x89,
|
|||
static const GUID IID_HACK_IDeskBar = {0xEB0FE173, 0x1A3A, 0x11D0, {0x89, 0xB3, 0x00, 0xA0, 0xC9, 0x0A, 0x90, 0xAC}};
|
||||
#define IID_IDeskBar IID_HACK_IDeskBar
|
||||
|
||||
static const GUID IID_HACK_IMenuPopup = {0xD1E7AFEB,0x6A2E,0x11D0,{0x8C,0x78,0x00,0xC0,0x4F,0xD9,0x18,0xB4}};
|
||||
#define IID_IMenuPopup IID_HACK_IMenuPopup
|
||||
static const GUID IID_HACK_IBanneredBar = {0x596A9A94,0x013E,0x11D1,{0x8D,0x34,0x00,0xA0,0xC9,0x0F,0x27,0x19}};
|
||||
#define IID_IBanneredBar IID_HACK_IBanneredBar
|
||||
|
||||
static const GUID IID_HACK_IInitializeObject = {0x4622AD16,0xFF23,0x11D0,{0x8D,0x34,0x00,0xA0,0xC9,0x0F,0x27,0x19}};
|
||||
#define IID_IInitializeObject IID_HACK_IInitializeObject
|
||||
|
||||
static const GUID SID_HACK_SMenuPopup = {0xD1E7AFEB,0x6A2E,0x11D0,{0x8C,0x78,0x00,0xC0,0x4F,0xD9,0x18,0xB4}};
|
||||
#define SID_SMenuPopup SID_HACK_SMenuPopup
|
||||
|
||||
|
|
Loading…
Reference in a new issue