From 4c8bd544e14c170aa94c3d7c85e12960c91d1ec8 Mon Sep 17 00:00:00 2001 From: Owen Rudge Date: Wed, 16 Dec 2009 10:44:20 -0600 Subject: [PATCH] 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 cbbff9847e9..6f1d5543028 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 2d335ea588a..7d19734c599 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)