Owen Rudge : include: Add MAPISendMailW definition and structures.

Alexandre Julliard julliard at winehq.org
Tue Apr 24 13:14:41 CDT 2012


Module: wine
Branch: master
Commit: e82e3e7fb6a913b7289f56aa4322b19253b85f09
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e82e3e7fb6a913b7289f56aa4322b19253b85f09

Author: Owen Rudge <orudge at codeweavers.com>
Date:   Mon Apr 23 14:05:43 2012 +0100

include: Add MAPISendMailW definition and structures.

---

 include/mapi.h |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/include/mapi.h b/include/mapi.h
index 548e130..1bd69e7 100644
--- a/include/mapi.h
+++ b/include/mapi.h
@@ -47,6 +47,16 @@ typedef struct
     LPVOID lpFileType;
 } MapiFileDesc, *lpMapiFileDesc;
 
+typedef struct
+{
+    ULONG ulReserved;
+    ULONG flFlags;
+    ULONG nPosition;
+    PWSTR lpszPathName;
+    PWSTR lpszFileName;
+    PVOID lpFileType;
+} MapiFileDescW, *lpMapiFileDescW;
+
 #ifndef MAPI_ORIG
 #define MAPI_ORIG   0
 #define MAPI_TO     1
@@ -67,6 +77,16 @@ typedef struct
 typedef struct
 {
     ULONG ulReserved;
+    ULONG ulRecipClass;
+    PWSTR lpszName;
+    PWSTR lpszAddress;
+    ULONG ulEIDSize;
+    PVOID lpEntryID;
+} MapiRecipDescW, *lpMapiRecipDescW;
+
+typedef struct
+{
+    ULONG ulReserved;
     LPSTR lpszSubject;
     LPSTR lpszNoteText;
     LPSTR lpszMessageType;
@@ -80,6 +100,21 @@ typedef struct
     lpMapiFileDesc lpFiles;
 } MapiMessage, *lpMapiMessage;
 
+typedef struct
+{
+    ULONG ulReserved;
+    PWSTR lpszSubject;
+    PWSTR lpszNoteText;
+    PWSTR lpszMessageType;
+    PWSTR lpszDateReceived;
+    PWSTR lpszConversationID;
+    FLAGS flFlags;
+    lpMapiRecipDescW lpOriginator;
+    ULONG nRecipCount;
+    lpMapiRecipDescW lpRecips;
+    ULONG nFileCount;
+    lpMapiFileDescW lpFiles;
+} MapiMessageW, *lpMapiMessageW;
 
 /* Error codes */
 
@@ -140,6 +175,10 @@ typedef struct
 
 #define MAPI_DIALOG             0x00000008
 
+/* MAPISendMailW */
+
+#define MAPI_FORCE_UNICODE      0x00040000
+
 
 /* API typedefs and prototypes */
 
@@ -194,6 +233,10 @@ typedef ULONG (WINAPI MAPISENDMAIL)(LHANDLE,ULONG_PTR,lpMapiMessage,FLAGS,ULONG)
 typedef MAPISENDMAIL *LPMAPISENDMAIL;
 MAPISENDMAIL MAPISendMail;
 
+typedef ULONG (WINAPI MAPISENDMAILW)(LHANDLE,ULONG_PTR,lpMapiMessageW,FLAGS,ULONG);
+typedef MAPISENDMAILW *LPMAPISENDMAILW;
+MAPISENDMAILW MAPISendMailW;
+
 #ifdef __cplusplus
 }
 #endif




More information about the wine-cvs mailing list