Author: gadamopoulos
Date: Fri Oct 31 22:32:01 2014
New Revision: 65161
URL: http://svn.reactos.org/svn/reactos?rev=65161&view=rev
Log:
[RSHELL]
- A HACK notice was more obvious than needed (I got what I asked after all).
- Reenable opening the printers folder since it works now
Modified:
branches/shell-experiments/base/shell/rshell/CStartMenu.cpp
Modified: branches/shell-experiments/base/shell/rshell/CStartMenu.cpp
URL: http://svn.reactos.org/svn/reactos/branches/shell-experiments/base/shell/rs…
==============================================================================
--- branches/shell-experiments/base/shell/rshell/CStartMenu.cpp [iso-8859-1] (original)
+++ branches/shell-experiments/base/shell/rshell/CStartMenu.cpp [iso-8859-1] Fri Oct 31 22:32:01 2014
@@ -230,12 +230,6 @@
HRESULT OnExec(LPSMDATA psmd)
{
- // H H A CCC K K ! ! !
- // H H A A C C K K ! ! !
- // HHHHH AAAAA C KKK ! ! !
- // H H A A C C K K ! ! !
- // H H A A CCC K K . . .
- //
// HACK: Instead of running explorer.exe with the path, we should be using ShellExecute to "open" the path directly!
// Remove once ShellExecute can handle CLSID path components.
@@ -244,7 +238,7 @@
else if (psmd->uId == IDM_NETWORKCONNECTIONS)
ShellExecuteW(NULL, NULL, L"explorer.exe", L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}", NULL, SW_SHOWNORMAL);
else if (psmd->uId == IDM_PRINTERSANDFAXES)
- {}/* FIXME: crashes: ShellExecuteW(NULL, NULL, L"explorer.exe", L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\\::{2227A280-3AEA-1069-A2DE-08002B30309D}", NULL, SW_SHOWNORMAL);*/
+ ShellExecuteW(NULL, NULL, L"explorer.exe", L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\\::{2227A280-3AEA-1069-A2DE-08002B30309D}", NULL, SW_SHOWNORMAL);
else
PostMessageW(m_hwndTray, WM_COMMAND, psmd->uId, 0);
Author: gadamopoulos
Date: Fri Oct 31 22:30:21 2014
New Revision: 65160
URL: http://svn.reactos.org/svn/reactos?rev=65160&view=rev
Log:
[SHELL32]
- Do not release the pointer to the ShellView that was just created
- Fixes a crash when showing the Printers shell folder
Modified:
branches/shell-experiments/dll/win32/shell32/folders/printers.cpp
Modified: branches/shell-experiments/dll/win32/shell32/folders/printers.cpp
URL: http://svn.reactos.org/svn/reactos/branches/shell-experiments/dll/win32/she…
==============================================================================
--- branches/shell-experiments/dll/win32/shell32/folders/printers.cpp [iso-8859-1] (original)
+++ branches/shell-experiments/dll/win32/shell32/folders/printers.cpp [iso-8859-1] Fri Oct 31 22:30:21 2014
@@ -430,7 +430,6 @@
if (pShellView)
{
hr = pShellView->QueryInterface(riid, ppvOut);
- pShellView->Release();
}
}
TRACE ("-- (%p)->(interface=%p)\n", this, ppvOut);