mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
[RSHELL]
* CMenuBand: Refcount before assigning a return pointer. * CMenuDeskBar: Revert change and protect the refcounting in case I was wrong to assume there will be exactly one OnFinalMessage for each OnCreate. * CMenuToolbars: Add a debug message. * CStartMenu: Refcount correctly. svn path=/branches/shell-experiments/; revision=65088
This commit is contained in:
parent
6dce3d956e
commit
40a2e03359
7 changed files with 48 additions and 19 deletions
|
@ -262,16 +262,13 @@ public:
|
|||
IBandSite* pBandSite,
|
||||
IDeskBar* pDeskBar)
|
||||
{
|
||||
m_pShellMenu.Attach(pShellMenu);
|
||||
m_pBandSite.Attach(pBandSite);
|
||||
m_pDeskBar.Attach(pDeskBar);
|
||||
m_pShellMenu = pShellMenu;
|
||||
m_pBandSite = pBandSite;
|
||||
m_pDeskBar = pDeskBar;
|
||||
}
|
||||
|
||||
~CShellMenuCallback()
|
||||
{
|
||||
m_pShellMenu.Release();
|
||||
m_pBandSite.Release();
|
||||
m_pDeskBar.Release();
|
||||
}
|
||||
|
||||
HRESULT _SetProgramsFolder(IShellFolder * psf, LPITEMIDLIST pidl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue