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
0b7dcd24
Commit
0b7dcd24
authored
May 09, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user: Make sure to always pass a 16-bit pointer to CallWindowProc16.
parent
41b5e687
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
msg16.c
dlls/user/msg16.c
+2
-2
No files found.
dlls/user/msg16.c
View file @
0b7dcd24
...
...
@@ -67,7 +67,7 @@ LRESULT WINAPI SendMessage16( HWND16 hwnd16, UINT16 msg, WPARAM16 wparam, LPARAM
if
(
!
(
winproc
=
(
WNDPROC16
)
GetWindowLong16
(
hwnd16
,
GWLP_WNDPROC
)))
return
0
;
SPY_EnterMessage
(
SPY_SENDMESSAGE16
,
hwnd
,
msg
,
wparam
,
lparam
);
result
=
CallWindowProc16
(
(
WNDPROC16
)
winproc
,
hwnd16
,
msg
,
wparam
,
lparam
);
result
=
CallWindowProc16
(
winproc
,
hwnd16
,
msg
,
wparam
,
lparam
);
SPY_ExitMessage
(
SPY_RESULT_OK16
,
hwnd
,
msg
,
result
,
wparam
,
lparam
);
}
else
/* map to 32-bit unicode for inter-thread/process message */
...
...
@@ -369,7 +369,7 @@ LONG WINAPI DispatchMessage16( const MSG16* msg )
else
SetLastError
(
ERROR_INVALID_WINDOW_HANDLE
);
return
0
;
}
winproc
=
(
WNDPROC16
)
wndPtr
->
winproc
;
winproc
=
WINPROC_GetProc16
(
wndPtr
->
winproc
)
;
WIN_ReleasePtr
(
wndPtr
);
SPY_EnterMessage
(
SPY_DISPATCHMESSAGE16
,
hwnd
,
msg
->
message
,
msg
->
wParam
,
msg
->
lParam
);
...
...
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