summaryrefslogtreecommitdiff
path: root/mapi
diff options
context:
space:
mode:
authorAlain Magloire <alainm@gnu.org>2001-11-10 05:36:43 +0000
committerAlain Magloire <alainm@gnu.org>2001-11-10 05:36:43 +0000
commit9c0ae79f91519e50360bd8cc5ef6c683cb5501e1 (patch)
tree5e2c60501afdd6ed0d4adfa657cffaf1324a498d /mapi
parentf983a03b2135c3a28126f36cbaddccde54498cb9 (diff)
downloadmailutils-9c0ae79f91519e50360bd8cc5ef6c683cb5501e1.tar.gz
mailutils-9c0ae79f91519e50360bd8cc5ef6c683cb5501e1.tar.bz2
Stubs for Simple Message API (MS)
Diffstat (limited to 'mapi')
-rw-r--r--mapi/MAPIAddress.c28
-rw-r--r--mapi/MAPIDeleteMail.c26
-rw-r--r--mapi/MAPIDetails.c26
-rw-r--r--mapi/MAPIFindNext.c28
-rw-r--r--mapi/MAPIFreeBuffer.c26
-rw-r--r--mapi/MAPILogoff.c27
-rw-r--r--mapi/MAPILogon.c27
-rw-r--r--mapi/MAPIReadMail.c27
-rw-r--r--mapi/MAPISaveMail.c26
-rw-r--r--mapi/MAPISendDocuments.c28
-rw-r--r--mapi/MAPISendMail.c27
-rw-r--r--mapi/Makefile.am29
-rw-r--r--mapi/mapi.h185
13 files changed, 510 insertions, 0 deletions
diff --git a/mapi/MAPIAddress.c b/mapi/MAPIAddress.c
new file mode 100644
index 000000000..d1d9ee407
--- /dev/null
+++ b/mapi/MAPIAddress.c
@@ -0,0 +1,28 @@
+/* GNU mailutils - a suite of utilities for electronic mail
+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Library Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+
+#include <mailutils/mapi.h>
+
+ULONG
+MAPIAddress (LHANDLE lhSession, ULONG ulUIParam, LPTSTR lpszCaption,
+ ULONG nEditFields, LPTSTR lpszLabels, ULONG nRecips,
+ lpMapiRecipDesc lpRecips, FLAGS flFlags, ULONG ulReserved,
+ LPULONG lpnNewRecips, lpMapiRecipDesc * lppNewRecips)
+{
+ return MAPI_E_NOT_SUPPORTED;
+}
diff --git a/mapi/MAPIDeleteMail.c b/mapi/MAPIDeleteMail.c
new file mode 100644
index 000000000..e07f1ddeb
--- /dev/null
+++ b/mapi/MAPIDeleteMail.c
@@ -0,0 +1,26 @@
+/* GNU mailutils - a suite of utilities for electronic mail
+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Library Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+
+#include <mailutils/mapi.h>
+
+ULONG
+MAPIDeleteMail (LHANDLE lhSession, ULONG ulUIParam, LPTSTR lpszMessageID,
+ FLAGS flFlags, ULONG ulReserved)
+{
+ return MAPI_E_NOT_SUPPORTED;
+}
diff --git a/mapi/MAPIDetails.c b/mapi/MAPIDetails.c
new file mode 100644
index 000000000..b6942e70a
--- /dev/null
+++ b/mapi/MAPIDetails.c
@@ -0,0 +1,26 @@
+/* GNU mailutils - a suite of utilities for electronic mail
+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Library Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+
+#include <mailutils/mapi.h>
+
+ULONG
+MAPIDetails (LHANDLE lhSession, ULONG ulUIParam, lpMapiRecipDesc lpRecip,
+ FLAGS flFlags, ULONG ulReserved)
+{
+ return MAPI_E_NOT_SUPPORTED;
+}
diff --git a/mapi/MAPIFindNext.c b/mapi/MAPIFindNext.c
new file mode 100644
index 000000000..135b17334
--- /dev/null
+++ b/mapi/MAPIFindNext.c
@@ -0,0 +1,28 @@
+/* GNU mailutils - a suite of utilities for electronic mail
+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Library Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+
+#include <mailutils/mapi.h>
+
+ULONG
+MAPIFindNext (LHANDLE lhSession, ULONG ulUIParam, LPTSTR lpszMessageType,
+ LPTSTR lpszSeedMessageID, FLAGS flFlags, ULONG ulReserved,
+ LPTSTR lpszMessageID)
+{
+ return MAPI_E_NOT_SUPPORTED;
+}
+
diff --git a/mapi/MAPIFreeBuffer.c b/mapi/MAPIFreeBuffer.c
new file mode 100644
index 000000000..f81f1725b
--- /dev/null
+++ b/mapi/MAPIFreeBuffer.c
@@ -0,0 +1,26 @@
+/* GNU mailutils - a suite of utilities for electronic mail
+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Library Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+
+#include <mailutils/mapi.h>
+
+ULONG
+MAPIFreeBuffer (LPVOID lpBuffer)
+{
+ return MAPI_E_NOT_SUPPORTED;
+}
+
diff --git a/mapi/MAPILogoff.c b/mapi/MAPILogoff.c
new file mode 100644
index 000000000..9b4560bdd
--- /dev/null
+++ b/mapi/MAPILogoff.c
@@ -0,0 +1,27 @@
+/* GNU mailutils - a suite of utilities for electronic mail
+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Library Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+
+#include <mailutils/mapi.h>
+
+ULONG
+MAPILogoff (LHANDLE lhSession, ULONG ulUIParam, FLAGS flFlags,
+ ULONG ulReserved)
+{
+ return MAPI_E_NOT_SUPPORTED;
+}
+
diff --git a/mapi/MAPILogon.c b/mapi/MAPILogon.c
new file mode 100644
index 000000000..53f55d7a3
--- /dev/null
+++ b/mapi/MAPILogon.c
@@ -0,0 +1,27 @@
+/* GNU mailutils - a suite of utilities for electronic mail
+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Library Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+
+#include <mailutils/mapi.h>
+
+ULONG
+MAPILogon (ULONG ulUIParam, LPTSTR lpszProfileName, LPTSTR lpszPassword,
+ FLAGS flFlags, ULONG ulReserved, LPLHANDLE lplhSession)
+{
+ return MAPI_E_NOT_SUPPORTED;
+}
+
diff --git a/mapi/MAPIReadMail.c b/mapi/MAPIReadMail.c
new file mode 100644
index 000000000..0094703f9
--- /dev/null
+++ b/mapi/MAPIReadMail.c
@@ -0,0 +1,27 @@
+/* GNU mailutils - a suite of utilities for electronic mail
+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Library Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+
+#include <mailutils/mapi.h>
+
+ULONG
+MAPIReadMail (LHANDLE lhSession, ULONG ulUIParam,
+ LPTSTR lpszMessageID, FLAGS flFlags, ULONG ulReserved,
+ lpMapiMessage * lppMessage)
+{
+ return MAPI_E_NOT_SUPPORTED;
+}
diff --git a/mapi/MAPISaveMail.c b/mapi/MAPISaveMail.c
new file mode 100644
index 000000000..5aaccb57e
--- /dev/null
+++ b/mapi/MAPISaveMail.c
@@ -0,0 +1,26 @@
+/* GNU mailutils - a suite of utilities for electronic mail
+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Library Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+
+#include <mailutils/mapi.h>
+
+ULONG
+MAPISaveMail (LHANDLE lhSession, ULONG ulUIParam, lpMapiMessage lpMessage,
+ FLAGS flFlags, ULONG ulReserved, LPTSTR lpszMessageID)
+{
+ return MAPI_E_NOT_SUPPORTED;
+}
diff --git a/mapi/MAPISendDocuments.c b/mapi/MAPISendDocuments.c
new file mode 100644
index 000000000..5c2eedf82
--- /dev/null
+++ b/mapi/MAPISendDocuments.c
@@ -0,0 +1,28 @@
+/* GNU mailutils - a suite of utilities for electronic mail
+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Library Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+
+#include <mailutils/mapi.h>
+
+ULONG
+MAPISendDocuments (ULONG ulUIParam, LPTSTR lpszDelimChar,
+ LPTSTR lpszFullPaths, LPTSTR lpszFileNames,
+ ULONG ulReserved)
+{
+ return MAPI_E_NOT_SUPPORTED;
+}
+
diff --git a/mapi/MAPISendMail.c b/mapi/MAPISendMail.c
new file mode 100644
index 000000000..74299359a
--- /dev/null
+++ b/mapi/MAPISendMail.c
@@ -0,0 +1,27 @@
+/* GNU mailutils - a suite of utilities for electronic mail
+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Library Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+
+#include <mailutils/mapi.h>
+
+ULONG
+MAPISendMail (LHANDLE lhSession, ULONG ulUIParam, lpMapiMessage lpMessage,
+ FLAGS flFlags, ULONG ulReserved)
+{
+ return MAPI_E_NOT_SUPPORTED;
+}
+
diff --git a/mapi/Makefile.am b/mapi/Makefile.am
new file mode 100644
index 000000000..9647f0a34
--- /dev/null
+++ b/mapi/Makefile.am
@@ -0,0 +1,29 @@
+# Use automake to process this file -*-Makefile-*-
+
+AUTOMAKE_OPTIONS = ../lib/ansi2knr
+
+INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/mailbox/include
+
+SUBDIRS = include
+
+lib_LTLIBRARIES = libmapi.la
+
+/* FIXME: This should be part of the default includes. */
+EXTRA_DIST = mapi.h
+
+libmapi_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.a
+
+libmapi_la_SOURCES = \
+ MAPIAddress.c \
+ MAPIDeleteMail.c \
+ MAPIDetails.c \
+ MAPIFindNext.c \
+ MAPIFreeBuffer.c \
+ MAPILogoff.c \
+ MAPILogon.c \
+ MAPIReadMail.c \
+ MAPISaveMail.c \
+ MAPISendDocuments.c \
+ MAPISendMail.c
+
+libmapi_la_LDFLAGS = -version-info 0:0:0
diff --git a/mapi/mapi.h b/mapi/mapi.h
new file mode 100644
index 000000000..3330137c9
--- /dev/null
+++ b/mapi/mapi.h
@@ -0,0 +1,185 @@
+/* GNU mailutils - a suite of utilities for electronic mail
+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Library Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#ifndef _MAPI_H
+#define _MAPI_H
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef char * LPTSTR;
+typedef void * LPVOID;
+
+typedef unsigned long ULONG;
+typedef unsigned long * LPULONG;
+typedef unsigned long FLAGS;
+typedef unsigned long LHANDLE;
+typedef unsigned long * LPLHANDLE;
+
+#define MAPI_OLE 1
+#define MAPI_OLE_STATIC 2
+
+/* Constant values. */
+#define MAPI_ORIG 0
+#define MAPI_TO 1
+#define MAPI_CC 2
+#define MAPI_BCC 3
+
+/* FIXME: What are the values ? */
+#define MAPI_RECEIPT_REQUESTED
+#define MAPI_SENT
+#define MAPI_UNREAD
+
+#define MAPI_FORCE_DOWNLOAD
+#define MAPI_NEW_SESSION
+#define MAPI_LOGON_UI
+#define MAPI_PASSWORD_UI
+
+#define MAPI_GUARANTEE_FIFO
+#define MAPI_LONG_MSGID
+#define MAPI_UNREAD_ONLY
+
+#define MAPI_BODY_AS_FILE
+#define MAPI_ENVELOPE_ONLY
+#define MAPI_PEEK
+#define MAPI_SUPPRESS_ATTACH
+
+#define MAPI_AB_NOMODIFY
+#define MAPI_LOGON_UI
+#define MAPI_NEW_SESSION
+#define MAPI_DIALOG
+
+typedef struct
+{
+ ULONG ulReserved;
+ ULONG flFlags;
+ ULONG nPosition;
+ LPTSTR lpszPathName;
+ LPTSTR lpszFileName;
+ LPVOID lpFileType;
+} MapiFileDesc, *lpMapiFileDesc;
+
+typedef struct
+{
+ ULONG ulReserved;
+ ULONG ulRecipClass;
+ LPTSTR lpszName;
+ LPTSTR lpszAddress;
+ ULONG ulEIDSize;
+ LPVOID lpEntryID;
+} MapiRecipDesc, *lpMapiRecipDesc;
+
+
+typedef struct
+{
+ ULONG ulReserved;
+ LPTSTR lpszSubject;
+ LPTSTR lpszNoteText;
+ LPTSTR lpszMessageType;
+ LPTSTR lpszDateReceived;
+ LPTSTR lpszConversationID;
+ FLAGS flFlags;
+ lpMapiRecipDesc lpOriginator;
+ ULONG nRecipCount;
+ lpMapiRecipDesc lpRecips;
+ ULONG nFileCount;
+ lpMapiFileDesc lpFiles;
+} MapiMessage, *lpMapiMessage;
+
+ULONG MAPILogon (ULONG ulUIParam, LPTSTR lpszProfileName,
+ LPTSTR lpszPassword, FLAGS flFlags, ULONG ulReserved,
+ LPLHANDLE lplhSession);
+
+
+ULONG MAPILogoff (LHANDLE lhSession, ULONG ulUIParam, FLAGS flFlags,
+ ULONG ulReserved);
+
+ULONG MAPIFreeBuffer (LPVOID lpBuffer);
+
+ULONG MAPISendMail (LHANDLE lhSession, ULONG ulUIParam,
+ lpMapiMessage lpMessage, FLAGS flFlags,
+ ULONG ulReserved);
+
+ULONG MAPISendDocuments (ULONG ulUIParam, LPTSTR lpszDelimChar,
+ LPTSTR lpszFullPaths, LPTSTR lpszFileNames,
+ ULONG ulReserved);
+
+ULONG MAPIFindNext (LHANDLE lhSession, ULONG ulUIParam,
+ LPTSTR lpszMessageType, LPTSTR lpszSeedMessageID,
+ FLAGS flFlags, ULONG ulReserved, LPTSTR lpszMessageID);
+
+ULONG MAPIReadMail (LHANDLE lhSession, ULONG ulUIParam,
+ LPTSTR lpszMessageID, FLAGS flFlags, ULONG ulReserved,
+ lpMapiMessage * lppMessage);
+
+
+ULONG MAPISaveMail (LHANDLE lhSession, ULONG ulUIParam,
+ lpMapiMessage lpMessage, FLAGS flFlags,
+ ULONG ulReserved, LPTSTR lpszMessageID);
+
+ULONG MAPIDeleteMail (LHANDLE lhSession, ULONG ulUIParam,
+ LPTSTR lpszMessageID, FLAGS flFlags,
+ ULONG ulReserved);
+
+ULONG MAPIAddress (LHANDLE lhSession, ULONG ulUIParam, LPTSTR lpszCaption,
+ ULONG nEditFields, LPTSTR lpszLabels, ULONG nRecips,
+ lpMapiRecipDesc lpRecips, FLAGS flFlags,
+ ULONG ulReserved, LPULONG lpnNewRecips,
+ lpMapiRecipDesc * lppNewRecips);
+
+ULONG MAPIDetails (LHANDLE lhSession, ULONG ulUIParam,
+ lpMapiRecipDesc lpRecip, FLAGS flFlags,
+ ULONG ulReserved);
+
+ULONG MAPIResolveName (LHANDLE lhSession, ULONG ulUIParam, LPTSTR lpszName,
+ FLAGS flFlags, ULONG ulReserved,
+ lpMapiRecipDesc * lppRecip);
+
+#define SUCCESS_SUCCESS 0
+#define MAPI_USER_ABORT 1
+#define MAPI_E_FAILURE 2
+#define MAPI_E_LOGIN_FAILURE 3
+#define MAPI_E_DISK_FULL 4
+#define MAPI_E_INSUFFICIENT_MEMORY 5
+#define MAPI_E_ACCESS_DENIED 6
+#define MAPI_E_TOO_MANY_SESSIONS 8
+#define MAPI_E_TOO_MANY_FILES 9
+#define MAPI_E_TOO_MANY_RECIPIENTS 10
+#define MAPI_E_ATTACHMENT_NOT_FOUND 11
+#define MAPI_E_ATTACHMENT_OPEN_FAILURE 12
+#define MAPI_E_ATTACHMENT_WRITE_FAILURE 13
+#define MAPI_E_UNKNOWN_RECIPIENT 14
+#define MAPI_E_BAD_RECIPTYPE 15
+#define MAPI_E_NO_MESSAGES 16
+#define MAPI_E_INVALID_MESSAGE 17
+#define MAPI_E_TEXT_TOO_LARGE 18
+#define MAPI_E_INVALID_SESSION 19
+#define MAPI_E_TYPE_NOT_SUPPORTED 20
+#define MAPI_E_AMBIGUOUS_RECIPIENT 21
+#define MAPI_E_MESSAGE_IN_USE 22
+#define MAPI_E_NETWORK_FAILURE 23
+#define MAPI_E_INVALID_EDITFIELDS 24
+#define MAPI_E_INVALID_RECIPS 25
+#define MAPI_E_NOT_SUPPORTED 26
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _MAPI_H */

Return to:

Send suggestions and report system problems to the System administrator.