Francois Gouget : mapi32: Add a skeleton mapiform. h header with a proper prototype for MAPIOpenLocalFormContainer().

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 6 08:03:39 CDT 2007


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sat Aug  4 03:25:15 2007 +0200

mapi32: Add a skeleton mapiform.h header with a proper prototype for MAPIOpenLocalFormContainer().

---

 dlls/mapi32/mapi32_main.c |    1 +
 include/Makefile.in       |    1 +
 include/mapiform.h        |   47 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/dlls/mapi32/mapi32_main.c b/dlls/mapi32/mapi32_main.c
index 983dc24..a985ac6 100644
--- a/dlls/mapi32/mapi32_main.c
+++ b/dlls/mapi32/mapi32_main.c
@@ -25,6 +25,7 @@
 #include "winerror.h"
 #include "objbase.h"
 #include "mapix.h"
+#include "mapiform.h"
 #include "mapi.h"
 #include "wine/debug.h"
 
diff --git a/include/Makefile.in b/include/Makefile.in
index 0810f81..07daf60 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -209,6 +209,7 @@ SRCDIR_INCLUDES = \
 	mapi.h \
 	mapicode.h \
 	mapidefs.h \
+	mapiform.h \
 	mapiguid.h \
 	mapitags.h \
 	mapiutil.h \
diff --git a/include/mapiform.h b/include/mapiform.h
new file mode 100644
index 0000000..d9375ce
--- /dev/null
+++ b/include/mapiform.h
@@ -0,0 +1,47 @@
+/*
+ * Copyright (C) 1998 Justin Bradford
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef MAPIFORM_H
+#define MAPIFORM_H
+
+#include <mapidefs.h>
+#include <mapicode.h>
+#include <mapiguid.h>
+#include <mapitags.h>
+
+
+typedef ULONG HFRMREG;
+#define HFRMREG_DEFAULT            0
+#define HFRMREG_LOCAL              1
+#define HFRMREG_PERSONAL           2
+#define HFRMREG_FOLDER             3
+
+typedef const char **LPPCSTR;
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+HRESULT     WINAPI MAPIOpenLocalFormContainer(LPVOID*);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* MAPIFORM_H */




More information about the wine-cvs mailing list