31#define COM_NO_WINDOWS_H
33#define NONAMELESSUNION
34#define NONAMELESSSTRUCT
44#include <wine/unicode.h>
46#define WINE_DEFAULT_WINMM_DRIVER "alsa,oss,coreaudio,esd"
47#define WINE_DEFAULT_WINMM_MAPPER "msacm32.drv"
48#define WINE_DEFAULT_WINMM_MIDI "midimap.dll"
51#define WINE_DI_MAGIC 0x900F1B01
79#define MMDRV_MIDIOUT 3
81#define MMDRV_WAVEOUT 5
191#define WINE_GDF_EXIST 0x80000000
192#define WINE_GDF_EXTERNAL_MASK 0xF0000000
193#define WINE_GDF_SESSION 0x00000001
198#define NT_MME_DRIVERS32_KEY \
199 "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Drivers32"
201#define NT_MME_DRIVERS_KEY \
202 "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Drivers"
207#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
208#define wcsnicmp strncmpiW
209#define swprintf snprintfW
GLuint GLuint GLsizei GLenum type
GLenum GLuint GLenum GLsizei const GLchar * buf
UINT(CALLBACK * YIELDPROC)(MCIDEVICEID, DWORD)
LRESULT(CALLBACK * DRIVERPROC)(DWORD_PTR, HDRVR, UINT, LPARAM, LPARAM)
struct IOProcList * pNext
struct tagWINE_DRIVER * lpPrevItem
struct tagWINE_DRIVER * lpNextItem
struct tagWINE_MCIDRIVER * lpNext
DWORD_PTR dwClientInstance
DWORD_PTR dwDriverInstance
struct IOProcList * ioProc
struct tagWINE_MMIO * lpNext
WINEMM_msgFunc32 fnMessage32
WINE_MM_DRIVER_PART parts[MMDRV_MAX]
static GLenum _GLUfuncptr fn
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
LPWINE_DRIVER DRIVER_FindFromHDrvr(HDRVR hDrvr)
struct tagWINE_MLD * LPWINE_MLD
struct tagWINE_MMIO WINE_MMIO
DWORD MMDRV_Close(LPWINE_MLD mld, UINT wMsg)
struct tagWINE_MCIDRIVER WINE_MCIDRIVER
struct WINE_MIDI * LPWINE_MIDI
LPSTR MCI_strdupWtoA(LPCWSTR str)
DWORD MMDRV_Message(LPWINE_MLD mld, UINT wMsg, DWORD_PTR dwParam1, DWORD_PTR dwParam2)
BOOL MMDRV_Install(LPCSTR drvRegName, LPCSTR drvFileName, BOOL bIsMapper)
struct tagWINE_MCIDRIVER * LPWINE_MCIDRIVER
struct tagWINE_MM_DRIVER WINE_MM_DRIVER
HDRVR WINAPI OpenDriverA(LPCSTR lpDriverName, LPCSTR lpSectionName, LPARAM lParam)
LPWINE_MLD MMDRV_GetRelated(HANDLE hndl, UINT srcType, BOOL bSrcCanBeID, UINT dstTyped)
void MMDRV_Free(HANDLE hndl, LPWINE_MLD mld)
void DRIVER_UnloadAll(void)
LPWINE_MLD MMDRV_Get(HANDLE hndl, UINT type, BOOL bCanBeID)
LPWINE_MLD MMDRV_Alloc(UINT size, UINT type, LPHANDLE hndl, DWORD *dwFlags, DWORD_PTR *dwCallback, DWORD_PTR *dwInstance)
void TIME_MMTimeStop(void)
struct tagWINE_DRIVER WINE_DRIVER
DWORD(CALLBACK * WINEMM_msgFunc32)(UINT, UINT, DWORD_PTR, DWORD_PTR, DWORD_PTR)
BOOL DRIVER_GetLibName(LPCWSTR keyName, LPCWSTR sectName, LPWSTR buf, int sz)
HINSTANCE hWinMM32Instance
UINT MMDRV_PhysicalFeatures(LPWINE_MLD mld, UINT uMsg, DWORD_PTR dwParam1, DWORD_PTR dwParam2)
LPWINE_DRIVER DRIVER_TryOpenDriver32(LPCWSTR fn, LPARAM lParam2)
struct tagWINE_DRIVER * LPWINE_DRIVER
struct tagWINE_MM_DRIVER_PART WINE_MM_DRIVER_PART
struct tagWINE_MLD WINE_MLD
struct WINE_WAVE * LPWINE_WAVE
BOOL LoadRegistryMMEDrivers(char *key)
struct WINE_MIXER * LPWINE_MIXER
MMRESULT WINMM_CheckCallback(DWORD_PTR dwCallback, DWORD fdwOpen, BOOL mixer) DECLSPEC_HIDDEN
BOOL WINMM_CheckForMMSystem(void)
CRITICAL_SECTION WINMM_cs
struct tagWINE_MM_DRIVER * LPWINE_MM_DRIVER
const char * WINMM_ErrorToString(MMRESULT error)
struct tagWINE_MMIO * LPWINE_MMIO
DWORD MCI_SendCommand(UINT wDevID, UINT16 wMsg, DWORD_PTR dwParam1, DWORD_PTR dwParam2)
DWORD MMDRV_Open(LPWINE_MLD mld, UINT wMsg, DWORD_PTR dwParam1, DWORD dwParam2)