include: Some DirectX headers are supposed to define COM_NO_WINDOWS_H.

This commit is contained in:
Francois Gouget 2006-11-07 00:45:16 +01:00 committed by Alexandre Julliard
parent ff64e09605
commit 6688acce7d
9 changed files with 10 additions and 0 deletions

View File

@ -20,6 +20,8 @@
#define __WINE_D3D_H
#include <stdlib.h>
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <d3dtypes.h> /* must precede d3dcaps.h */
#include <d3dcaps.h>

View File

@ -23,6 +23,7 @@
#define DIRECT3D_VERSION 0x0800
#endif
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <d3d8types.h>

View File

@ -24,6 +24,7 @@
#define DIRECT3D_VERSION 0x0900
#endif
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <d3d9types.h>

View File

@ -19,6 +19,7 @@
#ifndef __WINE_DDRAW_H
#define __WINE_DDRAW_H
#define COM_NO_WINDOWS_H
#include <objbase.h>
#ifdef __cplusplus

View File

@ -19,6 +19,7 @@
#ifndef __WINE_DINPUT_H
#define __WINE_DINPUT_H
#define COM_NO_WINDOWS_H
#include <objbase.h>
#ifndef DIRECTINPUT_VERSION

View File

@ -25,6 +25,7 @@
#include <windows.h>
#endif /* __WINESRC__ */
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <mmsystem.h>
#include <dmusici.h>

View File

@ -24,6 +24,7 @@
#include <windows.h>
#endif /* __WINESRC__ */
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <mmsystem.h>

View File

@ -25,6 +25,7 @@
#include <windows.h>
#endif /* __WINESRC__ */
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <mmsystem.h>
#include <pshpack8.h>

View File

@ -27,6 +27,7 @@
#include <oleauto.h> /* VARIANT */
#endif /* __WINESRC__ */
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <mmsystem.h>
#include <dmusicc.h>