Created
April 1, 2022 20:06
-
-
Save openglfreak/f8cf6be5452329c00cf92518ab3dfe0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 43006f56c8ea2d5f3c450ece9a14fa42fb7d2c9a Mon Sep 17 00:00:00 2001 | |
From: Torge Matthies <openglfreak@googlemail.com> | |
Date: Thu, 31 Mar 2022 10:53:43 +0200 | |
Subject: [PATCH] kernelbase: Semi-stub CREATE_NO_WINDOW process creation flag. | |
Signed-off-by: Torge Matthies <openglfreak@googlemail.com> | |
--- | |
dlls/kernelbase/process.c | 9 +++++++-- | |
1 file changed, 7 insertions(+), 2 deletions(-) | |
diff --git a/dlls/kernelbase/process.c b/dlls/kernelbase/process.c | |
index 1cecbce9321..3a7a286f73f 100644 | |
--- a/dlls/kernelbase/process.c | |
+++ b/dlls/kernelbase/process.c | |
@@ -532,9 +532,14 @@ BOOL WINAPI DECLSPEC_HOTPATCH CreateProcessInternalW( HANDLE token, const WCHAR | |
/* Warn if unsupported features are used */ | |
if (flags & (IDLE_PRIORITY_CLASS | HIGH_PRIORITY_CLASS | REALTIME_PRIORITY_CLASS | | |
- CREATE_DEFAULT_ERROR_MODE | CREATE_NO_WINDOW | | |
- PROFILE_USER | PROFILE_KERNEL | PROFILE_SERVER)) | |
+ CREATE_DEFAULT_ERROR_MODE | PROFILE_USER | PROFILE_KERNEL | | |
+ PROFILE_SERVER)) | |
WARN( "(%s,...): ignoring some flags in %lx\n", debugstr_w(app_name), flags ); | |
+ if (flags & CREATE_NO_WINDOW) | |
+ { | |
+ FIXME( "(%s,...): semi-stub flag: CREATE_NO_WINDOW\n", debugstr_w(app_name), flags ); | |
+ flags |= DETACHED_PROCESS; | |
+ } | |
if (cur_dir) | |
{ | |
-- | |
2.35.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment