* Create a main header and move some inclusions to it.
* Set the default debugging channel globally through the main header.
* Remove inclusions that already exist in the main resource file.
CORE-7716

svn path=/trunk/; revision=61391
This commit is contained in:
Amine Khaldi 2013-12-24 22:50:09 +00:00
parent 3ebada04e3
commit 7286365580
30 changed files with 41 additions and 145 deletions

View file

@ -18,28 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#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);
#include "precomp.h"
static const IMallocVtbl MAPI_IMalloc_vt;

View file

@ -20,8 +20,6 @@
*
*/
#include "res.h"
LANGUAGE LANG_WELSH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -20,8 +20,6 @@
*
*/
#include "res.h"
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
*
*/
#include "res.h"
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
STRINGTABLE

View file

@ -19,8 +19,6 @@
*
*/
#include "res.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
*
*/
#include "res.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -19,8 +19,6 @@
*
*/
#include "res.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -20,8 +20,6 @@
*
*/
#include "res.h"
LANGUAGE LANG_GAELIC, SUBLANG_GAELIC
STRINGTABLE

View file

@ -21,8 +21,6 @@
*
*/
#include "res.h"
LANGUAGE LANG_HEBREW, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,8 +19,6 @@
*
*/
#include "res.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -20,8 +20,6 @@
*
*/
#include "res.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -20,8 +20,6 @@
*
*/
#include "res.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -20,8 +20,6 @@
*
*/
#include "res.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -19,8 +19,6 @@
*
*/
#include "res.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -19,8 +19,6 @@
*
*/
#include "res.h"
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
#pragma code_page(65001)

View file

@ -19,8 +19,6 @@
*
*/
#include "res.h"
#pragma code_page(65001)
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL

View file

@ -19,8 +19,6 @@
*
*/
#include "res.h"
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -20,8 +20,6 @@
*
*/
#include "res.h"
#pragma code_page(65001)
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN

View file

@ -18,8 +18,6 @@
*
*/
#include "res.h"
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
#pragma code_page(65001)

View file

@ -19,8 +19,6 @@
*
*/
#include "res.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -19,8 +19,6 @@
*
*/
#include "res.h"
#pragma code_page(65001)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT

View file

@ -20,8 +20,6 @@
*
*/
#include "res.h"
/* UTF-8 */
#pragma code_page(65001)

View file

@ -18,24 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#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;

View file

@ -0,0 +1,30 @@
#ifndef _MAPI32_PCH_
#define _MAPI32_PCH_
#include <config.h>
#include <stdarg.h>
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <initguid.h>
#include <mapival.h>
#include <mapiutil.h>
#include <wine/unicode.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(mapi);
#include "util.h"
#endif /* _MAPI32_PCH_ */

View file

@ -18,26 +18,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include "precomp.h"
#include <stdarg.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#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);

View file

@ -19,7 +19,7 @@
*
*/
//#include <windef.h>
#pragma once
/* Strings */
#define IDS_NO_MAPI_CLIENT 1

View file

@ -19,37 +19,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include "precomp.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 <wine/unicode.h>
#include "util.h"
#include "res.h"
WINE_DEFAULT_DEBUG_CHANNEL(mapi);
#include "res.h"
#define READ_BUF_SIZE 4096

View file

@ -1,10 +1,12 @@
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <mapix.h>
#include <reactos/debug.h>
typedef PVOID LPMAPIFORMMGR, LPADDRESSBOOK;

View file

@ -19,32 +19,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include "precomp.h"
//#include <stdarg.h>
#include <stdio.h>
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#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,

View file

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "res.h"
#define WINE_FILEDESCRIPTION_STR "Wine Messaging API"
#define WINE_FILENAME_STR "mapi32.dll"
#define WINE_FILEVERSION 1,0,0,0