Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f7885833
Commit
f7885833
authored
Sep 20, 2001
by
Guy L. Albertelli
Committed by
Alexandre Julliard
Sep 20, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get more entry points from Comctl32 and save the addresses.
parent
141701e1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
shell32_main.c
dlls/shell32/shell32_main.c
+10
-0
shell32_main.h
dlls/shell32/shell32_main.h
+5
-0
No files found.
dlls/shell32/shell32_main.c
View file @
f7885833
...
@@ -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
)
...
...
dlls/shell32/shell32_main.h
View file @
f7885833
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment