wineandroid: Implement SetWindowRgn.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2017-06-07 11:25:48 +02:00
parent 19b944d49c
commit d61bcb9a2f
2 changed files with 17 additions and 0 deletions

View File

@ -977,6 +977,22 @@ void CDECL ANDROID_WindowPosChanged( HWND hwnd, HWND insert_after, UINT swp_flag
}
/***********************************************************************
* ANDROID_SetWindowRgn
*/
void CDECL ANDROID_SetWindowRgn( HWND hwnd, HRGN hrgn, BOOL redraw )
{
struct android_win_data *data;
if ((data = get_win_data( hwnd )))
{
if (data->surface) set_surface_region( data->surface, hrgn );
release_win_data( data );
}
else FIXME( "not supported on other process window %p\n", hwnd );
}
/**********************************************************************
* ANDROID_WindowMessage
*/

View File

@ -9,6 +9,7 @@
@ cdecl CreateWindow(long) ANDROID_CreateWindow
@ cdecl DestroyWindow(long) ANDROID_DestroyWindow
@ cdecl MsgWaitForMultipleObjectsEx(long ptr long long long) ANDROID_MsgWaitForMultipleObjectsEx
@ cdecl SetWindowRgn(long long long) ANDROID_SetWindowRgn
@ cdecl WindowMessage(long long long long) ANDROID_WindowMessage
@ cdecl WindowPosChanging(long long long ptr ptr ptr ptr) ANDROID_WindowPosChanging
@ cdecl WindowPosChanged(long long long ptr ptr ptr ptr ptr) ANDROID_WindowPosChanged