projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
be44829
)
[MAPI32] Sync with Wine Staging 3.3. CORE-14434
author
Amine Khaldi
<amine.khaldi@reactos.org>
Sat, 17 Mar 2018 12:16:08 +0000
(13:16 +0100)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Sat, 17 Mar 2018 12:16:08 +0000
(13:16 +0100)
dll/win32/mapi32/imalloc.c
patch
|
blob
|
history
dll/win32/mapi32/mapi32_main.c
patch
|
blob
|
history
dll/win32/mapi32/precomp.h
patch
|
blob
|
history
dll/win32/mapi32/prop.c
patch
|
blob
|
history
dll/win32/mapi32/res.h
patch
|
blob
|
history
dll/win32/mapi32/sendmail.c
patch
|
blob
|
history
dll/win32/mapi32/stubs.c
patch
|
blob
|
history
dll/win32/mapi32/util.c
patch
|
blob
|
history
dll/win32/mapi32/util.h
patch
|
blob
|
history
media/doc/README.WINE
patch
|
blob
|
history
diff --git
a/dll/win32/mapi32/imalloc.c
b/dll/win32/mapi32/imalloc.c
index
01cc61c
..
3e95a6c
100644
(file)
--- a/
dll/win32/mapi32/imalloc.c
+++ b/
dll/win32/mapi32/imalloc.c
@@
-18,7
+18,23
@@
* 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;
diff --git
a/dll/win32/mapi32/mapi32_main.c
b/dll/win32/mapi32/mapi32_main.c
index
471010a
..
0dcc811
100644
(file)
--- a/
dll/win32/mapi32/mapi32_main.c
+++ b/
dll/win32/mapi32/mapi32_main.c
@@
-18,7
+18,20
@@
* 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;
diff --git
a/dll/win32/mapi32/precomp.h
b/dll/win32/mapi32/precomp.h
index
c22246f
..
36a4771
100644
(file)
--- a/
dll/win32/mapi32/precomp.h
+++ b/
dll/win32/mapi32/precomp.h
@@
-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_ */
diff --git
a/dll/win32/mapi32/prop.c
b/dll/win32/mapi32/prop.c
index
1e323b1
..
03df644
100644
(file)
--- a/
dll/win32/mapi32/prop.c
+++ b/
dll/win32/mapi32/prop.c
@@
-18,9
+18,21
@@
* 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);
diff --git
a/dll/win32/mapi32/res.h
b/dll/win32/mapi32/res.h
index
28b33d4
..
4952a2d
100644
(file)
--- a/
dll/win32/mapi32/res.h
+++ b/
dll/win32/mapi32/res.h
@@
-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
diff --git
a/dll/win32/mapi32/sendmail.c
b/dll/win32/mapi32/sendmail.c
index
26883b0
..
9ebb220
100644
(file)
--- a/
dll/win32/mapi32/sendmail.c
+++ b/
dll/win32/mapi32/sendmail.c
@@
-19,12
+19,33
@@
* 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
diff --git
a/dll/win32/mapi32/stubs.c
b/dll/win32/mapi32/stubs.c
index
65da2d5
..
87e4f2f
100644
(file)
--- a/
dll/win32/mapi32/stubs.c
+++ b/
dll/win32/mapi32/stubs.c
@@
-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
diff --git
a/dll/win32/mapi32/util.c
b/dll/win32/mapi32/util.c
index
913497f
..
13e4aff
100644
(file)
--- a/
dll/win32/mapi32/util.c
+++ b/
dll/win32/mapi32/util.c
@@
-19,12
+19,27
@@
* 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,
diff --git
a/dll/win32/mapi32/util.h
b/dll/win32/mapi32/util.h
index
20db3d5
..
e8a5241
100644
(file)
--- a/
dll/win32/mapi32/util.h
+++ b/
dll/win32/mapi32/util.h
@@
-19,8
+19,12
@@
*/
#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
diff --git
a/media/doc/README.WINE
b/media/doc/README.WINE
index
5e7bf6d
..
a07c99f
100644
(file)
--- a/
media/doc/README.WINE
+++ b/
media/doc/README.WINE
@@
-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