Commit e82e3e7f authored by Owen Rudge's avatar Owen Rudge Committed by Alexandre Julliard

include: Add MAPISendMailW definition and structures.

parent 9472b8ca
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment