mirror of
https://github.com/reactos/reactos.git
synced 2026-05-22 15:20:29 +08:00
[FILEBROWSER]
In the struct passed to SHCreateFromDesktop the fourth field is the parameter that later on will be passed to ShowWindow. Initialize it properly so that when we run filrbrowser.exe in win2k3 the main window won't be hidden.
This commit is contained in:
@@ -34,6 +34,7 @@ int _tmain(int argc, _TCHAR* argv[])
|
||||
if (SHExplorerParseCmdLine(&parseResults))
|
||||
{
|
||||
parseResults.dwFlags |= SH_EXPLORER_CMDLINE_FLAG_SEPARATE;
|
||||
parseResults.nCmdShow = SW_SHOWNORMAL;
|
||||
return SHCreateFromDesktop(&parseResults);
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ typedef struct ExplorerCommandLineParseResults
|
||||
LPWSTR strPath;
|
||||
LPITEMIDLIST pidlPath;
|
||||
DWORD dwFlags;
|
||||
DWORD offsetC;
|
||||
int nCmdShow;
|
||||
DWORD offset10;
|
||||
DWORD offset14;
|
||||
DWORD offset18;
|
||||
|
||||
Reference in New Issue
Block a user