ReactOS 0.4.16-dev-41-ge8c7597
|
#include <wine/config.h>
#include <assert.h>
#include <stdio.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winreg.h>
#include <mmddk.h>
#include <wine/debug.h>
#include <wine/exception.h>
#include <wine/unicode.h>
Go to the source code of this file.
Classes | |
struct | tagWINE_DRIVER |
struct | tagWINE_MM_DRIVER_PART |
struct | tagWINE_MM_DRIVER |
struct | tagWINE_MLD |
struct | WINE_WAVE |
struct | WINE_MIDI |
struct | WINE_MIXER |
struct | tagWINE_MCIDRIVER |
struct | IOProcList |
struct | tagWINE_MMIO |
Macros | |
#define | _INC_WINDOWS |
#define | COM_NO_WINDOWS_H |
#define | NONAMELESSUNION |
#define | NONAMELESSSTRUCT |
#define | WINE_DEFAULT_WINMM_DRIVER "alsa,oss,coreaudio,esd" |
#define | WINE_DEFAULT_WINMM_MAPPER "msacm32.drv" |
#define | WINE_DEFAULT_WINMM_MIDI "midimap.dll" |
#define | WINE_DI_MAGIC 0x900F1B01 |
#define | MMDRV_AUX 0 |
#define | MMDRV_MIXER 1 |
#define | MMDRV_MIDIIN 2 |
#define | MMDRV_MIDIOUT 3 |
#define | MMDRV_WAVEIN 4 |
#define | MMDRV_WAVEOUT 5 |
#define | MMDRV_MAX 6 |
#define | WINE_GDF_EXIST 0x80000000 |
#define | WINE_GDF_EXTERNAL_MASK 0xF0000000 |
#define | WINE_GDF_SESSION 0x00000001 |
#define | NT_MME_DRIVERS32_KEY "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Drivers32" |
#define | NT_MME_DRIVERS_KEY "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Drivers" |
#define | ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) |
#define | wcsnicmp strncmpiW |
#define | swprintf snprintfW |
Typedefs | |
typedef struct tagWINE_DRIVER | WINE_DRIVER |
typedef struct tagWINE_DRIVER * | LPWINE_DRIVER |
typedef DWORD(CALLBACK * | WINEMM_msgFunc32) (UINT, UINT, DWORD_PTR, DWORD_PTR, DWORD_PTR) |
typedef struct tagWINE_MM_DRIVER_PART | WINE_MM_DRIVER_PART |
typedef struct tagWINE_MM_DRIVER | WINE_MM_DRIVER |
typedef struct tagWINE_MM_DRIVER * | LPWINE_MM_DRIVER |
typedef struct tagWINE_MLD | WINE_MLD |
typedef struct tagWINE_MLD * | LPWINE_MLD |
typedef struct WINE_WAVE * | LPWINE_WAVE |
typedef struct WINE_MIDI * | LPWINE_MIDI |
typedef struct WINE_MIXER * | LPWINE_MIXER |
typedef struct tagWINE_MCIDRIVER | WINE_MCIDRIVER |
typedef struct tagWINE_MCIDRIVER * | LPWINE_MCIDRIVER |
typedef struct tagWINE_MMIO | WINE_MMIO |
typedef struct tagWINE_MMIO * | LPWINE_MMIO |
Variables | |
CRITICAL_SECTION | WINMM_cs |
HINSTANCE | hWinMM32Instance |
HANDLE | psLastEvent |
HANDLE | psStopEvent |
#define NT_MME_DRIVERS32_KEY "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Drivers32" |
#define NT_MME_DRIVERS_KEY "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Drivers" |
typedef struct tagWINE_DRIVER * LPWINE_DRIVER |
typedef struct tagWINE_MCIDRIVER * LPWINE_MCIDRIVER |
typedef struct WINE_MIDI * LPWINE_MIDI |
typedef struct WINE_MIXER * LPWINE_MIXER |
typedef struct tagWINE_MLD * LPWINE_MLD |
typedef struct tagWINE_MM_DRIVER * LPWINE_MM_DRIVER |
typedef struct tagWINE_MMIO * LPWINE_MMIO |
typedef struct WINE_WAVE * LPWINE_WAVE |
typedef struct tagWINE_DRIVER WINE_DRIVER |
typedef struct tagWINE_MCIDRIVER WINE_MCIDRIVER |
typedef struct tagWINE_MLD WINE_MLD |
typedef struct tagWINE_MM_DRIVER WINE_MM_DRIVER |
typedef struct tagWINE_MMIO WINE_MMIO |
LPWINE_DRIVER DRIVER_FindFromHDrvr | ( | HDRVR | hDrvr | ) |
Definition at line 89 of file driver.c.
Referenced by CloseDriver(), GetDriverFlags(), GetDriverModuleHandle(), MMDRV_Install(), and SendDriverMessage().
Definition at line 233 of file driver.c.
Referenced by MCI_OpenMciDriver(), mciSendStringW(), and OpenDriver().
LPWINE_DRIVER DRIVER_TryOpenDriver32 | ( | LPCWSTR | fn, |
LPARAM | lParam2 | ||
) |
Definition at line 273 of file driver.c.
Referenced by DRIVER_TryOpenDriver32(), MCI_OpenMciDriver(), and OpenDriver().
Definition at line 658 of file driver.c.
Referenced by DllMain().
Definition at line 23 of file registry.c.
Referenced by MMDRV_Init().
Definition at line 2075 of file mci.c.
Referenced by DllMain(), mciSendCommandW(), and mciSendStringW().
LPWINE_MLD MMDRV_Alloc | ( | UINT | size, |
UINT | type, | ||
LPHANDLE | hndl, | ||
DWORD * | dwFlags, | ||
DWORD_PTR * | dwCallback, | ||
DWORD_PTR * | dwInstance | ||
) |
Definition at line 123 of file lolvldrv.c.
Referenced by MIDI_OutAlloc(), midiInOpen(), mixerOpen(), and WAVE_Open().
DWORD MMDRV_Close | ( | LPWINE_MLD | mld, |
UINT | wMsg | ||
) |
Definition at line 228 of file lolvldrv.c.
Referenced by midiInClose(), midiOutClose(), mixerClose(), and waveOutClose().
Definition at line 611 of file lolvldrv.c.
Referenced by DllMain().
void MMDRV_Free | ( | HANDLE | hndl, |
LPWINE_MLD | mld | ||
) |
Definition at line 165 of file lolvldrv.c.
Referenced by midiInClose(), midiInOpen(), midiOutClose(), midiOutOpen(), mixerClose(), mixerOpen(), MMDRV_Exit(), WAVE_Open(), waveInClose(), and waveOutClose().
LPWINE_MLD MMDRV_Get | ( | HANDLE | hndl, |
UINT | type, | ||
BOOL | bCanBeID | ||
) |
Definition at line 250 of file lolvldrv.c.
Referenced by auxGetDevCapsW(), auxGetVolume(), auxOutMessage(), auxSetVolume(), midiInAddBuffer(), midiInClose(), midiInGetDevCapsW(), midiInGetID(), midiInMessage(), midiInPrepareHeader(), midiInReset(), midiInStart(), midiInStop(), midiInUnprepareHeader(), midiOutClose(), midiOutGetDevCapsW(), midiOutGetID(), midiOutGetVolume(), midiOutLongMsg(), midiOutMessage(), midiOutPrepareHeader(), midiOutReset(), midiOutSetVolume(), midiOutShortMsg(), midiOutUnprepareHeader(), MIXER_GetDev(), mixerClose(), mixerGetDevCapsW(), mixerMessage(), MMDRV_GetRelated(), MMSYSTEM_GetMidiStream(), MMSYSTEM_MidiStream_Player(), waveInAddBuffer(), waveInClose(), waveInGetDevCapsW(), waveInGetID(), waveInGetPosition(), waveInMessage(), waveInPrepareHeader(), waveInReset(), waveInStart(), waveInStop(), waveInUnprepareHeader(), waveOutBreakLoop(), waveOutClose(), waveOutGetDevCapsW(), waveOutGetID(), waveOutGetPitch(), waveOutGetPlaybackRate(), waveOutGetPosition(), waveOutGetVolume(), waveOutMessage(), waveOutPause(), waveOutPrepareHeader(), waveOutReset(), waveOutRestart(), waveOutSetPitch(), waveOutSetPlaybackRate(), waveOutSetVolume(), waveOutUnprepareHeader(), and waveOutWrite().
Definition at line 61 of file lolvldrv.c.
Referenced by auxGetNumDevs(), midiInGetNumDevs(), midiOutGetNumDevs(), mixerGetNumDevs(), MMDRV_Alloc(), waveInGetNumDevs(), and waveOutGetNumDevs().
LPWINE_MLD MMDRV_GetRelated | ( | HANDLE | hndl, |
UINT | srcType, | ||
BOOL | bSrcCanBeID, | ||
UINT | dstTyped | ||
) |
Definition at line 285 of file lolvldrv.c.
Referenced by MIXER_GetDev().
Definition at line 530 of file lolvldrv.c.
Referenced by DllMain().
Definition at line 440 of file lolvldrv.c.
Referenced by LoadRegistryMMEDrivers(), and MMDRV_Init().
DWORD MMDRV_Message | ( | LPWINE_MLD | mld, |
UINT | wMsg, | ||
DWORD_PTR | dwParam1, | ||
DWORD_PTR | dwParam2 | ||
) |
Definition at line 71 of file lolvldrv.c.
Referenced by auxGetDevCapsW(), auxGetVolume(), auxOutMessage(), auxSetVolume(), midiInAddBuffer(), midiInGetDevCapsW(), midiInMessage(), midiInPrepareHeader(), midiInReset(), midiInStart(), midiInStop(), midiInUnprepareHeader(), midiOutGetDevCapsW(), midiOutGetVolume(), midiOutLongMsg(), midiOutMessage(), midiOutPrepareHeader(), midiOutReset(), midiOutSetVolume(), midiOutShortMsg(), midiOutUnprepareHeader(), mixerGetControlDetailsW(), mixerGetDevCapsW(), mixerGetLineControlsW(), mixerGetLineInfoW(), mixerMessage(), mixerSetControlDetails(), MMDRV_Close(), MMDRV_Open(), MMDRV_PhysicalFeatures(), waveInAddBuffer(), waveInClose(), waveInGetDevCapsW(), waveInGetPosition(), waveInMessage(), waveInPrepareHeader(), waveInReset(), waveInStart(), waveInStop(), waveInUnprepareHeader(), waveOutBreakLoop(), waveOutGetDevCapsW(), waveOutGetPitch(), waveOutGetPlaybackRate(), waveOutGetPosition(), waveOutGetVolume(), waveOutMessage(), waveOutPause(), waveOutPrepareHeader(), waveOutReset(), waveOutRestart(), waveOutSetPitch(), waveOutSetPlaybackRate(), waveOutSetVolume(), waveOutUnprepareHeader(), and waveOutWrite().
DWORD MMDRV_Open | ( | LPWINE_MLD | mld, |
UINT | wMsg, | ||
DWORD_PTR | dwParam1, | ||
DWORD | dwParam2 | ||
) |
Definition at line 183 of file lolvldrv.c.
Referenced by midiInOpen(), midiOutOpen(), midiStreamOpen(), mixerOpen(), MMDRV_Open(), and WAVE_Open().
UINT MMDRV_PhysicalFeatures | ( | LPWINE_MLD | mld, |
UINT | uMsg, | ||
DWORD_PTR | dwParam1, | ||
DWORD_PTR | dwParam2 | ||
) |
Definition at line 303 of file lolvldrv.c.
Referenced by midiOutMessage(), waveInMessage(), and waveOutMessage().
Definition at line 365 of file driver.c.
Referenced by JOY_LoadDriver(), and MMDRV_Install().
Definition at line 271 of file time.c.
Referenced by WINMM_DeleteIData().
Definition at line 193 of file winmm.c.
Referenced by midiInOpen(), midiOutOpen(), midiStreamOpen(), mixerOpen(), and WAVE_Open().
Definition at line 86 of file winmm.c.
Referenced by OpenDriver().
Definition at line 110 of file winmm.c.
Referenced by MMDRV_ExitPerType(), MMDRV_InitPerType(), MMDRV_Message(), and WAVE_Open().
|
extern |
Definition at line 50 of file winmm.c.
Referenced by MCI_GetCommandTable(), MCI_GetDevTypeFromResource(), MCI_HandleReturnValues(), MCI_Open(), MCI_SysInfo(), mciGetErrorStringA(), mciGetErrorStringW(), midiOutGetErrorTextW(), waveOutGetErrorTextW(), and WINMM_CreateIData().
|
extern |
Definition at line 51 of file winmm.c.
Referenced by MULTIMEDIA_PlaySound(), PlaySound_Free(), WINMM_CreateIData(), and WINMM_DeleteIData().
|
extern |
|
extern |
Definition at line 53 of file winmm.c.
Referenced by MCI_Close(), MCI_GetDriver(), MCI_GetDriverFromString(), MCI_LoadMciDriver(), MCI_SysInfo(), MCI_UnLoadMciDriver(), MMIO_Create(), MMIO_Destroy(), MMIO_Get(), MULTIMEDIA_PlaySound(), PlaySound_Free(), proc_PlaySound(), TIME_MMSysTimeCallback(), TIME_SetEventInternal(), timeKillEvent(), WINMM_CreateIData(), and WINMM_DeleteIData().