[MAPI32] Sync with Wine Staging 3.3. CORE-14434
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 17 Mar 2018 12:16:08 +0000 (13:16 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 17 Mar 2018 12:16:08 +0000 (13:16 +0100)
dll/win32/mapi32/imalloc.c
dll/win32/mapi32/mapi32_main.c
dll/win32/mapi32/precomp.h
dll/win32/mapi32/prop.c
dll/win32/mapi32/res.h
dll/win32/mapi32/sendmail.c
dll/win32/mapi32/stubs.c
dll/win32/mapi32/util.c
dll/win32/mapi32/util.h
media/doc/README.WINE

index 01cc61c..3e95a6c 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#include "precomp.h"
+#include <stdarg.h>
+
+#define COBJMACROS
+
+#include "windef.h"
+#include "winbase.h"
+#include "winreg.h"
+#include "winuser.h"
+#include "winerror.h"
+#include "winternl.h"
+#include "objbase.h"
+#include "shlwapi.h"
+#include "mapiutil.h"
+#include "util.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(mapi);
 
 static const IMallocVtbl MAPI_IMalloc_vt;
 
 
 static const IMallocVtbl MAPI_IMalloc_vt;
 
index 471010a..0dcc811 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#include "precomp.h"
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "winerror.h"
+#include "objbase.h"
+#include "initguid.h"
+#include "mapix.h"
+#include "mapiform.h"
+#include "mapi.h"
+#include "wine/debug.h"
+#include "util.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(mapi);
 
 DECLSPEC_HIDDEN LONG MAPI_ObjectCount = 0;
 DECLSPEC_HIDDEN HINSTANCE hInstMAPI32;
 
 DECLSPEC_HIDDEN LONG MAPI_ObjectCount = 0;
 DECLSPEC_HIDDEN HINSTANCE hInstMAPI32;
index c22246f..36a4771 100644 (file)
@@ -1,3 +1,4 @@
+
 #ifndef _MAPI32_PCH_
 #define _MAPI32_PCH_
 
 #ifndef _MAPI32_PCH_
 #define _MAPI32_PCH_
 
@@ -25,6 +26,4 @@
 
 #include "util.h"
 
 
 #include "util.h"
 
-WINE_DEFAULT_DEBUG_CHANNEL(mapi);
-
-#endif /* _MAPI32_PCH_ */
+#endif /* !_MAPI32_PCH_ */
index 1e323b1..03df644 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#include "precomp.h"
-
-#include <wine/list.h>
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "winreg.h"
+#include "winerror.h"
+#include "winternl.h"
+#include "objbase.h"
+#include "shlwapi.h"
+#include "wine/list.h"
+#include "wine/debug.h"
+#include "wine/unicode.h"
+#include "mapival.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(mapi);
 
 BOOL WINAPI FBadRglpszA(LPSTR*,ULONG);
 
 
 BOOL WINAPI FBadRglpszA(LPSTR*,ULONG);
 
index 28b33d4..4952a2d 100644 (file)
@@ -21,6 +21,8 @@
 
 #pragma once
 
 
 #pragma once
 
+#include <windef.h>
+
 /* Strings */
 #define IDS_NO_MAPI_CLIENT   1
 #define IDS_SEND_MAIL        2
 /* Strings */
 #define IDS_NO_MAPI_CLIENT   1
 #define IDS_SEND_MAIL        2
index 26883b0..9ebb220 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#include "precomp.h"
-
-#include <winuser.h>
-
+#include "config.h"
+#include "wine/port.h"
+
+#include <stdio.h>
+#include <stdarg.h>
+
+#define COBJMACROS
+
+#include "windef.h"
+#include "winbase.h"
+#include "winerror.h"
+#include "winuser.h"
+#include "objbase.h"
+#include "objidl.h"
+#include "mapi.h"
+#include "mapix.h"
+#include "mapiutil.h"
+#include "mapidefs.h"
+#include "winreg.h"
+#include "shellapi.h"
+#include "shlwapi.h"
+#include "wine/debug.h"
+#include "util.h"
 #include "res.h"
 
 #include "res.h"
 
+WINE_DEFAULT_DEBUG_CHANNEL(mapi);
+
 #define READ_BUF_SIZE    4096
 
 #define STORE_UNICODE_OK  0x00040000
 #define READ_BUF_SIZE    4096
 
 #define STORE_UNICODE_OK  0x00040000
index 65da2d5..87e4f2f 100644 (file)
@@ -1,5 +1,7 @@
 #include "precomp.h"
 
 #include "precomp.h"
 
+WINE_DEFAULT_DEBUG_CHANNEL(mapi);
+
 typedef PVOID LPMAPIFORMMGR, LPADDRESSBOOK;
 
 HRESULT
 typedef PVOID LPMAPIFORMMGR, LPADDRESSBOOK;
 
 HRESULT
index 913497f..13e4aff 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#include "precomp.h"
-
+#include <stdarg.h>
 #include <stdio.h>
 #include <stdio.h>
-#include <winternl.h>
-#include <xcmc.h>
-#include <msi.h>
+
+#define COBJMACROS
+
+#include "windef.h"
+#include "winbase.h"
+#include "winreg.h"
+#include "winuser.h"
+#include "winerror.h"
+#include "winternl.h"
+#include "objbase.h"
+#include "shlwapi.h"
+#include "wine/debug.h"
+#include "wine/unicode.h"
+#include "mapival.h"
+#include "xcmc.h"
+#include "msi.h"
+#include "util.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(mapi);
 
 static const BYTE digitsToHex[] = {
   0,1,2,3,4,5,6,7,8,9,0xff,0xff,0xff,0xff,0xff,0xff,0xff,10,11,12,13,14,15,
 
 static const BYTE digitsToHex[] = {
   0,1,2,3,4,5,6,7,8,9,0xff,0xff,0xff,0xff,0xff,0xff,0xff,10,11,12,13,14,15,
index 20db3d5..e8a5241 100644 (file)
  */
 
 #ifndef _MAPI_UTIL_H
  */
 
 #ifndef _MAPI_UTIL_H
+
 #define _MAPI_UTIL_H
 
 #define _MAPI_UTIL_H
 
+#include <mapi.h>
+#include <mapix.h>
+
 extern void load_mapi_providers(void) DECLSPEC_HIDDEN;
 extern void unload_mapi_providers(void) DECLSPEC_HIDDEN;
 
 extern void load_mapi_providers(void) DECLSPEC_HIDDEN;
 extern void unload_mapi_providers(void) DECLSPEC_HIDDEN;
 
@@ -61,4 +65,4 @@ typedef struct MAPI_FUNCTIONS {
 extern MAPI_FUNCTIONS mapiFunctions DECLSPEC_HIDDEN;
 extern HINSTANCE hInstMAPI32 DECLSPEC_HIDDEN;
 
 extern MAPI_FUNCTIONS mapiFunctions DECLSPEC_HIDDEN;
 extern HINSTANCE hInstMAPI32 DECLSPEC_HIDDEN;
 
-#endif /* _MAPI_UTIL_H */
+#endif
index 5e7bf6d..a07c99f 100644 (file)
@@ -89,7 +89,7 @@ reactos/dll/win32/jscript             # Synced to WineStaging-3.3
 reactos/dll/win32/jsproxy             # Synced to WineStaging-3.3
 reactos/dll/win32/loadperf            # Synced to WineStaging-3.3
 reactos/dll/win32/lz32                # Synced to WineStaging-3.3
 reactos/dll/win32/jsproxy             # Synced to WineStaging-3.3
 reactos/dll/win32/loadperf            # Synced to WineStaging-3.3
 reactos/dll/win32/lz32                # Synced to WineStaging-3.3
-reactos/dll/win32/mapi32              # Synced to WineStaging-2.16
+reactos/dll/win32/mapi32              # Synced to WineStaging-3.3
 reactos/dll/win32/mciavi32            # Synced to WineStaging-2.9
 reactos/dll/win32/mcicda              # Synced to WineStaging-2.9
 reactos/dll/win32/mciqtz32            # Synced to WineStaging-2.9
 reactos/dll/win32/mciavi32            # Synced to WineStaging-2.9
 reactos/dll/win32/mcicda              # Synced to WineStaging-2.9
 reactos/dll/win32/mciqtz32            # Synced to WineStaging-2.9