user32: Make GetWindowInfo hotpatchable.

This commit is contained in:
Jacek Caban 2011-09-10 14:13:05 +02:00 committed by Alexandre Julliard
parent a038ec330a
commit ab37b86236
1 changed files with 1 additions and 1 deletions

View File

@ -3395,7 +3395,7 @@ UINT WINAPI GetWindowModuleFileNameW( HWND hwnd, LPWSTR module, UINT size )
*
* Note: tests show that Windows doesn't check cbSize of the structure.
*/
BOOL WINAPI GetWindowInfo( HWND hwnd, PWINDOWINFO pwi)
BOOL WINAPI DECLSPEC_HOTPATCH GetWindowInfo( HWND hwnd, PWINDOWINFO pwi)
{
if (!pwi) return FALSE;
if (!WIN_GetRectangles( hwnd, COORDS_SCREEN, &pwi->rcWindow, &pwi->rcClient )) return FALSE;