https://git.reactos.org/?p=reactos.git;a=commitdiff;h=51b662f90daff72ee30f20137e5acf1277111c47
commit 51b662f90daff72ee30f20137e5acf1277111c47 Author: Katayama Hirofumi MZ <katayama.hirofumi...@gmail.com> AuthorDate: Fri Aug 2 04:02:27 2024 +0900 Commit: GitHub <nore...@github.com> CommitDate: Fri Aug 2 04:02:27 2024 +0900 [SHELL32] shlexec: Support SEE_MASK_FLAG_SEPVDM (#7205) JIRA issue: N/A Add CREATE_SEPARATE_WOW_VDM flag to creation flags on SEE_MASK_FLAG_SEPVDM. --- dll/win32/shell32/shlexec.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dll/win32/shell32/shlexec.cpp b/dll/win32/shell32/shlexec.cpp index 8bdaf70d3ad..c5c121eaf18 100644 --- a/dll/win32/shell32/shlexec.cpp +++ b/dll/win32/shell32/shlexec.cpp @@ -512,6 +512,8 @@ static UINT_PTR SHELL_ExecuteW(const WCHAR *lpCmd, WCHAR *env, BOOL shWait, dwCreationFlags = CREATE_UNICODE_ENVIRONMENT; if (!(psei->fMask & SEE_MASK_NO_CONSOLE)) dwCreationFlags |= CREATE_NEW_CONSOLE; + if (psei->fMask & SEE_MASK_FLAG_SEPVDM) + dwCreationFlags |= CREATE_SEPARATE_WOW_VDM; startup.lpTitle = (LPWSTR)(psei->fMask & (SEE_MASK_HASLINKNAME | SEE_MASK_HASTITLE) ? psei->lpClass : NULL); if (psei->fMask & SEE_MASK_HASLINKNAME)