forked from Mirrors/wine-wine
- Implemented IsHungAppWindow.
- Added rejection of interprocess messages related to icons.oldstable
parent
a7b9936008
commit
9b81b83882
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -643,7 +643,7 @@
|
|||
@ stub RegisterNetworkCapabilities
|
||||
@ stub WNDPROC_CALLBACK
|
||||
@ stdcall DrawCaptionTempW(long long ptr long long wstr long)
|
||||
@ stub IsHungAppWindow
|
||||
@ stdcall IsHungAppWindow(long)
|
||||
@ stdcall ChangeDisplaySettingsExA(str ptr long long ptr)
|
||||
@ stdcall ChangeDisplaySettingsExW(wstr ptr long long ptr)
|
||||
@ stdcall SetWindowText(long str) SetWindowTextA
|
||||
|
|
Loading…
Reference in New Issue