Pass a locally modified version of SHELLEXECUTEINFO to
IShellExecuteHookW_Execute, this should pass through at least sei_tmp.nShow retrieved from an .lnk file (fStartup).
This commit is contained in:
parent
f861818081
commit
4cc1c14005
|
@ -1051,7 +1051,7 @@ BOOL WINAPI ShellExecuteExW32 (LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfun
|
||||||
|
|
||||||
if (SUCCEEDED(hr))
|
if (SUCCEEDED(hr))
|
||||||
{
|
{
|
||||||
hr = IShellExecuteHookW_Execute(pSEH, sei);
|
hr = IShellExecuteHookW_Execute(pSEH, &sei_tmp);
|
||||||
|
|
||||||
IShellExecuteHookW_Release(pSEH);
|
IShellExecuteHookW_Release(pSEH);
|
||||||
|
|
||||||
|
@ -1151,7 +1151,7 @@ BOOL WINAPI ShellExecuteExW32 (LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfun
|
||||||
|
|
||||||
if (SUCCEEDED(hr))
|
if (SUCCEEDED(hr))
|
||||||
{
|
{
|
||||||
hr = IShellExecuteHookW_Execute(pSEH, sei);
|
hr = IShellExecuteHookW_Execute(pSEH, &sei_tmp);
|
||||||
|
|
||||||
IShellExecuteHookW_Release(pSEH);
|
IShellExecuteHookW_Release(pSEH);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue