mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
[RSHELL]
* CMenuBand: Increase the refcount of m_smc before returning it. * CMenuBand: Improve the closing logic so that the object is reusable when it needs to be, and can still be released properly. * CMenuDeskBar: Protect self against unexpected termination. * CMenuFocusManager: Refcount objects that are being used. * CStartMenu: Properly release the created objects after it's done using them (by using CComPtr instead of raw pointers). [BROWSEUI] * AddressBand: Release the addressband site when closing the band. * InternetToolbar: Do not filter away ALL the items of the favorites folder. * InternetToolbar: Do not AddRef a CComPtr that already did the refcounting itself. CORE-8690 svn path=/branches/shell-experiments/; revision=64929
This commit is contained in:
parent
121e60dbda
commit
1cd79168e1
9 changed files with 248 additions and 39 deletions
|
@ -390,9 +390,9 @@ extern "C"
|
|||
HRESULT WINAPI
|
||||
CStartMenu_Constructor(REFIID riid, void **ppv)
|
||||
{
|
||||
IShellMenu* pShellMenu;
|
||||
IBandSite* pBandSite;
|
||||
IDeskBar* pDeskBar;
|
||||
CComPtr<IShellMenu> pShellMenu;
|
||||
CComPtr<IBandSite> pBandSite;
|
||||
CComPtr<IDeskBar> pDeskBar;
|
||||
|
||||
HRESULT hr;
|
||||
IShellFolder * psf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue