Jacek Caban : user32: Make GetWindowInfo hotpatchable.

Alexandre Julliard julliard at winehq.org
Mon Sep 12 11:42:56 CDT 2011


Module: wine
Branch: master
Commit: ab37b86236fcd54be93dcd5e0ca7b52bbcc95aad
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ab37b86236fcd54be93dcd5e0ca7b52bbcc95aad

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sat Sep 10 14:13:05 2011 +0200

user32: Make GetWindowInfo hotpatchable.

---

 dlls/user32/win.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/user32/win.c b/dlls/user32/win.c
index b61d183..e3e8265 100644
--- a/dlls/user32/win.c
+++ b/dlls/user32/win.c
@@ -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;




More information about the wine-cvs mailing list