mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
[SHELL32] Control_DoWindow: Add file browser fallback
If Explorer shell is not available, use ReactOS's alternative file browser instead. CORE-19648
This commit is contained in:
parent
8398c9fcfb
commit
2d9a4b4a87
1 changed files with 2 additions and 1 deletions
|
@ -732,9 +732,10 @@ static void Control_DoWindow(CPanel* panel, HWND hWnd, HINSTANCE hInst)
|
|||
#else
|
||||
static void Control_DoWindow(CPanel* panel, HWND hWnd, HINSTANCE hInst)
|
||||
{
|
||||
/* NOTE: If Explorer shell is not available, use ReactOS's alternative file browser instead */
|
||||
ShellExecuteW(NULL,
|
||||
L"open",
|
||||
L"explorer.exe",
|
||||
GetShellWindow() ? L"explorer.exe" : L"filebrowser.exe",
|
||||
L"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}",
|
||||
NULL,
|
||||
SW_SHOWDEFAULT);
|
||||
|
|
Loading…
Reference in a new issue