* Move some inclusions to the main header.
* Set the default debugging channel globally through the main header.
* Remove inclusions and definitions that already exist in the main header.
CORE-7716
svn path=/trunk/; revision=61357
* 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>
-//#include <stdio.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-//#include "winver.h"
-//#include "wincrypt.h"
-#include <winreg.h>
-#include <shlwapi.h>
-//#include "dbghelp.h"
-//#include "ole2.h"
-#include <fusion.h>
-#include <corerror.h>
-
#include "fusionpriv.h"
-#include <wine/debug.h>
-#include <wine/unicode.h>
-WINE_DEFAULT_DEBUG_CHANNEL(fusion);
+#include <corerror.h>
static const WCHAR cache_mutex_nameW[] =
{'_','_','W','I','N','E','_','F','U','S','I','O','N','_','C','A','C','H','E','_','M','U','T','E','X','_','_',0};
* 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 "winuser.h"
-#include <ole2.h>
-//#include "guiddef.h"
-#include <fusion.h>
-//#include "corerror.h"
#include "fusionpriv.h"
-#include <wine/debug.h>
-#include <wine/unicode.h>
#include <wine/list.h>
-WINE_DEFAULT_DEBUG_CHANNEL(fusion);
-
typedef struct _tagASMNAME
{
struct list entry;
* 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 "fusionpriv.h"
-#include <stdarg.h>
#include <assert.h>
-
-#define COBJMACROS
-#define INITGUID
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-#include <ole2.h>
-//#include "guiddef.h"
-#include <fusion.h>
#include <corerror.h>
-#include <wine/debug.h>
-#include <wine/unicode.h>
-#include "fusionpriv.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(fusion);
-
typedef struct {
IAssemblyName IAssemblyName_iface;
* 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>
-//#include <stdio.h>
+#include "fusionpriv.h"
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-#include <winver.h>
#include <wincrypt.h>
#include <dbghelp.h>
-#include <ole2.h>
-#include <fusion.h>
#include <corhdr.h>
-#include "fusionpriv.h"
-#include <wine/debug.h>
-#include <wine/unicode.h>
-
#define TableFromToken(tk) (TypeFromToken(tk) >> 24)
#define TokenFromTable(idx) (idx << 24)
* 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
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-#include <ole2.h>
-#include <fusion.h>
-#include <wine/debug.h>
-#include <wine/unicode.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(fusion);
-
+#include "fusionpriv.h"
/******************************************************************
* InitializeFusion (FUSION.@)
#ifndef __WINE_FUSION_PRIVATE__
#define __WINE_FUSION_PRIVATE__
-//#include <stdarg.h>
+#include <stdarg.h>
-//#include "windef.h"
-//#include "winbase.h"
-//#include "winuser.h"
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
+#define COBJMACROS
+#define NONAMELESSUNION
+#define NONAMELESSSTRUCT
+
+#define INITGUID
+
+#include <windef.h>
+#include <winbase.h>
#include <winver.h>
+#include <ole2.h>
+#include <fusion.h>
+
+#include <wine/unicode.h>
+
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(fusion);
#include <pshpack1.h>