Thomas Weidenmueller : comctl32: Fix InitCommonControlsEx prototype.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 22 07:05:21 CST 2007


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

Author: Thomas Weidenmueller <wine-patches at reactsoft.com>
Date:   Fri Jan 19 13:40:04 2007 +0100

comctl32: Fix InitCommonControlsEx prototype.

---

 dlls/comctl32/commctrl.c |    2 +-
 include/commctrl.h       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/comctl32/commctrl.c b/dlls/comctl32/commctrl.c
index 2f08f75..9cfdc9b 100644
--- a/dlls/comctl32/commctrl.c
+++ b/dlls/comctl32/commctrl.c
@@ -627,7 +627,7 @@ InitCommonControls (void)
  */
 
 BOOL WINAPI
-InitCommonControlsEx (LPINITCOMMONCONTROLSEX lpInitCtrls)
+InitCommonControlsEx (const INITCOMMONCONTROLSEX *lpInitCtrls)
 {
     INT cCount;
     DWORD dwMask;
diff --git a/include/commctrl.h b/include/commctrl.h
index e77dee2..7a931f8 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -36,7 +36,7 @@ typedef struct tagINITCOMMONCONTROLSEX {
     DWORD dwICC;
 } INITCOMMONCONTROLSEX, *LPINITCOMMONCONTROLSEX;
 
-BOOL WINAPI InitCommonControlsEx (LPINITCOMMONCONTROLSEX);
+BOOL WINAPI InitCommonControlsEx (const INITCOMMONCONTROLSEX*);
 
 LANGID WINAPI GetMUILanguage (VOID);
 VOID WINAPI InitMUILanguage (LANGID uiLang);




More information about the wine-cvs mailing list