Commit 076d78b9 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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.
parent a560bcb8
...@@ -27,6 +27,7 @@ ...@@ -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"
......
...@@ -28,6 +28,7 @@ ...@@ -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"
......
...@@ -24,6 +24,7 @@ ...@@ -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( ...@@ -459,5 +460,3 @@ MMRESULT16 WINAPI acmStreamUnprepareHeader16(
* FIXME * FIXME
* No documentation found. * No documentation found.
*/ */
...@@ -38,6 +38,7 @@ ...@@ -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"
......
...@@ -35,6 +35,7 @@ ...@@ -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"
......
...@@ -28,6 +28,7 @@ ...@@ -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"
......
...@@ -457,4 +457,38 @@ typedef WAVEFORMATIEEEFLOATEX* LPWAVEFORMATIEEEFLOATEX; ...@@ -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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment