Removed the no longer used WIN_SetExStyle function.
This commit is contained in:
parent
d7726c3a73
commit
e204874728
|
@ -736,6 +736,5 @@
|
||||||
@ cdecl WIN_LinkWindow(long long long)
|
@ cdecl WIN_LinkWindow(long long long)
|
||||||
@ cdecl WIN_ListChildren(long)
|
@ cdecl WIN_ListChildren(long)
|
||||||
@ cdecl WIN_ReleaseWndPtr(ptr)
|
@ cdecl WIN_ReleaseWndPtr(ptr)
|
||||||
@ cdecl WIN_SetExStyle(long long)
|
|
||||||
@ cdecl WIN_SetStyle(long long long)
|
@ cdecl WIN_SetStyle(long long long)
|
||||||
@ cdecl WIN_UnlinkWindow(long)
|
@ cdecl WIN_UnlinkWindow(long)
|
||||||
|
|
|
@ -87,7 +87,6 @@ extern void WIN_LinkWindow( HWND hwnd, HWND parent, HWND hwndInsertAfter );
|
||||||
extern void WIN_UnlinkWindow( HWND hwnd );
|
extern void WIN_UnlinkWindow( HWND hwnd );
|
||||||
extern HWND WIN_SetOwner( HWND hwnd, HWND owner );
|
extern HWND WIN_SetOwner( HWND hwnd, HWND owner );
|
||||||
extern ULONG WIN_SetStyle( HWND hwnd, ULONG set_bits, ULONG clear_bits );
|
extern ULONG WIN_SetStyle( HWND hwnd, ULONG set_bits, ULONG clear_bits );
|
||||||
extern LONG WIN_SetExStyle( HWND hwnd, LONG style );
|
|
||||||
extern BOOL WIN_GetRectangles( HWND hwnd, RECT *rectWindow, RECT *rectClient );
|
extern BOOL WIN_GetRectangles( HWND hwnd, RECT *rectWindow, RECT *rectClient );
|
||||||
extern LRESULT WIN_DestroyWindow( HWND hwnd );
|
extern LRESULT WIN_DestroyWindow( HWND hwnd );
|
||||||
extern void WIN_DestroyThreadWindows( HWND hwnd );
|
extern void WIN_DestroyThreadWindows( HWND hwnd );
|
||||||
|
|
|
@ -567,46 +567,6 @@ ULONG WIN_SetStyle( HWND hwnd, ULONG set_bits, ULONG clear_bits )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
* WIN_SetExStyle
|
|
||||||
*
|
|
||||||
* Change the extended style of a window.
|
|
||||||
*/
|
|
||||||
LONG WIN_SetExStyle( HWND hwnd, LONG style )
|
|
||||||
{
|
|
||||||
LONG ret = 0;
|
|
||||||
WND *win = WIN_GetPtr( hwnd );
|
|
||||||
|
|
||||||
if (!win) return 0;
|
|
||||||
if (win == WND_OTHER_PROCESS)
|
|
||||||
{
|
|
||||||
if (IsWindow(hwnd))
|
|
||||||
ERR( "cannot set exstyle %lx on other process window %p\n", style, hwnd );
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
if (style == win->dwExStyle)
|
|
||||||
{
|
|
||||||
WIN_ReleasePtr( win );
|
|
||||||
return style;
|
|
||||||
}
|
|
||||||
SERVER_START_REQ( set_window_info )
|
|
||||||
{
|
|
||||||
req->handle = hwnd;
|
|
||||||
req->flags = SET_WIN_EXSTYLE;
|
|
||||||
req->ex_style = style;
|
|
||||||
req->extra_offset = -1;
|
|
||||||
if (!wine_server_call( req ))
|
|
||||||
{
|
|
||||||
ret = reply->old_ex_style;
|
|
||||||
win->dwExStyle = style;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
SERVER_END_REQ;
|
|
||||||
WIN_ReleasePtr( win );
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* WIN_GetRectangles
|
* WIN_GetRectangles
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue