include: Add MAPISendMailW definition and structures.
This commit is contained in:
parent
9472b8ca43
commit
e82e3e7fb6
|
@ -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
|
||||||
|
@ -64,6 +74,16 @@ typedef struct
|
||||||
LPVOID lpEntryID;
|
LPVOID lpEntryID;
|
||||||
} MapiRecipDesc, *lpMapiRecipDesc;
|
} MapiRecipDesc, *lpMapiRecipDesc;
|
||||||
|
|
||||||
|
typedef struct
|
||||||
|
{
|
||||||
|
ULONG ulReserved;
|
||||||
|
ULONG ulRecipClass;
|
||||||
|
PWSTR lpszName;
|
||||||
|
PWSTR lpszAddress;
|
||||||
|
ULONG ulEIDSize;
|
||||||
|
PVOID lpEntryID;
|
||||||
|
} MapiRecipDescW, *lpMapiRecipDescW;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
ULONG ulReserved;
|
ULONG ulReserved;
|
||||||
|
@ -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
|
||||||
|
|
||||||
#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)
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue