From: Chris Sutcliffe Date: Fri, 20 Nov 2009 23:54:02 +0000 (+0000) Subject: 2009-20-10 Heiko Hund X-Git-Tag: sid-snapshot-20091201~25 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=547f15d128641763230500bdd68a3ed1617c8e88;p=newlib-cygwin.git 2009-20-10 Heiko Hund * include/commctrl.h (GetMUILanguage, InitMUILanguage): Add prototypes. * lib/comctl32.def (GetMUILanguage, InitMUILanguage): Define. --- diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 68824248b..d9a5f5fa8 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +2009-20-10 Heiko Hund + + * include/commctrl.h (GetMUILanguage, InitMUILanguage): Add prototypes. + * lib/comctl32.def (GetMUILanguage, InitMUILanguage): Define. + 2009-20-10 Michael James * include/wingdi.h (CLEARTYPE_QUALITY): Define. diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h index 46c5ff572..8456d3c58 100644 --- a/winsup/w32api/include/commctrl.h +++ b/winsup/w32api/include/commctrl.h @@ -2985,6 +2985,9 @@ void WINAPI DrawInsert(HWND,HWND,int); void WINAPI DrawStatusTextA(HDC,LPRECT,LPCSTR,UINT); void WINAPI DrawStatusTextW(HDC,LPRECT,LPCWSTR,UINT); void WINAPI GetEffectiveClientRect(HWND,LPRECT,LPINT); +#if (_WIN32_IE >= 0x0500) +LANGID WINAPI GetMUILanguage(VOID); +#endif #define Header_GetItemCount(w) (int)SNDMSG((w),HDM_GETITEMCOUNT,0,0) #define Header_InsertItem(w,i,phdi) (int)SNDMSG((w),HDM_INSERTITEM,(WPARAM)(int)(i),(LPARAM)(const HD_ITEM*)(phdi)) #define Header_DeleteItem(w,i) (BOOL)SNDMSG((w),HDM_DELETEITEM,(WPARAM)(int)(i),0) @@ -3091,6 +3094,9 @@ void WINAPI InitCommonControls(void); #if (_WIN32_IE >= 0x0300) BOOL WINAPI InitCommonControlsEx(LPINITCOMMONCONTROLSEX); #endif +#if (_WIN32_IE >= 0x0500) +VOID WINAPI InitMUILanguage(LANGID); +#endif int WINAPI LBItemFromPt(HWND,POINT,BOOL); #define ListView_GetBkColor(w) (COLORREF)SNDMSG((w),LVM_GETBKCOLOR,0,0) #define ListView_GetImageList(w,i) (HIMAGELIST)SNDMSG((w),LVM_GETIMAGELIST,(i),0) diff --git a/winsup/w32api/lib/comctl32.def b/winsup/w32api/lib/comctl32.def index 04dbc66ee..d565941b3 100644 --- a/winsup/w32api/lib/comctl32.def +++ b/winsup/w32api/lib/comctl32.def @@ -55,6 +55,7 @@ FindMRUStringW@12 Free@4 FreeMRUList@4 GetEffectiveClientRect@12 +GetMUILanguage@0 GetSize@4 GetWindowSubclass@16 ImageList_Add@12 @@ -96,6 +97,7 @@ ImageList_SetOverlayImage@12 ImageList_Write@8 InitCommonControls@0 InitCommonControlsEx@4 +InitMUILanguage@4 LBItemFromPt@16 MakeDragList@4 MenuHelp@28