Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
728bfd6d
Commit
728bfd6d
authored
Jul 16, 2007
by
Kirill K. Smirnov
Committed by
Alexandre Julliard
Jul 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Add support for SEE_MASK_NO_CONSOLE flag.
parent
b6ce3de8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
shlexec.c
dlls/shell32/shlexec.c
+6
-3
No files found.
dlls/shell32/shlexec.c
View file @
728bfd6d
...
...
@@ -305,6 +305,7 @@ static UINT_PTR SHELL_ExecuteW(const WCHAR *lpCmd, WCHAR *env, BOOL shWait,
UINT_PTR
retval
=
SE_ERR_NOASSOC
;
UINT
gcdret
=
0
;
WCHAR
curdir
[
MAX_PATH
];
DWORD
dwCreationFlags
;
TRACE
(
"Execute %s from directory %s
\n
"
,
debugstr_w
(
lpCmd
),
debugstr_w
(
psei
->
lpDirectory
));
/* ShellExecute specifies the command from psei->lpDirectory
...
...
@@ -317,7 +318,10 @@ static UINT_PTR SHELL_ExecuteW(const WCHAR *lpCmd, WCHAR *env, BOOL shWait,
startup
.
cb
=
sizeof
(
STARTUPINFOW
);
startup
.
dwFlags
=
STARTF_USESHOWWINDOW
;
startup
.
wShowWindow
=
psei
->
nShow
;
if
(
CreateProcessW
(
NULL
,
(
LPWSTR
)
lpCmd
,
NULL
,
NULL
,
FALSE
,
CREATE_UNICODE_ENVIRONMENT
,
env
,
dwCreationFlags
=
CREATE_UNICODE_ENVIRONMENT
;
if
(
psei
->
fMask
&
SEE_MASK_NO_CONSOLE
)
dwCreationFlags
|=
CREATE_NEW_CONSOLE
;
if
(
CreateProcessW
(
NULL
,
(
LPWSTR
)
lpCmd
,
NULL
,
NULL
,
FALSE
,
dwCreationFlags
,
env
,
psei
->
lpDirectory
&&
*
psei
->
lpDirectory
?
psei
->
lpDirectory
:
NULL
,
&
startup
,
&
info
))
{
...
...
@@ -1289,8 +1293,7 @@ BOOL SHELL_execute( LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfunc )
static
const
DWORD
unsupportedFlags
=
SEE_MASK_INVOKEIDLIST
|
SEE_MASK_ICON
|
SEE_MASK_HOTKEY
|
SEE_MASK_CONNECTNETDRV
|
SEE_MASK_FLAG_DDEWAIT
|
SEE_MASK_FLAG_NO_UI
|
SEE_MASK_UNICODE
|
SEE_MASK_NO_CONSOLE
|
SEE_MASK_ASYNCOK
|
SEE_MASK_HMONITOR
;
SEE_MASK_UNICODE
|
SEE_MASK_ASYNCOK
|
SEE_MASK_HMONITOR
;
WCHAR
*
wszApplicationName
,
wszParameters
[
1024
],
wszDir
[
MAX_PATH
];
DWORD
dwApplicationNameLen
=
MAX_PATH
+
2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment