Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5a49e401
Commit
5a49e401
authored
Sep 12, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SendMessageTimeout takes a DWORD_PTR not a DWORD.
parent
3a503499
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
marshal.c
dlls/ole32/tests/marshal.c
+1
-1
message.c
dlls/user/message.c
+2
-2
user_main.c
dlls/user/user_main.c
+1
-1
No files found.
dlls/ole32/tests/marshal.c
View file @
5a49e401
...
...
@@ -1324,7 +1324,7 @@ static HRESULT WINAPI TestRE_IClassFactory_CreateInstance(
REFIID
riid
,
LPVOID
*
ppvObj
)
{
DWORD
res
;
DWORD
_PTR
res
;
BOOL
ret
=
SendMessageTimeout
(
hwnd_app
,
WM_NULL
,
0
,
0
,
SMTO_BLOCK
,
5000
,
&
res
);
ok
(
ret
,
"Timed out sending a message to originating window during RPC call
\n
"
);
return
S_FALSE
;
...
...
dlls/user/message.c
View file @
5a49e401
...
...
@@ -3426,6 +3426,6 @@ BOOL WINAPI GetGUIThreadInfo( DWORD id, GUITHREADINFO *info )
*/
BOOL
WINAPI
IsHungAppWindow
(
HWND
hWnd
)
{
DWORD
dwResult
;
return
!
SendMessageTimeoutA
(
hWnd
,
WM_NULL
,
0
,
0
,
SMTO_ABORTIFHUNG
,
5000
,
&
dwResult
);
DWORD
_PTR
dwResult
;
return
!
SendMessageTimeoutA
(
hWnd
,
WM_NULL
,
0
,
0
,
SMTO_ABORTIFHUNG
,
5000
,
&
dwResult
);
}
dlls/user/user_main.c
View file @
5a49e401
...
...
@@ -374,7 +374,7 @@ BOOL WINAPI ExitWindowsEx( UINT flags, DWORD reason )
{
HWND
*
phwnd
;
UINT
send_flags
;
DWORD
result
;
DWORD
_PTR
result
;
/* Send a WM_QUERYENDSESSION message to every window */
send_flags
=
(
flags
&
EWX_FORCEIFHUNG
)
?
SMTO_ABORTIFHUNG
:
SMTO_NORMAL
;
...
...
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