Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
12de7d75
Commit
12de7d75
authored
May 13, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Move the wineboot event wait so that 16-bit processes wait too.
parent
8fe38e80
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
process.c
dlls/kernel32/process.c
+12
-12
No files found.
dlls/kernel32/process.c
View file @
12de7d75
...
...
@@ -1022,6 +1022,18 @@ void __wine_kernel_init(void)
RtlInitUnicodeString
(
&
NtCurrentTeb
()
->
Peb
->
ProcessParameters
->
DllPath
,
MODULE_get_dll_load_path
(
main_exe_name
)
);
if
(
boot_event
)
{
if
(
WaitForSingleObject
(
boot_event
,
30000
))
WARN
(
"boot event wait timed out
\n
"
);
CloseHandle
(
boot_event
);
/* if we didn't find environment section, try again now that wineboot has run */
if
(
!
got_environment
)
{
set_registry_environment
();
set_additional_environment
();
}
}
if
(
!
(
peb
->
ImageBaseAddress
=
LoadLibraryExW
(
main_exe_name
,
0
,
DONT_RESOLVE_DLL_REFERENCES
)))
{
char
msg
[
1024
];
...
...
@@ -1041,18 +1053,6 @@ void __wine_kernel_init(void)
ExitProcess
(
error
);
}
if
(
boot_event
)
{
if
(
WaitForSingleObject
(
boot_event
,
30000
))
WARN
(
"boot event wait timed out
\n
"
);
CloseHandle
(
boot_event
);
/* if we didn't find environment section, try again now that wineboot has run */
if
(
!
got_environment
)
{
set_registry_environment
();
set_additional_environment
();
}
}
LdrInitializeThunk
(
0
,
0
,
0
,
0
);
/* switch to the new stack */
wine_switch_to_stack
(
start_process
,
NULL
,
NtCurrentTeb
()
->
Tib
.
StackBase
);
...
...
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