IExtractIcon had an extra c in a struct definition.
[wine/multimedia.git] / include / multimedia.h
blobdd01540fcee50cfc9f449eadd0fd721cef21bd42
1 /*****************************************************************************
2 * Copyright 1998, Luiz Otavio L. Zorzella
4 * File: multimedia.h
5 * Purpose: multimedia declarations
7 *****************************************************************************
8 */
9 #ifndef __WINE_MULTIMEDIA_H
10 #define __WINE_MULTIMEDIA_H
12 #include "mmsystem.h"
14 #define MAX_MIDIINDRV (16)
15 /* For now I'm making 16 the maximum number of midi devices one can
16 * have. This should be more than enough for everybody. But as a purist,
17 * I intend to make it unbounded in the future, as soon as I figure
18 * a good way to do so.
20 #define MAX_MIDIOUTDRV (16)
21 #define MAX_MCIMIDIDRV (1)
23 #ifdef HAVE_SYS_SOUNDCARD_H
24 # include <sys/soundcard.h>
25 #endif
26 #ifdef HAVE_MACHINE_SOUNDCARD_H
27 # include <machine/soundcard.h>
28 #endif
30 #include <sys/errno.h>
32 #ifdef HAVE_OSS
33 #define MIDI_SEQ "/dev/sequencer"
34 #else
35 #define MIDI_DEV "/dev/midi"
36 #endif
38 #ifdef SOUND_VERSION
39 #define IOCTL(a,b,c) ioctl(a,b,&c)
40 #else
41 #define IOCTL(a,b,c) (c = ioctl(a,b,c))
42 #endif
44 struct WINE_MCIDRIVER {
45 HDRVR16 hDrv;
46 DRIVERPROC16 driverProc;
47 MCI_OPEN_DRIVER_PARMS modp;
48 MCI_OPEN_PARMS16 mop;
49 DWORD dwPrivate;
52 /* function prototypes */
53 extern BOOL32 MULTIMEDIA_Init(void);
54 extern DWORD mciSendCommandAsync32(UINT32 wDevID, UINT32 wMsg, DWORD dwParam1, DWORD dwParam2);
56 #endif /* __WINE_MULTIMEDIA_H */