diff options
-rw-r--r-- | winsup/w32api/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/w32api/include/commctrl.h | 6 | ||||
-rw-r--r-- | winsup/w32api/lib/comctl32.def | 2 |
3 files changed, 13 insertions, 0 deletions
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 <heiko@ist.eigentlich.net> + + * include/commctrl.h (GetMUILanguage, InitMUILanguage): Add prototypes. + * lib/comctl32.def (GetMUILanguage, InitMUILanguage): Define. + 2009-20-10 Michael James <james.me@gmail.com> * 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 |