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
9b81b838
Commit
9b81b838
authored
Sep 15, 2003
by
Eric Pouech
Committed by
Alexandre Julliard
Sep 15, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Implemented IsHungAppWindow.
- Added rejection of interprocess messages related to icons.
parent
a7b99360
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
message.c
dlls/user/message.c
+20
-0
user32.spec
dlls/user/user32.spec
+1
-1
No files found.
dlls/user/message.c
View file @
9b81b838
...
...
@@ -586,6 +586,11 @@ static size_t pack_message( HWND hwnd, UINT message, WPARAM wparam, LPARAM lpara
/* these contain an HGLOBAL */
case
WM_PAINTCLIPBOARD
:
case
WM_SIZECLIPBOARD
:
/* these contain HICON */
case
WM_GETICON
:
case
WM_SETICON
:
case
WM_QUERYDRAGICON
:
case
WM_QUERYPARKICON
:
/* these contain pointers */
case
WM_DROPOBJECT
:
case
WM_QUERYDROPOBJECT
:
...
...
@@ -834,6 +839,11 @@ static BOOL unpack_message( HWND hwnd, UINT message, WPARAM *wparam, LPARAM *lpa
/* these contain an HGLOBAL */
case
WM_PAINTCLIPBOARD
:
case
WM_SIZECLIPBOARD
:
/* these contain HICON */
case
WM_GETICON
:
case
WM_SETICON
:
case
WM_QUERYDRAGICON
:
case
WM_QUERYPARKICON
:
/* these contain pointers */
case
WM_DROPOBJECT
:
case
WM_QUERYDROPOBJECT
:
...
...
@@ -2503,3 +2513,13 @@ BOOL WINAPI SetKeyboardState( LPBYTE state )
SERVER_END_REQ
;
return
ret
;
}
/******************************************************************
* IsHungAppWindow (USER32.@)
*
*/
BOOL
WINAPI
IsHungAppWindow
(
HWND
hWnd
)
{
DWORD
dwResult
;
return
!
SendMessageTimeoutA
(
hWnd
,
WM_NULL
,
0
,
0
,
SMTO_ABORTIFHUNG
,
5000
,
&
dwResult
);
}
dlls/user/user32.spec
View file @
9b81b838
...
...
@@ -643,7 +643,7 @@
@ stub RegisterNetworkCapabilities
@ stub WNDPROC_CALLBACK
@ stdcall DrawCaptionTempW(long long ptr long long wstr long)
@ st
ub IsHungAppWindow
@ st
dcall IsHungAppWindow(long)
@ stdcall ChangeDisplaySettingsExA(str ptr long long ptr)
@ stdcall ChangeDisplaySettingsExW(wstr ptr long long ptr)
@ stdcall SetWindowText(long str) SetWindowTextA
...
...
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