From e2048747286e2832e5e7698ceef559b3f780c92e Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 1 Feb 2005 18:54:51 +0000 Subject: [PATCH] Removed the no longer used WIN_SetExStyle function. --- dlls/user/user32.spec | 1 - include/win.h | 1 - windows/win.c | 40 ---------------------------------------- 3 files changed, 42 deletions(-) diff --git a/dlls/user/user32.spec b/dlls/user/user32.spec index 5ff6d4a0211..a6549a33c67 100644 --- a/dlls/user/user32.spec +++ b/dlls/user/user32.spec @@ -736,6 +736,5 @@ @ cdecl WIN_LinkWindow(long long long) @ cdecl WIN_ListChildren(long) @ cdecl WIN_ReleaseWndPtr(ptr) -@ cdecl WIN_SetExStyle(long long) @ cdecl WIN_SetStyle(long long long) @ cdecl WIN_UnlinkWindow(long) diff --git a/include/win.h b/include/win.h index 8605b56fc84..11deac68929 100644 --- a/include/win.h +++ b/include/win.h @@ -87,7 +87,6 @@ extern void WIN_LinkWindow( HWND hwnd, HWND parent, HWND hwndInsertAfter ); extern void WIN_UnlinkWindow( HWND hwnd ); extern HWND WIN_SetOwner( HWND hwnd, HWND owner ); 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 LRESULT WIN_DestroyWindow( HWND hwnd ); extern void WIN_DestroyThreadWindows( HWND hwnd ); diff --git a/windows/win.c b/windows/win.c index e54792cb940..5f6190ed71c 100644 --- a/windows/win.c +++ b/windows/win.c @@ -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 *