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
d259eaf2
Commit
d259eaf2
authored
Jul 31, 2015
by
Austin English
Committed by
Alexandre Julliard
Aug 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Update README.
parent
62c776a7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
README
tools/winedump/README
+10
-10
No files found.
tools/winedump/README
View file @
d259eaf2
...
...
@@ -203,10 +203,10 @@ If a prototype is found, or correctly demangled, the following is emitted:
@ stdcall _OpenZipFile ZIPEXTRA__OpenZipFile
.h:
BOOL __stdcall ZIPEXTRA__OpenZipFile(
LPCSTR pszFileN
ame);
BOOL __stdcall ZIPEXTRA__OpenZipFile(
const char *filen
ame);
.c:
BOOL __stdcall ZIPEXTRA__OpenZipFile(
LPCSTR pszFileN
ame)
BOOL __stdcall ZIPEXTRA__OpenZipFile(
const char *filen
ame)
{
TRACE("stub\n");
return 0;
...
...
@@ -245,16 +245,16 @@ forward DLL automatically:
HMODULE hDLL = 0; /* DLL to call through to */
BOOL WINAPI ZIPEXTRA_Init(HINSTANCE
hinstDLL, DWORD fdwReason, LPVOID lpvR
eserved)
BOOL WINAPI ZIPEXTRA_Init(HINSTANCE
dll, DWORD reason, void *r
eserved)
{
TRACE("(0x%08x, %
ld, %p)\n", hinstDLL, fdwReason, lpvR
eserved);
TRACE("(0x%08x, %
u, %p)\n", dll, reason, r
eserved);
if (
fdwR
eason == DLL_PROCESS_ATTACH)
if (
r
eason == DLL_PROCESS_ATTACH)
{
hDLL = LoadLibraryA( "real_zipextra" );
TRACE ("Forwarding DLL (real_zipextra) loaded\n" );
}
else if (
fdwR
eason == DLL_PROCESS_DETACH)
else if (
r
eason == DLL_PROCESS_DETACH)
{
FreeLibrary( hDLL );
TRACE ("Forwarding DLL (real_zipextra) freed\n" );
...
...
@@ -265,12 +265,12 @@ BOOL WINAPI ZIPEXTRA_Init(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserve
The stub function is changed to call the forwarding DLL and return that value.
BOOL __stdcall ZIPEXTRA__OpenZipFile(
LPCSTR pszFileN
ame)
BOOL __stdcall ZIPEXTRA__OpenZipFile(
const char *filen
ame)
{
BOOL (__stdcall *pFunc)(
LPCSTR
) = (void*)GetProcAddress(hDLL,"_OpenZipFile");
BOOL (__stdcall *pFunc)(
const char *
) = (void*)GetProcAddress(hDLL,"_OpenZipFile");
BOOL retVal;
TRACE("((
LPCSTR)%s) stub\n", pszFileN
ame);
retVal = pFunc(
pszFileN
ame);
TRACE("((
const char *)%s) stub\n", filen
ame);
retVal = pFunc(
filen
ame);
TRACE("returned (%ld)\n",(LONG)retVal));
return retVal;
}
...
...
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