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
2723e947
Commit
2723e947
authored
Feb 12, 2018
by
Michael Müller
Committed by
Alexandre Julliard
Feb 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Use manual redirection for RunDLL_CallEntry16.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
364e1c87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
control.c
dlls/shell32/control.c
+22
-0
shell32.spec
dlls/shell32/shell32.spec
+1
-1
No files found.
dlls/shell32/control.c
View file @
2723e947
...
...
@@ -883,3 +883,25 @@ DWORD WINAPI CallCPLEntry16(HMODULE hMod, FARPROC pFunc, DWORD dw3, DWORD dw4, D
FIXME
(
"(%p, %p, %08x, %08x, %08x, %08x): stub.
\n
"
,
hMod
,
pFunc
,
dw3
,
dw4
,
dw5
,
dw6
);
return
0x0deadbee
;
}
/*************************************************************************
* RunDLL_CallEntry16 [SHELL32.122]
* Manually relay this function to make Tages Protection v5 happy
*/
void
WINAPI
RunDLL_CallEntry16
(
DWORD
proc
,
HWND
hwnd
,
HINSTANCE
inst
,
LPCSTR
cmdline
,
INT
cmdshow
)
{
static
HMODULE
shell16
=
NULL
;
static
void
(
WINAPI
*
pRunDLL_CallEntry16
)(
DWORD
proc
,
HWND
hwnd
,
HINSTANCE
inst
,
LPCSTR
cmdline
,
INT
cmdshow
)
=
NULL
;
if
(
!
pRunDLL_CallEntry16
)
{
if
(
!
shell16
&&
!
(
shell16
=
LoadLibraryA
(
"shell.dll16"
)))
return
;
if
(
!
(
pRunDLL_CallEntry16
=
(
void
*
)
GetProcAddress
(
shell16
,
"RunDLL_CallEntry16"
)))
return
;
}
pRunDLL_CallEntry16
(
proc
,
hwnd
,
inst
,
cmdline
,
cmdshow
);
}
dlls/shell32/shell32.spec
View file @
2723e947
...
...
@@ -114,7 +114,7 @@
119 stdcall -ordinal IsLFNDrive(ptr) IsLFNDriveAW
120 stdcall -noname FileMenu_AbortInitMenu()
121 stdcall -noname SHFlushClipboard()
122 stdcall -
private @(long long ptr str long) shell.dll16.RunDLL_CallEntry16
122 stdcall -
noname RunDLL_CallEntry16(long long ptr str long)
123 stdcall -noname SHFreeUnusedLibraries()
124 stdcall -noname FileMenu_AppendFilesForPidl(long ptr long)
125 stdcall -noname FileMenu_AddFilesForPidl(long long long ptr long long ptr)
...
...
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