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
13f1b129
Commit
13f1b129
authored
May 02, 1999
by
Juergen Schmied
Committed by
Alexandre Julliard
May 02, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- new SendMessageCallbackW
- some fixme's for missing A<->W conversion
parent
0b027d6c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
12 deletions
+39
-12
user32.spec
relay32/user32.spec
+2
-2
message.c
windows/message.c
+37
-10
No files found.
relay32/user32.spec
View file @
13f1b129
...
...
@@ -456,8 +456,8 @@ init MAIN_UserInit
452 stdcall SendDlgItemMessageA(long long long long long) SendDlgItemMessageA
453 stdcall SendDlgItemMessageW(long long long long long) SendDlgItemMessageW
454 stdcall SendMessageA(long long long long) SendMessageA
455 stdcall SendMessageCallbackA(long long long long ptr long) SendMessageCall
B
ackA
456 st
ub
SendMessageCallbackW
455 stdcall SendMessageCallbackA(long long long long ptr long) SendMessageCall
b
ackA
456 st
dcall SendMessageCallbackW(long long long long ptr long)
SendMessageCallbackW
457 stdcall SendMessageTimeoutA(long long long long ptr ptr) SendMessageTimeoutA
458 stdcall SendMessageTimeoutW(long long long long ptr ptr) SendMessageTimeoutW
459 stdcall SendMessageW(long long long long) SendMessageW
...
...
windows/message.c
View file @
13f1b129
...
...
@@ -1211,9 +1211,12 @@ BOOL WINAPI PeekMessageW(
UINT
min
,
/* minimum message to receive */
UINT
max
,
/* maximum message to receive */
UINT
wRemoveMsg
/* removal flags */
)
{
/* FIXME: Should perform Unicode translation on specific messages */
return
PeekMessageA
(
lpmsg
,
hwnd
,
min
,
max
,
wRemoveMsg
);
)
{
BOOL
bRet
=
PeekMessageA
(
lpmsg
,
hwnd
,
min
,
max
,
wRemoveMsg
);
if
(
bRet
)
FIXME
(
sendmsg
,
"(%s) unicode<->ascii
\n
"
,
SPY_GetMsgName
(
lpmsg
->
message
));
return
bRet
;
}
/***********************************************************************
...
...
@@ -1315,9 +1318,13 @@ BOOL WINAPI GetMessageW(
HWND
hwnd
,
/* restrict to messages for hwnd */
UINT
min
,
/* minimum message to receive */
UINT
max
/* maximum message to receive */
)
{
/* FIXME */
return
GetMessageA
(
lpmsg
,
hwnd
,
min
,
max
);
)
{
BOOL
bRet
=
GetMessageA
(
lpmsg
,
hwnd
,
min
,
max
);
if
(
bRet
)
FIXME
(
sendmsg
,
"(%s) unicode<->ascii
\n
"
,
SPY_GetMsgName
(
lpmsg
->
message
));
return
bRet
;
}
...
...
@@ -1393,7 +1400,7 @@ END:
BOOL
WINAPI
PostMessageW
(
HWND
hwnd
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
)
{
/* FIXME */
FIXME
(
sendmsg
,
"(%s) unicode<->ascii
\n
"
,
SPY_GetMsgName
(
message
));
return
PostMessageA
(
hwnd
,
message
,
wParam
,
lParam
);
}
...
...
@@ -1614,7 +1621,7 @@ BOOL WINAPI PostThreadMessageA(DWORD idThread , UINT message,
BOOL
WINAPI
PostThreadMessageW
(
DWORD
idThread
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
)
{
FIXME
(
sendmsg
,
"(
...): Should do unicode/ascii conversion!
\n
"
);
FIXME
(
sendmsg
,
"(
%s) unicode<->ascii
\n
"
,
SPY_GetMsgName
(
message
)
);
return
PostThreadMessageA
(
idThread
,
message
,
wParam
,
lParam
);
}
...
...
@@ -2413,12 +2420,12 @@ BOOL WINAPI SendNotifyMessageW(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam)
}
/***********************************************************************
* SendMessageCall
B
ack32A
* SendMessageCall
b
ack32A
* FIXME: It's like PostMessage. The callback gets called when the message
* is processed. We have to modify the message processing for a exact
* implementation...
*/
BOOL
WINAPI
SendMessageCall
B
ackA
(
BOOL
WINAPI
SendMessageCall
b
ackA
(
HWND
hWnd
,
UINT
Msg
,
WPARAM
wParam
,
LPARAM
lParam
,
FARPROC
lpResultCallBack
,
DWORD
dwData
)
{
...
...
@@ -2432,3 +2439,23 @@ BOOL WINAPI SendMessageCallBackA(
(
lpResultCallBack
)(
hWnd
,
Msg
,
dwData
,
SendMessageA
(
hWnd
,
Msg
,
wParam
,
lParam
));
return
TRUE
;
}
/***********************************************************************
* SendMessageCallback32W
* FIXME: It's like PostMessage. The callback gets called when the message
* is processed. We have to modify the message processing for a exact
* implementation...
*/
BOOL
WINAPI
SendMessageCallbackW
(
HWND
hWnd
,
UINT
Msg
,
WPARAM
wParam
,
LPARAM
lParam
,
FARPROC
lpResultCallBack
,
DWORD
dwData
)
{
FIXME
(
msg
,
"(0x%04x,0x%04x,0x%08x,0x%08lx,%p,0x%08lx),stub!
\n
"
,
hWnd
,
Msg
,
wParam
,
lParam
,
lpResultCallBack
,
dwData
);
if
(
hWnd
==
HWND_BROADCAST
)
{
PostMessageW
(
hWnd
,
Msg
,
wParam
,
lParam
);
FIXME
(
msg
,
"Broadcast: Callback will not be called!
\n
"
);
return
TRUE
;
}
(
lpResultCallBack
)(
hWnd
,
Msg
,
dwData
,
SendMessageA
(
hWnd
,
Msg
,
wParam
,
lParam
));
return
TRUE
;
}
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