mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
user32: Make GetWindowInfo hotpatchable.
This commit is contained in:
parent
a038ec330a
commit
ab37b86236
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user