Commit f7885833 authored by Guy L. Albertelli's avatar Guy L. Albertelli Committed by Alexandre Julliard

Get more entry points from Comctl32 and save the addresses.

parent 141701e1
...@@ -958,6 +958,11 @@ LPVOID WINAPI (*pDPA_GetPtr) (const HDPA, INT); ...@@ -958,6 +958,11 @@ LPVOID WINAPI (*pDPA_GetPtr) (const HDPA, INT);
BOOL WINAPI (*pDPA_Destroy) (const HDPA); BOOL WINAPI (*pDPA_Destroy) (const HDPA);
INT WINAPI (*pDPA_Search) (const HDPA, LPVOID, INT, PFNDPACOMPARE, LPARAM, UINT); INT WINAPI (*pDPA_Search) (const HDPA, LPVOID, INT, PFNDPACOMPARE, LPARAM, UINT);
LPVOID WINAPI (*pDPA_DeletePtr) (const HDPA hdpa, INT i); LPVOID WINAPI (*pDPA_DeletePtr) (const HDPA hdpa, INT i);
HANDLE WINAPI (*pCreateMRUListA) (LPVOID lpcml);
DWORD WINAPI (*pFreeMRUListA) (HANDLE hMRUList);
INT WINAPI (*pAddMRUData) (HANDLE hList, LPCVOID lpData, DWORD cbData);
INT WINAPI (*pFindMRUData) (HANDLE hList, LPCVOID lpData, DWORD cbData, LPINT lpRegNum);
INT WINAPI (*pEnumMRUListA) (HANDLE hList, INT nItemPos, LPVOID lpBuffer, DWORD nBufferSize);
static HINSTANCE hComctl32; static HINSTANCE hComctl32;
...@@ -1002,6 +1007,11 @@ BOOL WINAPI Shell32LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) ...@@ -1002,6 +1007,11 @@ BOOL WINAPI Shell32LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
pDPA_DeletePtr=(void*)GetProcAddress(hComctl32, (LPCSTR)336L); pDPA_DeletePtr=(void*)GetProcAddress(hComctl32, (LPCSTR)336L);
pDPA_Sort=(void*)GetProcAddress(hComctl32, (LPCSTR)338L); pDPA_Sort=(void*)GetProcAddress(hComctl32, (LPCSTR)338L);
pDPA_Search=(void*)GetProcAddress(hComctl32, (LPCSTR)339L); pDPA_Search=(void*)GetProcAddress(hComctl32, (LPCSTR)339L);
pCreateMRUListA=(void*)GetProcAddress(hComctl32, "CreateMRUListA");
pFreeMRUListA=(void*)GetProcAddress(hComctl32, "FreeMRUList");
pAddMRUData=(void*)GetProcAddress(hComctl32, "AddMRUData");
pFindMRUData=(void*)GetProcAddress(hComctl32, "FindMRUData");
pEnumMRUListA=(void*)GetProcAddress(hComctl32, "EnumMRUListA");
/* initialize the common controls */ /* initialize the common controls */
if (pDLLInitComctl) if (pDLLInitComctl)
......
...@@ -41,6 +41,11 @@ extern LPVOID WINAPI (*pDPA_GetPtr) (const HDPA, INT); ...@@ -41,6 +41,11 @@ extern LPVOID WINAPI (*pDPA_GetPtr) (const HDPA, INT);
extern BOOL WINAPI (*pDPA_Destroy) (const HDPA); extern BOOL WINAPI (*pDPA_Destroy) (const HDPA);
extern INT WINAPI (*pDPA_Search) (const HDPA, LPVOID, INT, PFNDPACOMPARE, LPARAM, UINT); extern INT WINAPI (*pDPA_Search) (const HDPA, LPVOID, INT, PFNDPACOMPARE, LPARAM, UINT);
extern LPVOID WINAPI (*pDPA_DeletePtr) (const HDPA hdpa, INT i); extern LPVOID WINAPI (*pDPA_DeletePtr) (const HDPA hdpa, INT i);
extern HANDLE WINAPI (*pCreateMRUListA) (LPVOID lpcml);
extern DWORD WINAPI (*pFreeMRUListA) (HANDLE hMRUList);
extern INT WINAPI (*pAddMRUData) (HANDLE hList, LPCVOID lpData, DWORD cbData);
extern INT WINAPI (*pFindMRUData) (HANDLE hList, LPCVOID lpData, DWORD cbData, LPINT lpRegNum);
extern INT WINAPI (*pEnumMRUListA) (HANDLE hList, INT nItemPos, LPVOID lpBuffer, DWORD nBufferSize);
#define pDPA_GetPtrCount(hdpa) (*(INT*)(hdpa)) #define pDPA_GetPtrCount(hdpa) (*(INT*)(hdpa))
/* ole2 */ /* ole2 */
......
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