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
d1ccbceb
Commit
d1ccbceb
authored
Jan 14, 2013
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 16, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Various background processes must be launched detached from current console (if any).
parent
fcc204c9
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
8 deletions
+8
-8
addons.c
dlls/appwiz.cpl/addons.c
+1
-1
dinput_main.c
dlls/dinput/dinput_main.c
+1
-1
intshcut.c
dlls/ieframe/intshcut.c
+1
-1
moniker.c
dlls/ole32/moniker.c
+1
-1
rpc.c
dlls/ole32/rpc.c
+1
-1
rpc_epmap.c
dlls/rpcrt4/rpc_epmap.c
+1
-1
shelllink.c
dlls/shell32/shelllink.c
+1
-1
wineboot.c
programs/wineboot/wineboot.c
+1
-1
No files found.
dlls/appwiz.cpl/addons.c
View file @
d1ccbceb
...
@@ -630,7 +630,7 @@ static void run_winebrowser(const WCHAR *url)
...
@@ -630,7 +630,7 @@ static void run_winebrowser(const WCHAR *url)
memset
(
&
si
,
0
,
sizeof
(
si
));
memset
(
&
si
,
0
,
sizeof
(
si
));
si
.
cb
=
sizeof
(
si
);
si
.
cb
=
sizeof
(
si
);
ret
=
CreateProcessW
(
app
,
args
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
);
ret
=
CreateProcessW
(
app
,
args
,
NULL
,
NULL
,
FALSE
,
DETACHED_PROCESS
,
NULL
,
NULL
,
&
si
,
&
pi
);
heap_free
(
args
);
heap_free
(
args
);
if
(
ret
)
{
if
(
ret
)
{
CloseHandle
(
pi
.
hThread
);
CloseHandle
(
pi
.
hThread
);
...
...
dlls/dinput/dinput_main.c
View file @
d1ccbceb
...
@@ -656,7 +656,7 @@ static HRESULT WINAPI IDirectInputAImpl_RunControlPanel(LPDIRECTINPUT7A iface,
...
@@ -656,7 +656,7 @@ static HRESULT WINAPI IDirectInputAImpl_RunControlPanel(LPDIRECTINPUT7A iface,
if
(
!
This
->
initialized
)
if
(
!
This
->
initialized
)
return
DIERR_NOTINITIALIZED
;
return
DIERR_NOTINITIALIZED
;
if
(
!
CreateProcessW
(
NULL
,
control_exeW
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
))
if
(
!
CreateProcessW
(
NULL
,
control_exeW
,
NULL
,
NULL
,
FALSE
,
DETACHED_PROCESS
,
NULL
,
NULL
,
&
si
,
&
pi
))
return
HRESULT_FROM_WIN32
(
GetLastError
());
return
HRESULT_FROM_WIN32
(
GetLastError
());
return
DI_OK
;
return
DI_OK
;
...
...
dlls/ieframe/intshcut.c
View file @
d1ccbceb
...
@@ -108,7 +108,7 @@ static BOOL run_winemenubuilder( const WCHAR *args )
...
@@ -108,7 +108,7 @@ static BOOL run_winemenubuilder( const WCHAR *args )
si
.
cb
=
sizeof
(
si
);
si
.
cb
=
sizeof
(
si
);
Wow64DisableWow64FsRedirection
(
&
redir
);
Wow64DisableWow64FsRedirection
(
&
redir
);
ret
=
CreateProcessW
(
app
,
buffer
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
);
ret
=
CreateProcessW
(
app
,
buffer
,
NULL
,
NULL
,
FALSE
,
DETACHED_PROCESS
,
NULL
,
NULL
,
&
si
,
&
pi
);
Wow64RevertWow64FsRedirection
(
redir
);
Wow64RevertWow64FsRedirection
(
redir
);
heap_free
(
buffer
);
heap_free
(
buffer
);
...
...
dlls/ole32/moniker.c
View file @
d1ccbceb
...
@@ -146,7 +146,7 @@ static BOOL start_rpcss(void)
...
@@ -146,7 +146,7 @@ static BOOL start_rpcss(void)
strcatW
(
cmd
,
rpcss
);
strcatW
(
cmd
,
rpcss
);
Wow64DisableWow64FsRedirection
(
&
redir
);
Wow64DisableWow64FsRedirection
(
&
redir
);
rslt
=
CreateProcessW
(
cmd
,
cmd
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
);
rslt
=
CreateProcessW
(
cmd
,
cmd
,
NULL
,
NULL
,
FALSE
,
DETACHED_PROCESS
,
NULL
,
NULL
,
&
si
,
&
pi
);
Wow64RevertWow64FsRedirection
(
redir
);
Wow64RevertWow64FsRedirection
(
redir
);
if
(
rslt
)
if
(
rslt
)
...
...
dlls/ole32/rpc.c
View file @
d1ccbceb
...
@@ -1680,7 +1680,7 @@ static HRESULT create_server(REFCLSID rclsid, HANDLE *process)
...
@@ -1680,7 +1680,7 @@ static HRESULT create_server(REFCLSID rclsid, HANDLE *process)
/* FIXME: Win2003 supports a ServerExecutable value that is passed into
/* FIXME: Win2003 supports a ServerExecutable value that is passed into
* CreateProcess */
* CreateProcess */
if
(
!
CreateProcessW
(
NULL
,
command
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
sinfo
,
&
pinfo
))
{
if
(
!
CreateProcessW
(
NULL
,
command
,
NULL
,
NULL
,
FALSE
,
DETACHED_PROCESS
,
NULL
,
NULL
,
&
sinfo
,
&
pinfo
))
{
WARN
(
"failed to run local server %s
\n
"
,
debugstr_w
(
command
));
WARN
(
"failed to run local server %s
\n
"
,
debugstr_w
(
command
));
return
HRESULT_FROM_WIN32
(
GetLastError
());
return
HRESULT_FROM_WIN32
(
GetLastError
());
}
}
...
...
dlls/rpcrt4/rpc_epmap.c
View file @
d1ccbceb
...
@@ -92,7 +92,7 @@ static BOOL start_rpcss(void)
...
@@ -92,7 +92,7 @@ static BOOL start_rpcss(void)
lstrcatW
(
cmd
,
rpcss
);
lstrcatW
(
cmd
,
rpcss
);
Wow64DisableWow64FsRedirection
(
&
redir
);
Wow64DisableWow64FsRedirection
(
&
redir
);
rslt
=
CreateProcessW
(
cmd
,
cmd
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
);
rslt
=
CreateProcessW
(
cmd
,
cmd
,
NULL
,
NULL
,
FALSE
,
DETACHED_PROCESS
,
NULL
,
NULL
,
&
si
,
&
pi
);
Wow64RevertWow64FsRedirection
(
redir
);
Wow64RevertWow64FsRedirection
(
redir
);
if
(
rslt
)
if
(
rslt
)
...
...
dlls/shell32/shelllink.c
View file @
d1ccbceb
...
@@ -439,7 +439,7 @@ BOOL run_winemenubuilder( const WCHAR *args )
...
@@ -439,7 +439,7 @@ BOOL run_winemenubuilder( const WCHAR *args )
si
.
cb
=
sizeof
(
si
);
si
.
cb
=
sizeof
(
si
);
Wow64DisableWow64FsRedirection
(
&
redir
);
Wow64DisableWow64FsRedirection
(
&
redir
);
ret
=
CreateProcessW
(
app
,
buffer
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
);
ret
=
CreateProcessW
(
app
,
buffer
,
NULL
,
NULL
,
FALSE
,
DETACHED_PROCESS
,
NULL
,
NULL
,
&
si
,
&
pi
);
Wow64RevertWow64FsRedirection
(
redir
);
Wow64RevertWow64FsRedirection
(
redir
);
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
...
...
programs/wineboot/wineboot.c
View file @
d1ccbceb
...
@@ -851,7 +851,7 @@ static BOOL start_services_process(void)
...
@@ -851,7 +851,7 @@ static BOOL start_services_process(void)
strcatW
(
path
,
services
);
strcatW
(
path
,
services
);
ZeroMemory
(
&
si
,
sizeof
(
si
));
ZeroMemory
(
&
si
,
sizeof
(
si
));
si
.
cb
=
sizeof
(
si
);
si
.
cb
=
sizeof
(
si
);
if
(
!
CreateProcessW
(
path
,
path
,
NULL
,
NULL
,
TRUE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
))
if
(
!
CreateProcessW
(
path
,
path
,
NULL
,
NULL
,
TRUE
,
DETACHED_PROCESS
,
NULL
,
NULL
,
&
si
,
&
pi
))
{
{
WINE_ERR
(
"Couldn't start services.exe: error %u
\n
"
,
GetLastError
());
WINE_ERR
(
"Couldn't start services.exe: error %u
\n
"
,
GetLastError
());
return
FALSE
;
return
FALSE
;
...
...
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