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
488a00c3
Commit
488a00c3
authored
Dec 18, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Don't hardcode magic constants.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f174f18f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
process.c
dlls/kernelbase/process.c
+2
-1
No files found.
dlls/kernelbase/process.c
View file @
488a00c3
...
...
@@ -33,6 +33,7 @@
#include "kernelbase.h"
#include "wine/debug.h"
#include "wine/condrv.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
process
);
...
...
@@ -189,7 +190,7 @@ static RTL_USER_PROCESS_PARAMETERS *create_process_params( const WCHAR *filename
RtlFreeUnicodeString
(
&
newdirW
);
if
(
flags
&
CREATE_NEW_PROCESS_GROUP
)
params
->
ConsoleFlags
=
1
;
if
(
flags
&
CREATE_NEW_CONSOLE
)
params
->
ConsoleHandle
=
(
HANDLE
)
1
;
/* KERNEL32_CONSOLE_ALLOC */
if
(
flags
&
CREATE_NEW_CONSOLE
)
params
->
ConsoleHandle
=
CONSOLE_HANDLE_ALLOC
;
else
if
(
!
(
flags
&
DETACHED_PROCESS
))
params
->
ConsoleHandle
=
NtCurrentTeb
()
->
Peb
->
ProcessParameters
->
ConsoleHandle
;
if
(
startup
->
dwFlags
&
STARTF_USESTDHANDLES
)
...
...
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