mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 17:01:28 +00: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:
parent
84fa20ec8b
commit
f05d01ec2f
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue