Commit b3f681ea authored by Eric Kohl's avatar Eric Kohl Committed by Alexandre Julliard

Updated to dll version 5.81 (IE 5.01).

parent b7b4aed3
...@@ -6,7 +6,7 @@ rsrc comctl32 ...@@ -6,7 +6,7 @@ rsrc comctl32
# Functions exported by the Win95 comctl32.dll # Functions exported by the Win95 comctl32.dll
# (these need to have these exact ordinals, because some win95 dlls # (these need to have these exact ordinals, because some win95 dlls
# import comctl32.dll by ordinal) # import comctl32.dll by ordinal)
# This list was created from a comctl32.dll v4.72 (IE4.01). # This list was created from a comctl32.dll v5.81 (IE5.01).
2 stdcall MenuHelp(long long long long long long ptr) MenuHelp 2 stdcall MenuHelp(long long long long long long ptr) MenuHelp
3 stdcall ShowHideMenuCtl(long long ptr) ShowHideMenuCtl 3 stdcall ShowHideMenuCtl(long long ptr) ShowHideMenuCtl
...@@ -45,55 +45,59 @@ rsrc comctl32 ...@@ -45,55 +45,59 @@ rsrc comctl32
36 stdcall FlatSB_SetScrollProp (long long long long) FlatSB_SetScrollProp 36 stdcall FlatSB_SetScrollProp (long long long long) FlatSB_SetScrollProp
37 stdcall FlatSB_SetScrollRange (long long long long long) FlatSB_SetScrollRange 37 stdcall FlatSB_SetScrollRange (long long long long long) FlatSB_SetScrollRange
38 stdcall FlatSB_ShowScrollBar (long long long) FlatSB_ShowScrollBar 38 stdcall FlatSB_ShowScrollBar (long long long) FlatSB_ShowScrollBar
39 stdcall ImageList_Add(ptr long long) ImageList_Add 39 stdcall GetMUILanguage() GetMUILanguage
40 stdcall ImageList_AddIcon(ptr long) ImageList_AddIcon 40 stdcall ImageList_Add(ptr long long) ImageList_Add
41 stdcall ImageList_AddMasked(ptr long long) ImageList_AddMasked 41 stdcall ImageList_AddIcon(ptr long) ImageList_AddIcon
42 stdcall ImageList_BeginDrag(ptr long long long) ImageList_BeginDrag 42 stdcall ImageList_AddMasked(ptr long long) ImageList_AddMasked
43 stdcall ImageList_Copy(ptr long ptr long long) ImageList_Copy 43 stdcall ImageList_BeginDrag(ptr long long long) ImageList_BeginDrag
44 stdcall ImageList_Create(long long long long long) ImageList_Create 44 stdcall ImageList_Copy(ptr long ptr long long) ImageList_Copy
45 stdcall ImageList_Destroy(ptr) ImageList_Destroy 45 stdcall ImageList_Create(long long long long long) ImageList_Create
46 stdcall ImageList_DragEnter(long long long) ImageList_DragEnter 46 stdcall ImageList_Destroy(ptr) ImageList_Destroy
47 stdcall ImageList_DragLeave(long) ImageList_DragLeave 47 stdcall ImageList_DragEnter(long long long) ImageList_DragEnter
48 stdcall ImageList_DragMove(long long) ImageList_DragMove 48 stdcall ImageList_DragLeave(long) ImageList_DragLeave
49 stdcall ImageList_DragShowNolock(long) ImageList_DragShowNolock 49 stdcall ImageList_DragMove(long long) ImageList_DragMove
50 stdcall ImageList_Draw(ptr long long long long long) ImageList_Draw 50 stdcall ImageList_DragShowNolock(long) ImageList_DragShowNolock
51 stdcall ImageList_DrawEx(ptr long long long long long long long long long) ImageList_DrawEx 51 stdcall ImageList_Draw(ptr long long long long long) ImageList_Draw
52 stdcall ImageList_DrawIndirect(ptr) ImageList_DrawIndirect 52 stdcall ImageList_DrawEx(ptr long long long long long long long long long) ImageList_DrawEx
53 stdcall ImageList_Duplicate(ptr) ImageList_Duplicate 53 stdcall ImageList_DrawIndirect(ptr) ImageList_DrawIndirect
54 stdcall ImageList_EndDrag() ImageList_EndDrag 54 stdcall ImageList_Duplicate(ptr) ImageList_Duplicate
55 stdcall ImageList_GetBkColor(ptr) ImageList_GetBkColor 55 stdcall ImageList_EndDrag() ImageList_EndDrag
56 stdcall ImageList_GetDragImage(ptr ptr) ImageList_GetDragImage 56 stdcall ImageList_GetBkColor(ptr) ImageList_GetBkColor
57 stdcall ImageList_GetIcon(ptr long long) ImageList_GetIcon 57 stdcall ImageList_GetDragImage(ptr ptr) ImageList_GetDragImage
58 stdcall ImageList_GetIconSize(ptr ptr ptr) ImageList_GetIconSize 58 stub ImageList_GetFlags
59 stdcall ImageList_GetImageCount(ptr) ImageList_GetImageCount 59 stdcall ImageList_GetIcon(ptr long long) ImageList_GetIcon
60 stdcall ImageList_GetImageInfo(ptr long ptr) ImageList_GetImageInfo 60 stdcall ImageList_GetIconSize(ptr ptr ptr) ImageList_GetIconSize
61 stdcall ImageList_GetImageRect(ptr long ptr) ImageList_GetImageRect 61 stdcall ImageList_GetImageCount(ptr) ImageList_GetImageCount
62 stdcall ImageList_LoadImage(long str long long long long long) ImageList_LoadImageA 62 stdcall ImageList_GetImageInfo(ptr long ptr) ImageList_GetImageInfo
63 stdcall ImageList_LoadImageA(long str long long long long long) ImageList_LoadImageA 63 stdcall ImageList_GetImageRect(ptr long ptr) ImageList_GetImageRect
64 stdcall ImageList_LoadImageW(long wstr long long long long long) ImageList_LoadImageW 64 stdcall ImageList_LoadImage(long str long long long long long) ImageList_LoadImageA
65 stdcall ImageList_Merge(ptr long ptr long long long) ImageList_Merge 65 stdcall ImageList_LoadImageA(long str long long long long long) ImageList_LoadImageA
66 stdcall ImageList_Read(ptr) ImageList_Read 66 stdcall ImageList_LoadImageW(long wstr long long long long long) ImageList_LoadImageW
67 stdcall ImageList_Remove(ptr long) ImageList_Remove 67 stdcall ImageList_Merge(ptr long ptr long long long) ImageList_Merge
68 stdcall ImageList_Replace(ptr long long long) ImageList_Replace 68 stdcall ImageList_Read(ptr) ImageList_Read
69 stdcall ImageList_ReplaceIcon(ptr long long) ImageList_ReplaceIcon 69 stdcall ImageList_Remove(ptr long) ImageList_Remove
70 stdcall ImageList_SetBkColor(ptr long) ImageList_SetBkColor 70 stdcall ImageList_Replace(ptr long long long) ImageList_Replace
71 stdcall Alloc(long) COMCTL32_Alloc 71 stdcall Alloc(long) COMCTL32_Alloc
72 stdcall ReAlloc(ptr long) COMCTL32_ReAlloc 72 stdcall ReAlloc(ptr long) COMCTL32_ReAlloc
73 stdcall Free(ptr) COMCTL32_Free 73 stdcall Free(ptr) COMCTL32_Free
74 stdcall GetSize(ptr) COMCTL32_GetSize 74 stdcall GetSize(ptr) COMCTL32_GetSize
75 stdcall ImageList_SetDragCursorImage(ptr long long long) ImageList_SetDragCursorImage 75 stdcall ImageList_ReplaceIcon(ptr long long) ImageList_ReplaceIcon
76 stdcall ImageList_SetFilter(ptr long long) ImageList_SetFilter 76 stdcall ImageList_SetBkColor(ptr long) ImageList_SetBkColor
77 stdcall ImageList_SetIconSize(ptr long long) ImageList_SetIconSize 77 stdcall ImageList_SetDragCursorImage(ptr long long long) ImageList_SetDragCursorImage
78 stdcall ImageList_SetImageCount(ptr long) ImageList_SetImageCount 78 stdcall ImageList_SetFilter(ptr long long) ImageList_SetFilter
79 stdcall ImageList_SetOverlayImage(ptr long long) ImageList_SetOverlayImage 79 stub ImageList_SetFlags
80 stdcall ImageList_Write(ptr ptr) ImageList_Write 80 stdcall ImageList_SetIconSize(ptr long long) ImageList_SetIconSize
81 stdcall InitCommonControlsEx(ptr) InitCommonControlsEx 81 stdcall ImageList_SetImageCount(ptr long) ImageList_SetImageCount
82 stdcall InitializeFlatSB(long) InitializeFlatSB 82 stdcall ImageList_SetOverlayImage(ptr long long) ImageList_SetOverlayImage
83 stdcall PropertySheet(ptr) PropertySheetA 83 stdcall ImageList_Write(ptr ptr) ImageList_Write
84 stdcall PropertySheetA(ptr) PropertySheetA 84 stdcall InitCommonControlsEx(ptr) InitCommonControlsEx
85 stdcall PropertySheetW(ptr) PropertySheetW 85 stdcall InitMUILanguage(long) InitMUILanguage
86 stdcall UninitializeFlatSB(long) UninitializeFlatSB 86 stdcall InitializeFlatSB(long) InitializeFlatSB
87 stdcall _TrackMouseEvent(ptr) _TrackMouseEvent 87 stdcall PropertySheet(ptr) PropertySheetA
88 stdcall PropertySheetA(ptr) PropertySheetA
89 stdcall PropertySheetW(ptr) PropertySheetW
90 stdcall UninitializeFlatSB(long) UninitializeFlatSB
91 stdcall _TrackMouseEvent(ptr) _TrackMouseEvent
151 stdcall CreateMRUListA(ptr) CreateMRUListA 151 stdcall CreateMRUListA(ptr) CreateMRUListA
152 stdcall FreeMRUList(ptr) FreeMRUListA 152 stdcall FreeMRUList(ptr) FreeMRUListA
...@@ -186,7 +190,11 @@ rsrc comctl32 ...@@ -186,7 +190,11 @@ rsrc comctl32
411 stdcall COMCTL32_411(long long long) COMCTL32_411 411 stdcall COMCTL32_411(long long long) COMCTL32_411
412 stdcall COMCTL32_412(long long long) COMCTL32_412 412 stdcall COMCTL32_412(long long long) COMCTL32_412
413 stdcall COMCTL32_413(long long long long) COMCTL32_413 413 stdcall COMCTL32_413(long long long long) COMCTL32_413
414 stub COMCTL32_414
# this is actually ordinal 70 in COMCTL32 v5.0 415 stdcall COMCTL32_415(long long long long long) COMCTL32_415
414 stdcall InitMUILanguage(long) InitMUILanguage 416 stub COMCTL32_416
417 stub COMCTL32_417
418 stub COMCTL32_418
419 stub COMCTL32_419
420 stub COMCTL32_420
421 stub COMCTL32_421
...@@ -2278,17 +2278,18 @@ BOOL WINAPI COMCTL32_413( HWND hw, DWORD b, DWORD c, DWORD d) { ...@@ -2278,17 +2278,18 @@ BOOL WINAPI COMCTL32_413( HWND hw, DWORD b, DWORD c, DWORD d) {
return TRUE; return TRUE;
} }
/*************************************************************************
* InitMUILanguage [COMCTL32.70] /**************************************************************************
* * COMCTL32_415 [COMCTL32.415]
* FIXME: What's this supposed to do? Apparently some i18n thing.
* *
* FIXME: What's this supposed to do?
* Parameter 1 is an HWND, you're on your own for the rest.
*/ */
BOOL WINAPI InitMUILanguage( LANGID uiLang) { BOOL WINAPI COMCTL32_415( HWND hwnd, DWORD b, DWORD c, DWORD d, DWORD e)
{
FIXME("(%04x): stub!\n", uiLang); FIXME("(%x, %lx, %lx, %lx, %lx): stub!\n", hwnd, b, c, d, e);
return TRUE; return TRUE;
} }
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Common controls functions * Common controls functions
* *
* Copyright 1997 Dimitrie O. Paun * Copyright 1997 Dimitrie O. Paun
* Copyright 1998 Eric Kohl * Copyright 1998,2000 Eric Kohl
* *
*/ */
...@@ -41,6 +41,7 @@ HANDLE COMCTL32_hHeap = (HANDLE)NULL; ...@@ -41,6 +41,7 @@ HANDLE COMCTL32_hHeap = (HANDLE)NULL;
DWORD COMCTL32_dwProcessesAttached = 0; DWORD COMCTL32_dwProcessesAttached = 0;
LPSTR COMCTL32_aSubclass = (LPSTR)NULL; LPSTR COMCTL32_aSubclass = (LPSTR)NULL;
HMODULE COMCTL32_hModule = 0; HMODULE COMCTL32_hModule = 0;
LANGID COMCTL32_uiLang = MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL);
/*********************************************************************** /***********************************************************************
...@@ -840,10 +841,10 @@ COMCTL32_DllGetVersion (DLLVERSIONINFO *pdvi) ...@@ -840,10 +841,10 @@ COMCTL32_DllGetVersion (DLLVERSIONINFO *pdvi)
return E_INVALIDARG; return E_INVALIDARG;
} }
pdvi->dwMajorVersion = 4; pdvi->dwMajorVersion = 5;
pdvi->dwMinorVersion = 72; pdvi->dwMinorVersion = 0;
pdvi->dwBuildNumber = 3110; pdvi->dwBuildNumber = 2919;
pdvi->dwPlatformID = 1; pdvi->dwPlatformID = 6304;
TRACE("%lu.%lu.%lu.%lu\n", TRACE("%lu.%lu.%lu.%lu\n",
pdvi->dwMajorVersion, pdvi->dwMinorVersion, pdvi->dwMajorVersion, pdvi->dwMinorVersion,
...@@ -1103,3 +1104,28 @@ _TrackMouseEvent (TRACKMOUSEEVENT *ptme) ...@@ -1103,3 +1104,28 @@ _TrackMouseEvent (TRACKMOUSEEVENT *ptme)
return TRUE; return TRUE;
} }
/*************************************************************************
* GetMUILanguage [COMCTL32.39]
*
* FIXME: What's this supposed to do? Apparently some i18n thing.
*
*/
LANGID WINAPI GetMUILanguage (VOID)
{
return COMCTL32_uiLang;
}
/*************************************************************************
* InitMUILanguage [COMCTL32.85]
*
* FIXME: What's this supposed to do? Apparently some i18n thing.
*
*/
VOID WINAPI InitMUILanguage (LANGID uiLang)
{
COMCTL32_uiLang = uiLang;
}
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include "winbase.h" #include "winbase.h"
#include "wingdi.h" #include "wingdi.h"
#include "winuser.h" #include "winuser.h"
#include "winnls.h"
#include "imagelist.h" #include "imagelist.h"
#include "prsht.h" #include "prsht.h"
...@@ -27,6 +28,10 @@ typedef struct tagINITCOMMONCONTROLSEX { ...@@ -27,6 +28,10 @@ typedef struct tagINITCOMMONCONTROLSEX {
BOOL WINAPI InitCommonControlsEx (LPINITCOMMONCONTROLSEX); BOOL WINAPI InitCommonControlsEx (LPINITCOMMONCONTROLSEX);
LANGID WINAPI GetMUILanguage (VOID);
VOID WINAPI InitMUILanguage (LANGID uiLang);
#define COMCTL32_VERSION 5 /* dll version */ #define COMCTL32_VERSION 5 /* dll version */
#ifndef _WIN32_IE #ifndef _WIN32_IE
...@@ -105,10 +110,10 @@ BOOL WINAPI InitCommonControlsEx (LPINITCOMMONCONTROLSEX); ...@@ -105,10 +110,10 @@ BOOL WINAPI InitCommonControlsEx (LPINITCOMMONCONTROLSEX);
#define LPSTR_TEXTCALLBACK WINELIB_NAME_AW(LPSTR_TEXTCALLBACK) #define LPSTR_TEXTCALLBACK WINELIB_NAME_AW(LPSTR_TEXTCALLBACK)
#define I_IMAGECALLBACK (-1) #define I_IMAGECALLBACK (-1)
#define I_IMAGENONE (-2)
#define I_INDENTCALLBACK (-1) #define I_INDENTCALLBACK (-1)
#define I_CHILDRENCALLBACK (-1) #define I_CHILDRENCALLBACK (-1)
/* owner drawn types */ /* owner drawn types */
#define ODT_HEADER 100 #define ODT_HEADER 100
#define ODT_TAB 101 #define ODT_TAB 101
...@@ -3548,6 +3553,8 @@ LPVOID WINAPI COMCTL32_ReAlloc (LPVOID, DWORD); ...@@ -3548,6 +3553,8 @@ LPVOID WINAPI COMCTL32_ReAlloc (LPVOID, DWORD);
BOOL WINAPI COMCTL32_Free (LPVOID); BOOL WINAPI COMCTL32_Free (LPVOID);
DWORD WINAPI COMCTL32_GetSize (LPVOID); DWORD WINAPI COMCTL32_GetSize (LPVOID);
LPWSTR WINAPI COMCTL32_StrChrW (LPCWSTR, WORD);
INT WINAPI Str_GetPtrA (LPCSTR, LPSTR, INT); INT WINAPI Str_GetPtrA (LPCSTR, LPSTR, INT);
BOOL WINAPI Str_SetPtrA (LPSTR *, LPCSTR); BOOL WINAPI Str_SetPtrA (LPSTR *, LPCSTR);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment