Fixed prototypes of CreateStatusWindowA/W, ImageList_Copy,
ImageList_EndDrag, ImageList_SetImageCount.
diff --git a/dlls/comctl32/commctrl.c b/dlls/comctl32/commctrl.c
index b2acdb7..153745f 100644
--- a/dlls/comctl32/commctrl.c
+++ b/dlls/comctl32/commctrl.c
@@ -531,7 +531,7 @@
*/
HWND WINAPI
-CreateStatusWindowA (INT style, LPCSTR text, HWND parent, UINT wid)
+CreateStatusWindowA (LONG style, LPCSTR text, HWND parent, UINT wid)
{
return CreateWindowA(STATUSCLASSNAMEA, text, style,
CW_USEDEFAULT, CW_USEDEFAULT,
@@ -555,7 +555,7 @@
*/
HWND WINAPI
-CreateStatusWindowW (INT style, LPCWSTR text, HWND parent, UINT wid)
+CreateStatusWindowW (LONG style, LPCWSTR text, HWND parent, UINT wid)
{
return CreateWindowW(STATUSCLASSNAMEW, text, style,
CW_USEDEFAULT, CW_USEDEFAULT,
@@ -928,11 +928,11 @@
HWND WINAPI
CreateToolbar (HWND hwnd, DWORD style, UINT wID, INT nBitmaps,
HINSTANCE hBMInst, UINT wBMID,
- LPCOLDTBBUTTON lpButtons,INT iNumButtons)
+ LPCTBBUTTON lpButtons,INT iNumButtons)
{
return CreateToolbarEx (hwnd, style | CCS_NODIVIDER, wID, nBitmaps,
- hBMInst, wBMID, (LPCTBBUTTON)lpButtons,
- iNumButtons, 0, 0, 0, 0, sizeof (OLDTBBUTTON));
+ hBMInst, wBMID, lpButtons,
+ iNumButtons, 0, 0, 0, 0, CCSIZEOF_STRUCT(TBBUTTON, dwData));
}