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
9ac7bca2
Commit
9ac7bca2
authored
Aug 03, 2015
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Aug 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user.exe: Release the Win16 lock due to loading 32-bit dlls in CreateWindow.
parent
d3c8055b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
message.c
dlls/user.exe16/message.c
+7
-1
No files found.
dlls/user.exe16/message.c
View file @
9ac7bca2
...
...
@@ -2648,11 +2648,17 @@ static DWORD wait_message16( DWORD count, const HANDLE *handles, DWORD timeout,
*/
HWND
create_window16
(
CREATESTRUCTW
*
cs
,
LPCWSTR
className
,
HINSTANCE
instance
,
BOOL
unicode
)
{
DWORD
lock
;
HWND
ret
;
/* map to module handle */
if
(
instance
&&
!
((
ULONG_PTR
)
instance
>>
16
))
instance
=
HINSTANCE_32
(
GetExePtr
(
HINSTANCE_16
(
instance
)
));
return
wow_handlers32
.
create_window
(
cs
,
className
,
instance
,
unicode
);
ReleaseThunkLock
(
&
lock
);
ret
=
wow_handlers32
.
create_window
(
cs
,
className
,
instance
,
unicode
);
RestoreThunkLock
(
lock
);
return
ret
;
}
...
...
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