Fix compilation error in winmm tests
Francois Gouget
fgouget at free.fr
Fri Aug 13 06:36:31 CDT 2004
I could not find the DRV_QUERYDEVICEINTERFACE(SIZE) macros anywhere in
the 2003/02 platform sdk or the 2000 ddk. Maybe they are defined in more
recent versions of one of these. In any case it's simple (and common
practice) to just define them if it's not already the case.
Changelog:
* dlls/winmm/tests/winmm_test.h
The Windows headers don't define the DRV_QUERYDEVICEINTERFACE(SIZE)
macros.
Index: dlls/winmm/tests/winmm_test.h
===================================================================
RCS file: /var/cvs/wine/dlls/winmm/tests/winmm_test.h,v
retrieving revision 1.6
diff -u -r1.6 winmm_test.h
--- dlls/winmm/tests/winmm_test.h 2 Aug 2004 22:29:02 -0000 1.6
+++ dlls/winmm/tests/winmm_test.h 12 Aug 2004 09:25:16 -0000
@@ -26,6 +26,13 @@
#define WAVE_FORMAT_96M16 0x00040000 /* 96 kHz, Mono, 16-bit */
#define WAVE_FORMAT_96S16 0x00080000 /* 96 kHz, Stereo, 16-bit */
#endif
+
+#ifndef DRV_QUERYDEVICEINTERFACE
+#define DRV_QUERYDEVICEINTERFACE (DRV_RESERVED + 12)
+#endif
+#ifndef DRV_QUERYDEVICEINTERFACESIZE
+#define DRV_QUERYDEVICEINTERFACESIZE (DRV_RESERVED + 13)
+#endif
static const unsigned int win_formats[][4] = {
{0, 8000, 8, 1},
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
Cahn's Axiom: When all else fails, read the instructions.
More information about the wine-patches
mailing list