projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d8c2cd
)
[SHELL32] shlexec: Support SEE_MASK_FLAG_SEPVDM (#7205)
author
Katayama Hirofumi MZ
<katayama.hirofumi.mz@gmail.com>
Thu, 1 Aug 2024 19:02:27 +0000
(
04:02
+0900)
committer
GitHub
<noreply@github.com>
Thu, 1 Aug 2024 19:02:27 +0000
(
04:02
+0900)
JIRA issue: N/A
Add CREATE_SEPARATE_WOW_VDM
flag to creation flags on
SEE_MASK_FLAG_SEPVDM.
dll/win32/shell32/shlexec.cpp
patch
|
blob
|
history
diff --git
a/dll/win32/shell32/shlexec.cpp
b/dll/win32/shell32/shlexec.cpp
index
8bdaf70
..
c5c121e
100644
(file)
--- 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)