Owen Rudge : include: Redefine LHANDLE as ULONG_PTR.
Alexandre Julliard
julliard at winehq.org
Thu Dec 17 10:37:11 CST 2009
Module: wine
Branch: master
Commit: 4c8bd544e14c170aa94c3d7c85e12960c91d1ec8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4c8bd544e14c170aa94c3d7c85e12960c91d1ec8
Author: Owen Rudge <orudge at codeweavers.com>
Date: Wed Dec 16 10:44:20 2009 -0600
include: Redefine LHANDLE as ULONG_PTR.
---
dlls/mapi32/sendmail.c | 2 +-
include/mapi.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/mapi32/sendmail.c b/dlls/mapi32/sendmail.c
index cbbff98..6f1d554 100644
--- a/dlls/mapi32/sendmail.c
+++ b/dlls/mapi32/sendmail.c
@@ -402,7 +402,7 @@ ULONG WINAPI MAPISendMail( LHANDLE session, ULONG_PTR uiparam,
HRESULT res;
DWORD size;
- TRACE( "(0x%08x 0x%08lx %p 0x%08x 0x%08x)\n", session, uiparam,
+ TRACE( "(0x%08lx 0x%08lx %p 0x%08x 0x%08x)\n", session, uiparam,
message, flags, reserved );
/* Check to see if we have a Simple MAPI provider loaded */
diff --git a/include/mapi.h b/include/mapi.h
index 2d335ea..7d19734 100644
--- a/include/mapi.h
+++ b/include/mapi.h
@@ -27,7 +27,7 @@ extern "C" {
#ifndef __LHANDLE
#define __LHANDLE
-typedef ULONG LHANDLE, *LPLHANDLE;
+typedef ULONG_PTR LHANDLE, *LPLHANDLE;
#endif
#define lhSessionNull ((LHANDLE)0)
More information about the wine-cvs
mailing list