Add some missing definitions to mmreg.h.

Add #define NOBITMAP where needed in the Wine sources.
Fixes the compilation of msacm/tests/msacm.c with the Windows
headers.
This commit is contained in:
Francois Gouget 2004-08-11 19:35:34 +00:00 committed by Alexandre Julliard
parent a560bcb834
commit 076d78b903
7 changed files with 40 additions and 2 deletions

View File

@ -27,6 +27,7 @@
#include "winnls.h" #include "winnls.h"
#include "winerror.h" #include "winerror.h"
#include "mmsystem.h" #include "mmsystem.h"
#define NOBITMAP
#include "mmreg.h" #include "mmreg.h"
#include "msacm.h" #include "msacm.h"
#include "msacmdrv.h" #include "msacmdrv.h"

View File

@ -28,6 +28,7 @@
#include "winerror.h" #include "winerror.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "mmsystem.h" #include "mmsystem.h"
#define NOBITMAP
#include "mmreg.h" #include "mmreg.h"
#include "msacm.h" #include "msacm.h"
#include "msacmdrv.h" #include "msacmdrv.h"

View File

@ -24,6 +24,7 @@
#include "winbase.h" #include "winbase.h"
#include "winerror.h" #include "winerror.h"
#include "mmsystem.h" #include "mmsystem.h"
#define NOBITMAP
#include "mmreg.h" #include "mmreg.h"
#include "msacm.h" #include "msacm.h"
#include "msacmdrv.h" #include "msacmdrv.h"
@ -459,5 +460,3 @@ MMRESULT16 WINAPI acmStreamUnprepareHeader16(
* FIXME * FIXME
* No documentation found. * No documentation found.
*/ */

View File

@ -38,6 +38,7 @@
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "mmsystem.h" #include "mmsystem.h"
#define NOBITMAP
#include "mmreg.h" #include "mmreg.h"
#include "msacm.h" #include "msacm.h"
#include "wingdi.h" #include "wingdi.h"

View File

@ -35,6 +35,7 @@
#include "winerror.h" #include "winerror.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "mmsystem.h" #include "mmsystem.h"
#define NOBITMAP
#include "mmreg.h" #include "mmreg.h"
#include "msacm.h" #include "msacm.h"
#include "msacmdrv.h" #include "msacmdrv.h"

View File

@ -28,6 +28,7 @@
#include "winbase.h" #include "winbase.h"
#include "winnls.h" #include "winnls.h"
#include "mmsystem.h" #include "mmsystem.h"
#define NOBITMAP
#include "mmreg.h" #include "mmreg.h"
#include "msacm.h" #include "msacm.h"

View File

@ -457,4 +457,38 @@ typedef WAVEFORMATIEEEFLOATEX* LPWAVEFORMATIEEEFLOATEX;
#endif /* _SPEAKER_POSITIONS_ */ #endif /* _SPEAKER_POSITIONS_ */
/* DIB stuff */
#ifndef BI_BITFIELDS
#define BI_BITFIELDS 3
#endif
#ifndef QUERYDIBSUPPORT
#define QUERYDIBSUPPORT 3073
#define QDI_SETDIBITS 1
#define QDI_GETDIBITS 2
#define QDI_DIBTOSCREEN 4
#define QDI_STRETCHDIB 8
#endif
#ifndef NOBITMAP
typedef struct tagEXBMINFOHEADER {
BITMAPINFOHEADER bmi;
DWORD biExtDataOffset;
} EXBMINFOHEADER;
#endif
/* Video stuff */
#ifndef NONEWIC
#ifndef ICTYPE_VIDEO
#define ICTYPE_VIDEO mmioFOURCC('v', 'i', 'd', 'c')
#define ICTYPE_AUDIO mmioFOURCC('a', 'u', 'd', 'c')
#endif
#endif
#endif /* __WINE_MMREG_H */ #endif /* __WINE_MMREG_H */