[pkg-wine-party] [wine] 93/195: winedump: Update README.
Michael Gilbert
mgilbert at moszumanska.debian.org
Sat Aug 8 21:56:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
mgilbert pushed a commit to branch master
in repository wine.
commit d259eaf28f938c396263c5d9072257ed41205c29
Author: Austin English <austinenglish at gmail.com>
Date: Fri Jul 31 12:33:30 2015 -0500
winedump: Update README.
---
tools/winedump/README | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/tools/winedump/README b/tools/winedump/README
index cc8b3ec..1f8a442 100644
--- a/tools/winedump/README
+++ b/tools/winedump/README
@@ -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 pszFileName);
+BOOL __stdcall ZIPEXTRA__OpenZipFile(const char *filename);
.c:
-BOOL __stdcall ZIPEXTRA__OpenZipFile(LPCSTR pszFileName)
+BOOL __stdcall ZIPEXTRA__OpenZipFile(const char *filename)
{
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 lpvReserved)
+BOOL WINAPI ZIPEXTRA_Init(HINSTANCE dll, DWORD reason, void *reserved)
{
- TRACE("(0x%08x, %ld, %p)\n", hinstDLL, fdwReason, lpvReserved);
+ TRACE("(0x%08x, %u, %p)\n", dll, reason, reserved);
- if (fdwReason == DLL_PROCESS_ATTACH)
+ if (reason == DLL_PROCESS_ATTACH)
{
hDLL = LoadLibraryA( "real_zipextra" );
TRACE ("Forwarding DLL (real_zipextra) loaded\n" );
}
- else if (fdwReason == DLL_PROCESS_DETACH)
+ else if (reason == 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 pszFileName)
+BOOL __stdcall ZIPEXTRA__OpenZipFile(const char *filename)
{
- BOOL (__stdcall *pFunc)(LPCSTR) = (void*)GetProcAddress(hDLL,"_OpenZipFile");
+ BOOL (__stdcall *pFunc)(const char *) = (void*)GetProcAddress(hDLL,"_OpenZipFile");
BOOL retVal;
- TRACE("((LPCSTR)%s) stub\n", pszFileName);
- retVal = pFunc(pszFileName);
+ TRACE("((const char *)%s) stub\n", filename);
+ retVal = pFunc(filename);
TRACE("returned (%ld)\n",(LONG)retVal));
return retVal;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git
More information about the pkg-wine-party
mailing list