shell32: Pass some of the ShellExecute flags through InvokeCommand.
This commit is contained in:
parent
74572e43be
commit
14eb294a48
|
@ -2564,7 +2564,7 @@ ShellLink_InvokeCommand( IContextMenu* iface, LPCMINVOKECOMMANDINFO lpici )
|
||||||
|
|
||||||
memset( &sei, 0, sizeof sei );
|
memset( &sei, 0, sizeof sei );
|
||||||
sei.cbSize = sizeof sei;
|
sei.cbSize = sizeof sei;
|
||||||
sei.fMask = SEE_MASK_UNICODE | SEE_MASK_NOCLOSEPROCESS;
|
sei.fMask = SEE_MASK_UNICODE | (lpici->fMask & (SEE_MASK_NOASYNC|SEE_MASK_ASYNCOK|SEE_MASK_FLAG_NO_UI));
|
||||||
sei.lpFile = path;
|
sei.lpFile = path;
|
||||||
sei.nShow = This->iShowCmd;
|
sei.nShow = This->iShowCmd;
|
||||||
sei.lpIDList = This->pPidl;
|
sei.lpIDList = This->pPidl;
|
||||||
|
|
|
@ -1172,7 +1172,7 @@ static HRESULT shellex_run_context_menu_default( IShellExtInit *obj,
|
||||||
|
|
||||||
memset( &ici, 0, sizeof ici );
|
memset( &ici, 0, sizeof ici );
|
||||||
ici.cbSize = sizeof ici;
|
ici.cbSize = sizeof ici;
|
||||||
ici.fMask = CMIC_MASK_UNICODE;
|
ici.fMask = CMIC_MASK_UNICODE | (sei->fMask & (SEE_MASK_NOASYNC|SEE_MASK_ASYNCOK|SEE_MASK_FLAG_NO_UI));
|
||||||
ici.nShow = sei->nShow;
|
ici.nShow = sei->nShow;
|
||||||
ici.lpVerb = MAKEINTRESOURCEA( def );
|
ici.lpVerb = MAKEINTRESOURCEA( def );
|
||||||
ici.hwnd = sei->hwnd;
|
ici.hwnd = sei->hwnd;
|
||||||
|
|
Loading…
Reference in New Issue