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 ...@@ -47,6 +47,16 @@ typedef struct
LPVOID lpFileType; LPVOID lpFileType;
} MapiFileDesc, *lpMapiFileDesc; } MapiFileDesc, *lpMapiFileDesc;
typedef struct
{
ULONG ulReserved;
ULONG flFlags;
ULONG nPosition;
PWSTR lpszPathName;
PWSTR lpszFileName;
PVOID lpFileType;
} MapiFileDescW, *lpMapiFileDescW;
#ifndef MAPI_ORIG #ifndef MAPI_ORIG
#define MAPI_ORIG 0 #define MAPI_ORIG 0
#define MAPI_TO 1 #define MAPI_TO 1
...@@ -67,6 +77,16 @@ typedef struct ...@@ -67,6 +77,16 @@ typedef struct
typedef struct typedef struct
{ {
ULONG ulReserved; ULONG ulReserved;
ULONG ulRecipClass;
PWSTR lpszName;
PWSTR lpszAddress;
ULONG ulEIDSize;
PVOID lpEntryID;
} MapiRecipDescW, *lpMapiRecipDescW;
typedef struct
{
ULONG ulReserved;
LPSTR lpszSubject; LPSTR lpszSubject;
LPSTR lpszNoteText; LPSTR lpszNoteText;
LPSTR lpszMessageType; LPSTR lpszMessageType;
...@@ -80,6 +100,21 @@ typedef struct ...@@ -80,6 +100,21 @@ typedef struct
lpMapiFileDesc lpFiles; lpMapiFileDesc lpFiles;
} MapiMessage, *lpMapiMessage; } 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 */ /* Error codes */
...@@ -140,6 +175,10 @@ typedef struct ...@@ -140,6 +175,10 @@ typedef struct
#define MAPI_DIALOG 0x00000008 #define MAPI_DIALOG 0x00000008
/* MAPISendMailW */
#define MAPI_FORCE_UNICODE 0x00040000
/* API typedefs and prototypes */ /* API typedefs and prototypes */
...@@ -194,6 +233,10 @@ typedef ULONG (WINAPI MAPISENDMAIL)(LHANDLE,ULONG_PTR,lpMapiMessage,FLAGS,ULONG) ...@@ -194,6 +233,10 @@ typedef ULONG (WINAPI MAPISENDMAIL)(LHANDLE,ULONG_PTR,lpMapiMessage,FLAGS,ULONG)
typedef MAPISENDMAIL *LPMAPISENDMAIL; typedef MAPISENDMAIL *LPMAPISENDMAIL;
MAPISENDMAIL MAPISendMail; MAPISENDMAIL MAPISendMail;
typedef ULONG (WINAPI MAPISENDMAILW)(LHANDLE,ULONG_PTR,lpMapiMessageW,FLAGS,ULONG);
typedef MAPISENDMAILW *LPMAPISENDMAILW;
MAPISENDMAILW MAPISendMailW;
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #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