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
cf81d0f0
Commit
cf81d0f0
authored
Dec 23, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Remove remaining calls to internal 32-bit functions from msg16.c.
parent
b63d0e19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
msg16.c
dlls/user32/msg16.c
+4
-9
No files found.
dlls/user32/msg16.c
View file @
cf81d0f0
...
...
@@ -258,8 +258,6 @@ static LRESULT call_window_proc16( HWND16 hwnd, UINT16 msg, WPARAM16 wParam, LPA
}
u
;
}
args
;
USER_CheckNotLock
();
if
(
index
>=
MAX_WINPROCS32
)
func
=
winproc16_array
[
index
-
MAX_WINPROCS32
];
/* Window procedures want ax = hInstance, ds = es = ss */
...
...
@@ -1489,7 +1487,8 @@ LRESULT WINAPI SendMessage16( HWND16 hwnd16, UINT16 msg, WPARAM16 wparam, LPARAM
LRESULT
result
;
HWND
hwnd
=
WIN_Handle32
(
hwnd16
);
if
(
hwnd
!=
HWND_BROADCAST
&&
WIN_IsCurrentThread
(
hwnd
))
if
(
hwnd
!=
HWND_BROADCAST
&&
GetWindowThreadProcessId
(
hwnd
,
NULL
)
==
GetCurrentThreadId
())
{
/* call 16-bit window proc directly */
WNDPROC16
winproc
;
...
...
@@ -2495,12 +2494,8 @@ static LRESULT mdiclient_proc16( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar
if
(
msg
==
WM_CREATE
)
{
LPCREATESTRUCTA
cs
=
(
LPCREATESTRUCTA
)
lParam
;
WND
*
win
;
BOOL
is_win32
;
if
(
!
(
win
=
WIN_GetPtr
(
hwnd
)))
return
0
;
is_win32
=
(
win
==
WND_OTHER_PROCESS
||
win
==
WND_DESKTOP
||
(
win
->
flags
&
WIN_ISWIN32
));
WIN_ReleasePtr
(
win
);
HINSTANCE
instance
=
(
HINSTANCE
)
GetWindowLongPtrW
(
hwnd
,
GWLP_HINSTANCE
);
BOOL
is_win32
=
!
instance
||
((
ULONG_PTR
)
instance
>>
16
);
/* Translation layer doesn't know what's in the cs->lpCreateParams
* so we have to keep track of what environment we're in. */
...
...
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