include: Remove 'l' modifier from numeric constants in mmsystem.h.

This commit is contained in:
Michael Stefaniuc 2011-10-24 23:22:16 +02:00 committed by Alexandre Julliard
parent ad3e22d5ee
commit 5439aede62
6 changed files with 251 additions and 253 deletions

View File

@ -866,7 +866,7 @@ static LRESULT CALLBACK MMSYSTDRV_Callback3216(struct mmsystdrv_thunk* thunk, HD
SetEvent((HANDLE)thunk->callback);
break;
default:
WARN("Unknown callback type %lx\n", thunk->flags & CALLBACK_TYPEMASK);
WARN("Unknown callback type %x\n", thunk->flags & CALLBACK_TYPEMASK);
return FALSE;
}
TRACE("Done\n");

View File

@ -1695,9 +1695,8 @@ static DWORD MCI_Open(DWORD dwParam, LPMCI_OPEN_PARMSW lpParms)
#define WINE_MCIDRIVER_SUPP (0xFFFF0000|MCI_OPEN_SHAREABLE|MCI_OPEN_ELEMENT| \
MCI_OPEN_ALIAS|MCI_OPEN_TYPE|MCI_OPEN_TYPE_ID| \
MCI_NOTIFY|MCI_WAIT)
if ((dwParam & ~WINE_MCIDRIVER_SUPP) != 0) {
FIXME("Unsupported yet dwFlags=%08lX\n", dwParam & ~WINE_MCIDRIVER_SUPP);
}
if ((dwParam & ~WINE_MCIDRIVER_SUPP) != 0)
FIXME("Unsupported yet dwFlags=%08X\n", dwParam & ~WINE_MCIDRIVER_SUPP);
#undef WINE_MCIDRIVER_SUPP
strDevTyp[0] = 0;

View File

@ -155,7 +155,7 @@ static void wave_in_test_deviceIn(int device, LPWAVEFORMATEX pwfx, DWORD format,
(!(flags & WAVE_FORMAT_DIRECT) || (flags & WAVE_MAPPED)) &&
!(pcaps->dwFormats & format)) ||
(rc==MMSYSERR_INVALFLAG && (flags & WAVE_FORMAT_DIRECT)),
"waveInOpen(%s): format=%dx%2dx%d flags=%lx(%s) rc=%s\n",
"waveInOpen(%s): format=%dx%2dx%d flags=%x(%s) rc=%s\n",
dev_name(device),pwfx->nSamplesPerSec,pwfx->wBitsPerSample,
pwfx->nChannels,CALLBACK_EVENT|flags,
wave_open_flags(CALLBACK_EVENT|flags),wave_in_error(rc));
@ -263,7 +263,7 @@ static void wave_in_test_deviceIn(int device, LPWAVEFORMATEX pwfx, DWORD format,
rc==MMSYSERR_ALLOCATED ||
((rc==WAVERR_BADFORMAT || rc==MMSYSERR_NOTSUPPORTED) &&
!(pcaps->dwFormats & format)),
"waveOutOpen(%s) format=%dx%2dx%d flags=%lx(%s) rc=%s\n",
"waveOutOpen(%s) format=%dx%2dx%d flags=%x(%s) rc=%s\n",
dev_name(device),pwfx->nSamplesPerSec,pwfx->wBitsPerSample,
pwfx->nChannels,CALLBACK_EVENT|flags,
wave_open_flags(CALLBACK_EVENT),wave_out_error(rc));

View File

@ -666,7 +666,7 @@ static void wave_out_test_deviceOut(int device, double duration,
(!(flags & WAVE_FORMAT_DIRECT) || (flags & WAVE_MAPPED)) &&
!(pcaps->dwFormats & format)) ||
(rc==MMSYSERR_INVALFLAG && (flags & WAVE_FORMAT_DIRECT)),
"waveOutOpen(%s): format=%dx%2dx%d flags=%lx(%s) rc=%s\n",
"waveOutOpen(%s): format=%dx%2dx%d flags=%x(%s) rc=%s\n",
dev_name(device),pwfx->nSamplesPerSec,pwfx->wBitsPerSample,
pwfx->nChannels,CALLBACK_EVENT|flags,
wave_open_flags(CALLBACK_EVENT|flags),wave_out_error(rc));

View File

@ -3775,8 +3775,7 @@ UINT WINAPI mixerGetLineInfoW(HMIXEROBJ hmix, LPMIXERLINEW lpmliW, DWORD fdwInfo
return MIXERR_INVALLINE;
}
TRACE("Returning INVALFLAG on these flags: %lx\n",
fdwInfo & MIXER_GETLINEINFOF_QUERYMASK);
TRACE("Returning INVALFLAG on these flags: %x\n", fdwInfo & MIXER_GETLINEINFOF_QUERYMASK);
return MMSYSERR_INVALFLAG;
}

View File

@ -177,13 +177,13 @@ typedef struct mmtime_tag {
#define MMSYSERR_MOREDATA (MMSYSERR_BASE + 21)
#define MMSYSERR_LASTERROR (MMSYSERR_BASE + 21)
#define CALLBACK_TYPEMASK 0x00070000l /* callback type mask */
#define CALLBACK_NULL 0x00000000l /* no callback */
#define CALLBACK_WINDOW 0x00010000l /* dwCallback is a HWND */
#define CALLBACK_TASK 0x00020000l /* dwCallback is a HTASK */
#define CALLBACK_TYPEMASK 0x00070000 /* callback type mask */
#define CALLBACK_NULL 0x00000000 /* no callback */
#define CALLBACK_WINDOW 0x00010000 /* dwCallback is a HWND */
#define CALLBACK_TASK 0x00020000 /* dwCallback is a HTASK */
#define CALLBACK_THREAD (CALLBACK_TASK) /* dwCallback is a thread ID */
#define CALLBACK_FUNCTION 0x00030000l /* dwCallback is a FARPROC */
#define CALLBACK_EVENT 0x00050000l /* dwCallback is an EVENT Handler */
#define CALLBACK_FUNCTION 0x00030000 /* dwCallback is a FARPROC */
#define CALLBACK_EVENT 0x00050000 /* dwCallback is an EVENT Handler */
#define DRV_LOAD 0x0001
#define DRV_ENABLE 0x0002
@ -279,13 +279,13 @@ BOOL WINAPI PlaySoundW(LPCWSTR pszSound, HMODULE hmod, DWORD fdwSound);
#define SND_LOOP 0x0008 /* loop the sound until next sndPlaySound */
#define SND_NOSTOP 0x0010 /* don't stop any currently playing sound */
#define SND_NOWAIT 0x00002000L /* don't wait if the driver is busy */
#define SND_ALIAS 0x00010000L /* name is a registry alias */
#define SND_ALIAS_ID 0x00110000L /* alias is a predefined ID */
#define SND_FILENAME 0x00020000L /* name is file name */
#define SND_RESOURCE 0x00040004L /* name is resource name or atom */
#define SND_PURGE 0x00000040L /* purge all sounds */
#define SND_APPLICATION 0x00000080L /* look for application specific association */
#define SND_NOWAIT 0x00002000 /* don't wait if the driver is busy */
#define SND_ALIAS 0x00010000 /* name is a registry alias */
#define SND_ALIAS_ID 0x00110000 /* alias is a predefined ID */
#define SND_FILENAME 0x00020000 /* name is file name */
#define SND_RESOURCE 0x00040004 /* name is resource name or atom */
#define SND_PURGE 0x00000040 /* purge all sounds */
#define SND_APPLICATION 0x00000080 /* look for application specific association */
#define SND_ALIAS_START 0
@ -584,7 +584,7 @@ typedef WORD *LPKEYARRAY;
#define MIDI_MAPPER (-1)
/* Only on Win95 and up */
#define MIDI_IO_STATUS 0x00000020L
#define MIDI_IO_STATUS 0x00000020
/* flags for wFlags parm of
midiOutCachePatches(),
@ -756,11 +756,11 @@ typedef struct midievent_tag {
} MIDIEVENT, *LPMIDIEVENT;
#define MEVT_EVENTTYPE(x) ((BYTE) (((x)>>24)&0xFF))
#define MEVT_EVENTPARM(x) ((DWORD) ((x)&0x00FFFFFFL))
#define MEVT_EVENTPARM(x) ((DWORD) ((x)&0x00FFFFFF))
#define MEVT_F_CALLBACK 0x40000000l
#define MEVT_F_LONG 0x80000000l
#define MEVT_F_SHORT 0x00000000l
#define MEVT_F_CALLBACK 0x40000000
#define MEVT_F_LONG 0x80000000
#define MEVT_F_SHORT 0x00000000
#define MEVT_COMMENT ((BYTE)0x82)
#define MEVT_LONGMSG ((BYTE)0x80)
#define MEVT_NOP ((BYTE)0x02)
@ -1188,22 +1188,22 @@ DECL_WINELIB_TYPE_AW(LPMIXERCAPS2)
#define MIXERLINE_LINEF_SOURCE 0x80000000
/* Mixer flags */
#define MIXER_OBJECTF_HANDLE 0x80000000L
#define MIXER_OBJECTF_MIXER 0x00000000L
#define MIXER_OBJECTF_HANDLE 0x80000000
#define MIXER_OBJECTF_MIXER 0x00000000
#define MIXER_OBJECTF_HMIXER (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIXER)
#define MIXER_OBJECTF_WAVEOUT 0x10000000L
#define MIXER_OBJECTF_WAVEOUT 0x10000000
#define MIXER_OBJECTF_HWAVEOUT (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_WAVEOUT)
#define MIXER_OBJECTF_WAVEIN 0x20000000L
#define MIXER_OBJECTF_WAVEIN 0x20000000
#define MIXER_OBJECTF_HWAVEIN (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_WAVEIN)
#define MIXER_OBJECTF_MIDIOUT 0x30000000L
#define MIXER_OBJECTF_MIDIOUT 0x30000000
#define MIXER_OBJECTF_HMIDIOUT (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIDIOUT)
#define MIXER_OBJECTF_MIDIIN 0x40000000L
#define MIXER_OBJECTF_MIDIIN 0x40000000
#define MIXER_OBJECTF_HMIDIIN (MIXER_OBJECTF_HANDLE|MIXER_OBJECTF_MIDIIN)
#define MIXER_OBJECTF_AUX 0x50000000L
#define MIXER_OBJECTF_AUX 0x50000000
/* MIXERLINE.dwComponentType */
/* component types for destinations and sources */
#define MIXERLINE_COMPONENTTYPE_DST_FIRST 0x00000000L
#define MIXERLINE_COMPONENTTYPE_DST_FIRST 0x00000000
#define MIXERLINE_COMPONENTTYPE_DST_UNDEFINED (MIXERLINE_COMPONENTTYPE_DST_FIRST + 0)
#define MIXERLINE_COMPONENTTYPE_DST_DIGITAL (MIXERLINE_COMPONENTTYPE_DST_FIRST + 1)
#define MIXERLINE_COMPONENTTYPE_DST_LINE (MIXERLINE_COMPONENTTYPE_DST_FIRST + 2)
@ -1215,7 +1215,7 @@ DECL_WINELIB_TYPE_AW(LPMIXERCAPS2)
#define MIXERLINE_COMPONENTTYPE_DST_VOICEIN (MIXERLINE_COMPONENTTYPE_DST_FIRST + 8)
#define MIXERLINE_COMPONENTTYPE_DST_LAST (MIXERLINE_COMPONENTTYPE_DST_FIRST + 8)
#define MIXERLINE_COMPONENTTYPE_SRC_FIRST 0x00001000L
#define MIXERLINE_COMPONENTTYPE_SRC_FIRST 0x00001000
#define MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 0)
#define MIXERLINE_COMPONENTTYPE_SRC_DIGITAL (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 1)
#define MIXERLINE_COMPONENTTYPE_SRC_LINE (MIXERLINE_COMPONENTTYPE_SRC_FIRST + 2)
@ -1287,41 +1287,41 @@ DECL_WINELIB_TYPE_AW(MIXERLINE)
DECL_WINELIB_TYPE_AW(LPMIXERLINE)
/* MIXERCONTROL.fdwControl */
#define MIXERCONTROL_CONTROLF_UNIFORM 0x00000001L
#define MIXERCONTROL_CONTROLF_MULTIPLE 0x00000002L
#define MIXERCONTROL_CONTROLF_DISABLED 0x80000000L
#define MIXERCONTROL_CONTROLF_UNIFORM 0x00000001
#define MIXERCONTROL_CONTROLF_MULTIPLE 0x00000002
#define MIXERCONTROL_CONTROLF_DISABLED 0x80000000
/* MIXERCONTROL_CONTROLTYPE_xxx building block defines */
#define MIXERCONTROL_CT_CLASS_MASK 0xF0000000L
#define MIXERCONTROL_CT_CLASS_CUSTOM 0x00000000L
#define MIXERCONTROL_CT_CLASS_METER 0x10000000L
#define MIXERCONTROL_CT_CLASS_SWITCH 0x20000000L
#define MIXERCONTROL_CT_CLASS_NUMBER 0x30000000L
#define MIXERCONTROL_CT_CLASS_SLIDER 0x40000000L
#define MIXERCONTROL_CT_CLASS_FADER 0x50000000L
#define MIXERCONTROL_CT_CLASS_TIME 0x60000000L
#define MIXERCONTROL_CT_CLASS_LIST 0x70000000L
#define MIXERCONTROL_CT_CLASS_MASK 0xF0000000
#define MIXERCONTROL_CT_CLASS_CUSTOM 0x00000000
#define MIXERCONTROL_CT_CLASS_METER 0x10000000
#define MIXERCONTROL_CT_CLASS_SWITCH 0x20000000
#define MIXERCONTROL_CT_CLASS_NUMBER 0x30000000
#define MIXERCONTROL_CT_CLASS_SLIDER 0x40000000
#define MIXERCONTROL_CT_CLASS_FADER 0x50000000
#define MIXERCONTROL_CT_CLASS_TIME 0x60000000
#define MIXERCONTROL_CT_CLASS_LIST 0x70000000
#define MIXERCONTROL_CT_SUBCLASS_MASK 0x0F000000L
#define MIXERCONTROL_CT_SUBCLASS_MASK 0x0F000000
#define MIXERCONTROL_CT_SC_SWITCH_BOOLEAN 0x00000000L
#define MIXERCONTROL_CT_SC_SWITCH_BUTTON 0x01000000L
#define MIXERCONTROL_CT_SC_SWITCH_BOOLEAN 0x00000000
#define MIXERCONTROL_CT_SC_SWITCH_BUTTON 0x01000000
#define MIXERCONTROL_CT_SC_METER_POLLED 0x00000000L
#define MIXERCONTROL_CT_SC_METER_POLLED 0x00000000
#define MIXERCONTROL_CT_SC_TIME_MICROSECS 0x00000000L
#define MIXERCONTROL_CT_SC_TIME_MILLISECS 0x01000000L
#define MIXERCONTROL_CT_SC_TIME_MICROSECS 0x00000000
#define MIXERCONTROL_CT_SC_TIME_MILLISECS 0x01000000
#define MIXERCONTROL_CT_SC_LIST_SINGLE 0x00000000L
#define MIXERCONTROL_CT_SC_LIST_MULTIPLE 0x01000000L
#define MIXERCONTROL_CT_SC_LIST_SINGLE 0x00000000
#define MIXERCONTROL_CT_SC_LIST_MULTIPLE 0x01000000
#define MIXERCONTROL_CT_UNITS_MASK 0x00FF0000L
#define MIXERCONTROL_CT_UNITS_CUSTOM 0x00000000L
#define MIXERCONTROL_CT_UNITS_BOOLEAN 0x00010000L
#define MIXERCONTROL_CT_UNITS_SIGNED 0x00020000L
#define MIXERCONTROL_CT_UNITS_UNSIGNED 0x00030000L
#define MIXERCONTROL_CT_UNITS_DECIBELS 0x00040000L /* in 10ths */
#define MIXERCONTROL_CT_UNITS_PERCENT 0x00050000L /* in 10ths */
#define MIXERCONTROL_CT_UNITS_MASK 0x00FF0000
#define MIXERCONTROL_CT_UNITS_CUSTOM 0x00000000
#define MIXERCONTROL_CT_UNITS_BOOLEAN 0x00010000
#define MIXERCONTROL_CT_UNITS_SIGNED 0x00020000
#define MIXERCONTROL_CT_UNITS_UNSIGNED 0x00030000
#define MIXERCONTROL_CT_UNITS_DECIBELS 0x00040000 /* in 10ths */
#define MIXERCONTROL_CT_UNITS_PERCENT 0x00050000 /* in 10ths */
/* Commonly used control types for specifying MIXERCONTROL.dwControlType */
#define MIXERCONTROL_CONTROLTYPE_CUSTOM (MIXERCONTROL_CT_CLASS_CUSTOM | MIXERCONTROL_CT_UNITS_CUSTOM)
@ -1480,28 +1480,28 @@ typedef struct {
} MIXERCONTROLDETAILS_UNSIGNED,*LPMIXERCONTROLDETAILS_UNSIGNED;
/* bits passed to mixerGetLineInfo.fdwInfo */
#define MIXER_GETLINEINFOF_DESTINATION 0x00000000L
#define MIXER_GETLINEINFOF_SOURCE 0x00000001L
#define MIXER_GETLINEINFOF_LINEID 0x00000002L
#define MIXER_GETLINEINFOF_COMPONENTTYPE 0x00000003L
#define MIXER_GETLINEINFOF_TARGETTYPE 0x00000004L
#define MIXER_GETLINEINFOF_QUERYMASK 0x0000000FL
#define MIXER_GETLINEINFOF_DESTINATION 0x00000000
#define MIXER_GETLINEINFOF_SOURCE 0x00000001
#define MIXER_GETLINEINFOF_LINEID 0x00000002
#define MIXER_GETLINEINFOF_COMPONENTTYPE 0x00000003
#define MIXER_GETLINEINFOF_TARGETTYPE 0x00000004
#define MIXER_GETLINEINFOF_QUERYMASK 0x0000000F
/* bitmask passed to mixerGetLineControl */
#define MIXER_GETLINECONTROLSF_ALL 0x00000000L
#define MIXER_GETLINECONTROLSF_ONEBYID 0x00000001L
#define MIXER_GETLINECONTROLSF_ONEBYTYPE 0x00000002L
#define MIXER_GETLINECONTROLSF_QUERYMASK 0x0000000FL
#define MIXER_GETLINECONTROLSF_ALL 0x00000000
#define MIXER_GETLINECONTROLSF_ONEBYID 0x00000001
#define MIXER_GETLINECONTROLSF_ONEBYTYPE 0x00000002
#define MIXER_GETLINECONTROLSF_QUERYMASK 0x0000000F
/* bitmask passed to mixerGetControlDetails */
#define MIXER_GETCONTROLDETAILSF_VALUE 0x00000000L
#define MIXER_GETCONTROLDETAILSF_LISTTEXT 0x00000001L
#define MIXER_GETCONTROLDETAILSF_QUERYMASK 0x0000000FL
#define MIXER_GETCONTROLDETAILSF_VALUE 0x00000000
#define MIXER_GETCONTROLDETAILSF_LISTTEXT 0x00000001
#define MIXER_GETCONTROLDETAILSF_QUERYMASK 0x0000000F
/* bitmask passed to mixerSetControlDetails */
#define MIXER_SETCONTROLDETAILSF_VALUE 0x00000000L
#define MIXER_SETCONTROLDETAILSF_CUSTOM 0x00000001L
#define MIXER_SETCONTROLDETAILSF_QUERYMASK 0x0000000FL
#define MIXER_SETCONTROLDETAILSF_VALUE 0x00000000
#define MIXER_SETCONTROLDETAILSF_CUSTOM 0x00000001
#define MIXER_SETCONTROLDETAILSF_QUERYMASK 0x0000000F
UINT WINAPI mixerGetNumDevs(void);
UINT WINAPI mixerOpen(LPHMIXER,UINT,DWORD_PTR,DWORD_PTR,DWORD);
@ -1882,82 +1882,82 @@ YIELDPROC WINAPI mciGetYieldProc(MCIDEVICEID,DWORD*);
#define MCI_NOTIFY_ABORTED 0x0004
#define MCI_NOTIFY_FAILURE 0x0008
#define MCI_NOTIFY 0x00000001L
#define MCI_WAIT 0x00000002L
#define MCI_FROM 0x00000004L
#define MCI_TO 0x00000008L
#define MCI_TRACK 0x00000010L
#define MCI_NOTIFY 0x00000001
#define MCI_WAIT 0x00000002
#define MCI_FROM 0x00000004
#define MCI_TO 0x00000008
#define MCI_TRACK 0x00000010
#define MCI_OPEN_SHAREABLE 0x00000100L
#define MCI_OPEN_ELEMENT 0x00000200L
#define MCI_OPEN_ALIAS 0x00000400L
#define MCI_OPEN_ELEMENT_ID 0x00000800L
#define MCI_OPEN_TYPE_ID 0x00001000L
#define MCI_OPEN_TYPE 0x00002000L
#define MCI_OPEN_SHAREABLE 0x00000100
#define MCI_OPEN_ELEMENT 0x00000200
#define MCI_OPEN_ALIAS 0x00000400
#define MCI_OPEN_ELEMENT_ID 0x00000800
#define MCI_OPEN_TYPE_ID 0x00001000
#define MCI_OPEN_TYPE 0x00002000
#define MCI_SEEK_TO_START 0x00000100L
#define MCI_SEEK_TO_END 0x00000200L
#define MCI_SEEK_TO_START 0x00000100
#define MCI_SEEK_TO_END 0x00000200
#define MCI_STATUS_ITEM 0x00000100L
#define MCI_STATUS_START 0x00000200L
#define MCI_STATUS_ITEM 0x00000100
#define MCI_STATUS_START 0x00000200
#define MCI_STATUS_LENGTH 0x00000001L
#define MCI_STATUS_POSITION 0x00000002L
#define MCI_STATUS_NUMBER_OF_TRACKS 0x00000003L
#define MCI_STATUS_MODE 0x00000004L
#define MCI_STATUS_MEDIA_PRESENT 0x00000005L
#define MCI_STATUS_TIME_FORMAT 0x00000006L
#define MCI_STATUS_READY 0x00000007L
#define MCI_STATUS_CURRENT_TRACK 0x00000008L
#define MCI_STATUS_LENGTH 0x00000001
#define MCI_STATUS_POSITION 0x00000002
#define MCI_STATUS_NUMBER_OF_TRACKS 0x00000003
#define MCI_STATUS_MODE 0x00000004
#define MCI_STATUS_MEDIA_PRESENT 0x00000005
#define MCI_STATUS_TIME_FORMAT 0x00000006
#define MCI_STATUS_READY 0x00000007
#define MCI_STATUS_CURRENT_TRACK 0x00000008
#define MCI_INFO_PRODUCT 0x00000100L
#define MCI_INFO_FILE 0x00000200L
#define MCI_INFO_MEDIA_UPC 0x00000400L
#define MCI_INFO_MEDIA_IDENTITY 0x00000800L
#define MCI_INFO_NAME 0x00001000L
#define MCI_INFO_COPYRIGHT 0x00002000L
#define MCI_INFO_PRODUCT 0x00000100
#define MCI_INFO_FILE 0x00000200
#define MCI_INFO_MEDIA_UPC 0x00000400
#define MCI_INFO_MEDIA_IDENTITY 0x00000800
#define MCI_INFO_NAME 0x00001000
#define MCI_INFO_COPYRIGHT 0x00002000
#define MCI_GETDEVCAPS_ITEM 0x00000100L
#define MCI_GETDEVCAPS_ITEM 0x00000100
#define MCI_GETDEVCAPS_CAN_RECORD 0x00000001L
#define MCI_GETDEVCAPS_HAS_AUDIO 0x00000002L
#define MCI_GETDEVCAPS_HAS_VIDEO 0x00000003L
#define MCI_GETDEVCAPS_DEVICE_TYPE 0x00000004L
#define MCI_GETDEVCAPS_USES_FILES 0x00000005L
#define MCI_GETDEVCAPS_COMPOUND_DEVICE 0x00000006L
#define MCI_GETDEVCAPS_CAN_EJECT 0x00000007L
#define MCI_GETDEVCAPS_CAN_PLAY 0x00000008L
#define MCI_GETDEVCAPS_CAN_SAVE 0x00000009L
#define MCI_GETDEVCAPS_CAN_RECORD 0x00000001
#define MCI_GETDEVCAPS_HAS_AUDIO 0x00000002
#define MCI_GETDEVCAPS_HAS_VIDEO 0x00000003
#define MCI_GETDEVCAPS_DEVICE_TYPE 0x00000004
#define MCI_GETDEVCAPS_USES_FILES 0x00000005
#define MCI_GETDEVCAPS_COMPOUND_DEVICE 0x00000006
#define MCI_GETDEVCAPS_CAN_EJECT 0x00000007
#define MCI_GETDEVCAPS_CAN_PLAY 0x00000008
#define MCI_GETDEVCAPS_CAN_SAVE 0x00000009
#define MCI_SYSINFO_QUANTITY 0x00000100L
#define MCI_SYSINFO_OPEN 0x00000200L
#define MCI_SYSINFO_NAME 0x00000400L
#define MCI_SYSINFO_INSTALLNAME 0x00000800L
#define MCI_SYSINFO_QUANTITY 0x00000100
#define MCI_SYSINFO_OPEN 0x00000200
#define MCI_SYSINFO_NAME 0x00000400
#define MCI_SYSINFO_INSTALLNAME 0x00000800
#define MCI_SET_DOOR_OPEN 0x00000100L
#define MCI_SET_DOOR_CLOSED 0x00000200L
#define MCI_SET_TIME_FORMAT 0x00000400L
#define MCI_SET_AUDIO 0x00000800L
#define MCI_SET_VIDEO 0x00001000L
#define MCI_SET_ON 0x00002000L
#define MCI_SET_OFF 0x00004000L
#define MCI_SET_DOOR_OPEN 0x00000100
#define MCI_SET_DOOR_CLOSED 0x00000200
#define MCI_SET_TIME_FORMAT 0x00000400
#define MCI_SET_AUDIO 0x00000800
#define MCI_SET_VIDEO 0x00001000
#define MCI_SET_ON 0x00002000
#define MCI_SET_OFF 0x00004000
#define MCI_SET_AUDIO_ALL 0x00000000L
#define MCI_SET_AUDIO_LEFT 0x00000001L
#define MCI_SET_AUDIO_RIGHT 0x00000002L
#define MCI_SET_AUDIO_ALL 0x00000000
#define MCI_SET_AUDIO_LEFT 0x00000001
#define MCI_SET_AUDIO_RIGHT 0x00000002
#define MCI_BREAK_KEY 0x00000100L
#define MCI_BREAK_HWND 0x00000200L
#define MCI_BREAK_OFF 0x00000400L
#define MCI_BREAK_KEY 0x00000100
#define MCI_BREAK_HWND 0x00000200
#define MCI_BREAK_OFF 0x00000400
#define MCI_RECORD_INSERT 0x00000100L
#define MCI_RECORD_OVERWRITE 0x00000200L
#define MCI_RECORD_INSERT 0x00000100
#define MCI_RECORD_OVERWRITE 0x00000200
#define MCI_SOUND_NAME 0x00000100L
#define MCI_SOUND_NAME 0x00000100
#define MCI_SAVE_FILE 0x00000100L
#define MCI_SAVE_FILE 0x00000100
#define MCI_LOAD_FILE 0x00000100L
#define MCI_LOAD_FILE 0x00000100
typedef struct tagMCI_GENERIC_PARMS {
DWORD_PTR dwCallback;
@ -2111,35 +2111,35 @@ typedef struct tagMCI_RECORD_PARMS {
#define MCI_VD_FORMAT_TRACK 0x4001
#define MCI_VD_PLAY_REVERSE 0x00010000L
#define MCI_VD_PLAY_FAST 0x00020000L
#define MCI_VD_PLAY_SPEED 0x00040000L
#define MCI_VD_PLAY_SCAN 0x00080000L
#define MCI_VD_PLAY_SLOW 0x00100000L
#define MCI_VD_PLAY_REVERSE 0x00010000
#define MCI_VD_PLAY_FAST 0x00020000
#define MCI_VD_PLAY_SPEED 0x00040000
#define MCI_VD_PLAY_SCAN 0x00080000
#define MCI_VD_PLAY_SLOW 0x00100000
#define MCI_VD_SEEK_REVERSE 0x00010000L
#define MCI_VD_SEEK_REVERSE 0x00010000
#define MCI_VD_STATUS_SPEED 0x00004002L
#define MCI_VD_STATUS_FORWARD 0x00004003L
#define MCI_VD_STATUS_MEDIA_TYPE 0x00004004L
#define MCI_VD_STATUS_SIDE 0x00004005L
#define MCI_VD_STATUS_DISC_SIZE 0x00004006L
#define MCI_VD_STATUS_SPEED 0x00004002
#define MCI_VD_STATUS_FORWARD 0x00004003
#define MCI_VD_STATUS_MEDIA_TYPE 0x00004004
#define MCI_VD_STATUS_SIDE 0x00004005
#define MCI_VD_STATUS_DISC_SIZE 0x00004006
#define MCI_VD_GETDEVCAPS_CLV 0x00010000L
#define MCI_VD_GETDEVCAPS_CAV 0x00020000L
#define MCI_VD_GETDEVCAPS_CLV 0x00010000
#define MCI_VD_GETDEVCAPS_CAV 0x00020000
#define MCI_VD_SPIN_UP 0x00010000L
#define MCI_VD_SPIN_DOWN 0x00020000L
#define MCI_VD_SPIN_UP 0x00010000
#define MCI_VD_SPIN_DOWN 0x00020000
#define MCI_VD_GETDEVCAPS_CAN_REVERSE 0x00004002L
#define MCI_VD_GETDEVCAPS_FAST_RATE 0x00004003L
#define MCI_VD_GETDEVCAPS_SLOW_RATE 0x00004004L
#define MCI_VD_GETDEVCAPS_NORMAL_RATE 0x00004005L
#define MCI_VD_GETDEVCAPS_CAN_REVERSE 0x00004002
#define MCI_VD_GETDEVCAPS_FAST_RATE 0x00004003
#define MCI_VD_GETDEVCAPS_SLOW_RATE 0x00004004
#define MCI_VD_GETDEVCAPS_NORMAL_RATE 0x00004005
#define MCI_VD_STEP_FRAMES 0x00010000L
#define MCI_VD_STEP_REVERSE 0x00020000L
#define MCI_VD_STEP_FRAMES 0x00010000
#define MCI_VD_STEP_REVERSE 0x00020000
#define MCI_VD_ESCAPE_STRING 0x00000100L
#define MCI_VD_ESCAPE_STRING 0x00000100
typedef struct tagMCI_VD_PLAY_PARMS {
DWORD_PTR dwCallback;
@ -2166,31 +2166,31 @@ typedef struct tagMCI_VD_ESCAPE_PARMSW {
DECL_WINELIB_TYPE_AW(MCI_VD_ESCAPE_PARMS)
DECL_WINELIB_TYPE_AW(LPMCI_VD_ESCAPE_PARMS)
#define MCI_WAVE_OPEN_BUFFER 0x00010000L
#define MCI_WAVE_OPEN_BUFFER 0x00010000
#define MCI_WAVE_SET_FORMATTAG 0x00010000L
#define MCI_WAVE_SET_CHANNELS 0x00020000L
#define MCI_WAVE_SET_SAMPLESPERSEC 0x00040000L
#define MCI_WAVE_SET_AVGBYTESPERSEC 0x00080000L
#define MCI_WAVE_SET_BLOCKALIGN 0x00100000L
#define MCI_WAVE_SET_BITSPERSAMPLE 0x00200000L
#define MCI_WAVE_SET_FORMATTAG 0x00010000
#define MCI_WAVE_SET_CHANNELS 0x00020000
#define MCI_WAVE_SET_SAMPLESPERSEC 0x00040000
#define MCI_WAVE_SET_AVGBYTESPERSEC 0x00080000
#define MCI_WAVE_SET_BLOCKALIGN 0x00100000
#define MCI_WAVE_SET_BITSPERSAMPLE 0x00200000
#define MCI_WAVE_INPUT 0x00400000L
#define MCI_WAVE_OUTPUT 0x00800000L
#define MCI_WAVE_INPUT 0x00400000
#define MCI_WAVE_OUTPUT 0x00800000
#define MCI_WAVE_STATUS_FORMATTAG 0x00004001L
#define MCI_WAVE_STATUS_CHANNELS 0x00004002L
#define MCI_WAVE_STATUS_SAMPLESPERSEC 0x00004003L
#define MCI_WAVE_STATUS_AVGBYTESPERSEC 0x00004004L
#define MCI_WAVE_STATUS_BLOCKALIGN 0x00004005L
#define MCI_WAVE_STATUS_BITSPERSAMPLE 0x00004006L
#define MCI_WAVE_STATUS_LEVEL 0x00004007L
#define MCI_WAVE_STATUS_FORMATTAG 0x00004001
#define MCI_WAVE_STATUS_CHANNELS 0x00004002
#define MCI_WAVE_STATUS_SAMPLESPERSEC 0x00004003
#define MCI_WAVE_STATUS_AVGBYTESPERSEC 0x00004004
#define MCI_WAVE_STATUS_BLOCKALIGN 0x00004005
#define MCI_WAVE_STATUS_BITSPERSAMPLE 0x00004006
#define MCI_WAVE_STATUS_LEVEL 0x00004007
#define MCI_WAVE_SET_ANYINPUT 0x04000000L
#define MCI_WAVE_SET_ANYOUTPUT 0x08000000L
#define MCI_WAVE_SET_ANYINPUT 0x04000000
#define MCI_WAVE_SET_ANYOUTPUT 0x08000000
#define MCI_WAVE_GETDEVCAPS_INPUTS 0x00004001L
#define MCI_WAVE_GETDEVCAPS_OUTPUTS 0x00004002L
#define MCI_WAVE_GETDEVCAPS_INPUTS 0x00004001
#define MCI_WAVE_GETDEVCAPS_OUTPUTS 0x00004002
typedef struct tagMCI_WAVE_OPEN_PARMSA {
DWORD_PTR dwCallback;
@ -2246,18 +2246,18 @@ typedef struct tagMCI_WAVE_SET_PARMS {
#define MCI_SEQ_SMPTE 0x4004
#define MCI_SEQ_NONE 65533
#define MCI_SEQ_STATUS_TEMPO 0x00004002L
#define MCI_SEQ_STATUS_PORT 0x00004003L
#define MCI_SEQ_STATUS_SLAVE 0x00004007L
#define MCI_SEQ_STATUS_MASTER 0x00004008L
#define MCI_SEQ_STATUS_OFFSET 0x00004009L
#define MCI_SEQ_STATUS_DIVTYPE 0x0000400AL
#define MCI_SEQ_STATUS_TEMPO 0x00004002
#define MCI_SEQ_STATUS_PORT 0x00004003
#define MCI_SEQ_STATUS_SLAVE 0x00004007
#define MCI_SEQ_STATUS_MASTER 0x00004008
#define MCI_SEQ_STATUS_OFFSET 0x00004009
#define MCI_SEQ_STATUS_DIVTYPE 0x0000400A
#define MCI_SEQ_SET_TEMPO 0x00010000L
#define MCI_SEQ_SET_PORT 0x00020000L
#define MCI_SEQ_SET_SLAVE 0x00040000L
#define MCI_SEQ_SET_MASTER 0x00080000L
#define MCI_SEQ_SET_OFFSET 0x01000000L
#define MCI_SEQ_SET_TEMPO 0x00010000
#define MCI_SEQ_SET_PORT 0x00020000
#define MCI_SEQ_SET_SLAVE 0x00040000
#define MCI_SEQ_SET_MASTER 0x00080000
#define MCI_SEQ_SET_OFFSET 0x01000000
typedef struct tagMCI_SEQ_SET_PARMS {
DWORD_PTR dwCallback;
@ -2270,54 +2270,54 @@ typedef struct tagMCI_SEQ_SET_PARMS {
DWORD dwOffset;
} MCI_SEQ_SET_PARMS, *LPMCI_SEQ_SET_PARMS;
#define MCI_ANIM_OPEN_WS 0x00010000L
#define MCI_ANIM_OPEN_PARENT 0x00020000L
#define MCI_ANIM_OPEN_NOSTATIC 0x00040000L
#define MCI_ANIM_OPEN_WS 0x00010000
#define MCI_ANIM_OPEN_PARENT 0x00020000
#define MCI_ANIM_OPEN_NOSTATIC 0x00040000
#define MCI_ANIM_PLAY_SPEED 0x00010000L
#define MCI_ANIM_PLAY_REVERSE 0x00020000L
#define MCI_ANIM_PLAY_FAST 0x00040000L
#define MCI_ANIM_PLAY_SLOW 0x00080000L
#define MCI_ANIM_PLAY_SCAN 0x00100000L
#define MCI_ANIM_PLAY_SPEED 0x00010000
#define MCI_ANIM_PLAY_REVERSE 0x00020000
#define MCI_ANIM_PLAY_FAST 0x00040000
#define MCI_ANIM_PLAY_SLOW 0x00080000
#define MCI_ANIM_PLAY_SCAN 0x00100000
#define MCI_ANIM_STEP_REVERSE 0x00010000L
#define MCI_ANIM_STEP_FRAMES 0x00020000L
#define MCI_ANIM_STEP_REVERSE 0x00010000
#define MCI_ANIM_STEP_FRAMES 0x00020000
#define MCI_ANIM_STATUS_SPEED 0x00004001L
#define MCI_ANIM_STATUS_FORWARD 0x00004002L
#define MCI_ANIM_STATUS_HWND 0x00004003L
#define MCI_ANIM_STATUS_HPAL 0x00004004L
#define MCI_ANIM_STATUS_STRETCH 0x00004005L
#define MCI_ANIM_STATUS_SPEED 0x00004001
#define MCI_ANIM_STATUS_FORWARD 0x00004002
#define MCI_ANIM_STATUS_HWND 0x00004003
#define MCI_ANIM_STATUS_HPAL 0x00004004
#define MCI_ANIM_STATUS_STRETCH 0x00004005
#define MCI_ANIM_INFO_TEXT 0x00010000L
#define MCI_ANIM_INFO_TEXT 0x00010000
#define MCI_ANIM_GETDEVCAPS_CAN_REVERSE 0x00004001L
#define MCI_ANIM_GETDEVCAPS_FAST_RATE 0x00004002L
#define MCI_ANIM_GETDEVCAPS_SLOW_RATE 0x00004003L
#define MCI_ANIM_GETDEVCAPS_NORMAL_RATE 0x00004004L
#define MCI_ANIM_GETDEVCAPS_PALETTES 0x00004006L
#define MCI_ANIM_GETDEVCAPS_CAN_STRETCH 0x00004007L
#define MCI_ANIM_GETDEVCAPS_MAX_WINDOWS 0x00004008L
#define MCI_ANIM_GETDEVCAPS_CAN_REVERSE 0x00004001
#define MCI_ANIM_GETDEVCAPS_FAST_RATE 0x00004002
#define MCI_ANIM_GETDEVCAPS_SLOW_RATE 0x00004003
#define MCI_ANIM_GETDEVCAPS_NORMAL_RATE 0x00004004
#define MCI_ANIM_GETDEVCAPS_PALETTES 0x00004006
#define MCI_ANIM_GETDEVCAPS_CAN_STRETCH 0x00004007
#define MCI_ANIM_GETDEVCAPS_MAX_WINDOWS 0x00004008
#define MCI_ANIM_REALIZE_NORM 0x00010000L
#define MCI_ANIM_REALIZE_BKGD 0x00020000L
#define MCI_ANIM_REALIZE_NORM 0x00010000
#define MCI_ANIM_REALIZE_BKGD 0x00020000
#define MCI_ANIM_WINDOW_HWND 0x00010000L
#define MCI_ANIM_WINDOW_STATE 0x00040000L
#define MCI_ANIM_WINDOW_TEXT 0x00080000L
#define MCI_ANIM_WINDOW_ENABLE_STRETCH 0x00100000L
#define MCI_ANIM_WINDOW_DISABLE_STRETCH 0x00200000L
#define MCI_ANIM_WINDOW_HWND 0x00010000
#define MCI_ANIM_WINDOW_STATE 0x00040000
#define MCI_ANIM_WINDOW_TEXT 0x00080000
#define MCI_ANIM_WINDOW_ENABLE_STRETCH 0x00100000
#define MCI_ANIM_WINDOW_DISABLE_STRETCH 0x00200000
#define MCI_ANIM_WINDOW_DEFAULT 0x00000000L
#define MCI_ANIM_WINDOW_DEFAULT 0x00000000
#define MCI_ANIM_RECT 0x00010000L
#define MCI_ANIM_PUT_SOURCE 0x00020000L
#define MCI_ANIM_PUT_DESTINATION 0x00040000L
#define MCI_ANIM_RECT 0x00010000
#define MCI_ANIM_PUT_SOURCE 0x00020000
#define MCI_ANIM_PUT_DESTINATION 0x00040000
#define MCI_ANIM_WHERE_SOURCE 0x00020000L
#define MCI_ANIM_WHERE_DESTINATION 0x00040000L
#define MCI_ANIM_WHERE_SOURCE 0x00020000
#define MCI_ANIM_WHERE_DESTINATION 0x00040000
#define MCI_ANIM_UPDATE_HDC 0x00020000L
#define MCI_ANIM_UPDATE_HDC 0x00020000
typedef struct tagMCI_ANIM_OPEN_PARMSA {
DWORD_PTR dwCallback;
@ -2389,36 +2389,36 @@ typedef struct tagMCI_ANIM_UPDATE_PARMS {
} MCI_ANIM_UPDATE_PARMS, *LPMCI_ANIM_UPDATE_PARMS;
#define MCI_OVLY_OPEN_WS 0x00010000L
#define MCI_OVLY_OPEN_PARENT 0x00020000L
#define MCI_OVLY_OPEN_WS 0x00010000
#define MCI_OVLY_OPEN_PARENT 0x00020000
#define MCI_OVLY_STATUS_HWND 0x00004001L
#define MCI_OVLY_STATUS_STRETCH 0x00004002L
#define MCI_OVLY_STATUS_HWND 0x00004001
#define MCI_OVLY_STATUS_STRETCH 0x00004002
#define MCI_OVLY_INFO_TEXT 0x00010000L
#define MCI_OVLY_INFO_TEXT 0x00010000
#define MCI_OVLY_GETDEVCAPS_CAN_STRETCH 0x00004001L
#define MCI_OVLY_GETDEVCAPS_CAN_FREEZE 0x00004002L
#define MCI_OVLY_GETDEVCAPS_MAX_WINDOWS 0x00004003L
#define MCI_OVLY_GETDEVCAPS_CAN_STRETCH 0x00004001
#define MCI_OVLY_GETDEVCAPS_CAN_FREEZE 0x00004002
#define MCI_OVLY_GETDEVCAPS_MAX_WINDOWS 0x00004003
#define MCI_OVLY_WINDOW_HWND 0x00010000L
#define MCI_OVLY_WINDOW_STATE 0x00040000L
#define MCI_OVLY_WINDOW_TEXT 0x00080000L
#define MCI_OVLY_WINDOW_ENABLE_STRETCH 0x00100000L
#define MCI_OVLY_WINDOW_DISABLE_STRETCH 0x00200000L
#define MCI_OVLY_WINDOW_HWND 0x00010000
#define MCI_OVLY_WINDOW_STATE 0x00040000
#define MCI_OVLY_WINDOW_TEXT 0x00080000
#define MCI_OVLY_WINDOW_ENABLE_STRETCH 0x00100000
#define MCI_OVLY_WINDOW_DISABLE_STRETCH 0x00200000
#define MCI_OVLY_WINDOW_DEFAULT 0x00000000L
#define MCI_OVLY_WINDOW_DEFAULT 0x00000000
#define MCI_OVLY_RECT 0x00010000L
#define MCI_OVLY_PUT_SOURCE 0x00020000L
#define MCI_OVLY_PUT_DESTINATION 0x00040000L
#define MCI_OVLY_PUT_FRAME 0x00080000L
#define MCI_OVLY_PUT_VIDEO 0x00100000L
#define MCI_OVLY_RECT 0x00010000
#define MCI_OVLY_PUT_SOURCE 0x00020000
#define MCI_OVLY_PUT_DESTINATION 0x00040000
#define MCI_OVLY_PUT_FRAME 0x00080000
#define MCI_OVLY_PUT_VIDEO 0x00100000
#define MCI_OVLY_WHERE_SOURCE 0x00020000L
#define MCI_OVLY_WHERE_DESTINATION 0x00040000L
#define MCI_OVLY_WHERE_FRAME 0x00080000L
#define MCI_OVLY_WHERE_VIDEO 0x00100000L
#define MCI_OVLY_WHERE_SOURCE 0x00020000
#define MCI_OVLY_WHERE_DESTINATION 0x00040000
#define MCI_OVLY_WHERE_FRAME 0x00080000
#define MCI_OVLY_WHERE_VIDEO 0x00100000
typedef struct tagMCI_OVLY_OPEN_PARMSA {
DWORD_PTR dwCallback;