ReactOS  0.4.14-dev-337-gf981a68
mmddk.h File Reference
#include <mmsystem.h>
#include <pshpack1.h>
#include <poppack.h>
Include dependency graph for mmddk.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DRVM_IOCTL_DATA
 
struct  joypos_tag
 
struct  joyrange_tag
 
struct  joyreguservalues_tag
 
struct  joyreghwsettings_tag
 
struct  joyreghwvalues_tag
 
struct  joyreghwconfig_tag
 
struct  joycalibrate_tag
 
struct  PORTALLOC
 
struct  WAVEOPENDESC
 
struct  MIDIOPENSTRMID
 
struct  MIDIOPENDESC
 
struct  tMIXEROPENDESC
 
struct  MCI_OPEN_DRIVER_PARMSA
 
struct  MCI_OPEN_DRIVER_PARMSW
 

Macros

#define MAX_MIDIINDRV   (16)
 
#define MAX_MIDIOUTDRV   (16)
 
#define DRVM_INIT   100
 
#define DRVM_EXIT   101
 
#define DRVM_DISABLE   102
 
#define DRVM_ENABLE   103
 
#define DRVM_IOCTL   0x100
 
#define DRVM_ADD_THRU   (DRVM_IOCTL+1)
 
#define DRVM_REMOVE_THRU   (DRVM_IOCTL+2)
 
#define DRVM_IOCTL_LAST   (DRVM_IOCTL+5)
 
#define DRVM_IOCTL_CMD_USER   0x00000000L
 
#define DRVM_IOCTL_CMD_SYSTEM   0x80000000L
 
#define DRVM_MAPPER   0x2000
 
#define DRVM_USER   0x4000
 
#define DRVM_MAPPER_STATUS   (DRVM_MAPPER+0)
 
#define DRVM_MAPPER_RECONFIGURE   (DRVM_MAPPER+1)
 
#define DRVM_MAPPER_PREFERRED_GET   (DRVM_MAPPER+21)
 
#define DRVM_MAPPER_CONSOLEVOICECOM_GET   (DRVM_MAPPER+23)
 
#define DRV_QUERYDRVENTRY   (DRV_RESERVED + 1)
 
#define DRV_QUERYDEVNODE   (DRV_RESERVED + 2)
 
#define DRV_QUERYNAME   (DRV_RESERVED + 3)
 
#define DRV_QUERYDRIVERIDS   (DRV_RESERVED + 4)
 
#define DRV_QUERYMAPPABLE   (DRV_RESERVED + 5)
 
#define DRV_QUERYMODULE   (DRV_RESERVED + 9)
 
#define DRV_PNPINSTALL   (DRV_RESERVED + 11)
 
#define DRV_QUERYDEVICEINTERFACE   (DRV_RESERVED + 12)
 
#define DRV_QUERYDEVICEINTERFACESIZE   (DRV_RESERVED + 13)
 
#define DRV_QUERYSTRINGID   (DRV_RESERVED + 14)
 
#define DRV_QUERYSTRINGIDSIZE   (DRV_RESERVED + 15)
 
#define DRV_QUERYIDFROMSTRINGID   (DRV_RESERVED + 16)
 
#define WODM_INIT   DRVM_INIT
 
#define WODM_GETNUMDEVS   3
 
#define WODM_GETDEVCAPS   4
 
#define WODM_OPEN   5
 
#define WODM_CLOSE   6
 
#define WODM_PREPARE   7
 
#define WODM_UNPREPARE   8
 
#define WODM_WRITE   9
 
#define WODM_PAUSE   10
 
#define WODM_RESTART   11
 
#define WODM_RESET   12
 
#define WODM_GETPOS   13
 
#define WODM_GETPITCH   14
 
#define WODM_SETPITCH   15
 
#define WODM_GETVOLUME   16
 
#define WODM_SETVOLUME   17
 
#define WODM_GETPLAYBACKRATE   18
 
#define WODM_SETPLAYBACKRATE   19
 
#define WODM_BREAKLOOP   20
 
#define WODM_PREFERRED   21
 
#define WODM_MAPPER_STATUS   (DRVM_MAPPER_STATUS + 0)
 
#define WAVEOUT_MAPPER_STATUS_DEVICE   0
 
#define WAVEOUT_MAPPER_STATUS_MAPPED   1
 
#define WAVEOUT_MAPPER_STATUS_FORMAT   2
 
#define WODM_BUSY   21
 
#define WIDM_INIT   DRVM_INIT
 
#define WIDM_GETNUMDEVS   50
 
#define WIDM_GETDEVCAPS   51
 
#define WIDM_OPEN   52
 
#define WIDM_CLOSE   53
 
#define WIDM_PREPARE   54
 
#define WIDM_UNPREPARE   55
 
#define WIDM_ADDBUFFER   56
 
#define WIDM_START   57
 
#define WIDM_STOP   58
 
#define WIDM_RESET   59
 
#define WIDM_GETPOS   60
 
#define WIDM_PREFERRED   61
 
#define WIDM_MAPPER_STATUS   (DRVM_MAPPER_STATUS + 0)
 
#define WAVEIN_MAPPER_STATUS_DEVICE   0
 
#define WAVEIN_MAPPER_STATUS_MAPPED   1
 
#define WAVEIN_MAPPER_STATUS_FORMAT   2
 
#define MODM_INIT   DRVM_INIT
 
#define MODM_GETNUMDEVS   1
 
#define MODM_GETDEVCAPS   2
 
#define MODM_OPEN   3
 
#define MODM_CLOSE   4
 
#define MODM_PREPARE   5
 
#define MODM_UNPREPARE   6
 
#define MODM_DATA   7
 
#define MODM_LONGDATA   8
 
#define MODM_RESET   9
 
#define MODM_GETVOLUME   10
 
#define MODM_SETVOLUME   11
 
#define MODM_CACHEPATCHES   12
 
#define MODM_CACHEDRUMPATCHES   13
 
#define MIDM_INIT   DRVM_INIT
 
#define MIDM_GETNUMDEVS   53
 
#define MIDM_GETDEVCAPS   54
 
#define MIDM_OPEN   55
 
#define MIDM_CLOSE   56
 
#define MIDM_PREPARE   57
 
#define MIDM_UNPREPARE   58
 
#define MIDM_ADDBUFFER   59
 
#define MIDM_START   60
 
#define MIDM_STOP   61
 
#define MIDM_RESET   62
 
#define AUXM_INIT   DRVM_INIT
 
#define AUXDM_GETNUMDEVS   3
 
#define AUXDM_GETDEVCAPS   4
 
#define AUXDM_GETVOLUME   5
 
#define AUXDM_SETVOLUME   6
 
#define MXDM_INIT   DRVM_INIT
 
#define MXDM_USER   DRVM_USER
 
#define MXDM_MAPPER   DRVM_MAPPER
 
#define MXDM_GETNUMDEVS   1
 
#define MXDM_GETDEVCAPS   2
 
#define MXDM_OPEN   3
 
#define MXDM_CLOSE   4
 
#define MXDM_GETLINEINFO   5
 
#define MXDM_GETLINECONTROLS   6
 
#define MXDM_GETCONTROLDETAILS   7
 
#define MXDM_SETCONTROLDETAILS   8
 
#define JOY_HW_NONE   0
 
#define JOY_HW_CUSTOM   1
 
#define JOY_HW_2A_2B_GENERIC   2
 
#define JOY_HW_2A_4B_GENERIC   3
 
#define JOY_HW_2B_GAMEPAD   4
 
#define JOY_HW_2B_FLIGHTYOKE   5
 
#define JOY_HW_2B_FLIGHTYOKETHROTTLE   6
 
#define JOY_HW_3A_2B_GENERIC   7
 
#define JOY_HW_3A_4B_GENERIC   8
 
#define JOY_HW_4B_GAMEPAD   9
 
#define JOY_HW_4B_FLIGHTYOKE   10
 
#define JOY_HW_4B_FLIGHTYOKETHROTTLE   11
 
#define JOY_HW_LASTENTRY   12
 
#define JOY_ISCAL_XY   0x00000001l /* XY are calibrated */
 
#define JOY_ISCAL_Z   0x00000002l /* Z is calibrated */
 
#define JOY_ISCAL_R   0x00000004l /* R is calibrated */
 
#define JOY_ISCAL_U   0x00000008l /* U is calibrated */
 
#define JOY_ISCAL_V   0x00000010l /* V is calibrated */
 
#define JOY_ISCAL_POV   0x00000020l /* POV is calibrated */
 
#define JOY_POV_NUMDIRS   4
 
#define JOY_POVVAL_FORWARD   0
 
#define JOY_POVVAL_BACKWARD   1
 
#define JOY_POVVAL_LEFT   2
 
#define JOY_POVVAL_RIGHT   3
 
#define JOY_HWS_HASZ   0x00000001l /* has Z info? */
 
#define JOY_HWS_HASPOV   0x00000002l /* point of view hat present */
 
#define JOY_HWS_POVISBUTTONCOMBOS   0x00000004l /* pov done through combo of buttons */
 
#define JOY_HWS_POVISPOLL   0x00000008l /* pov done through polling */
 
#define JOY_HWS_ISYOKE   0x00000010l /* joystick is a flight yoke */
 
#define JOY_HWS_ISGAMEPAD   0x00000020l /* joystick is a game pad */
 
#define JOY_HWS_ISCARCTRL   0x00000040l /* joystick is a car controller */
 
#define JOY_HWS_XISJ1Y   0x00000080l /* X is on J1 Y axis */
 
#define JOY_HWS_XISJ2X   0x00000100l /* X is on J2 X axis */
 
#define JOY_HWS_XISJ2Y   0x00000200l /* X is on J2 Y axis */
 
#define JOY_HWS_YISJ1X   0x00000400l /* Y is on J1 X axis */
 
#define JOY_HWS_YISJ2X   0x00000800l /* Y is on J2 X axis */
 
#define JOY_HWS_YISJ2Y   0x00001000l /* Y is on J2 Y axis */
 
#define JOY_HWS_ZISJ1X   0x00002000l /* Z is on J1 X axis */
 
#define JOY_HWS_ZISJ1Y   0x00004000l /* Z is on J1 Y axis */
 
#define JOY_HWS_ZISJ2X   0x00008000l /* Z is on J2 X axis */
 
#define JOY_HWS_POVISJ1X   0x00010000l /* pov done through J1 X axis */
 
#define JOY_HWS_POVISJ1Y   0x00020000l /* pov done through J1 Y axis */
 
#define JOY_HWS_POVISJ2X   0x00040000l /* pov done through J2 X axis */
 
#define JOY_HWS_HASR   0x00080000l /* has R (4th axis) info */
 
#define JOY_HWS_RISJ1X   0x00100000l /* R done through J1 X axis */
 
#define JOY_HWS_RISJ1Y   0x00200000l /* R done through J1 Y axis */
 
#define JOY_HWS_RISJ2Y   0x00400000l /* R done through J2 X axis */
 
#define JOY_HWS_HASU   0x00800000l /* has U (5th axis) info */
 
#define JOY_HWS_HASV   0x01000000l /* has V (6th axis) info */
 
#define JOY_US_HASRUDDER   0x00000001l /* joystick configured with rudder */
 
#define JOY_US_PRESENT   0x00000002l /* is joystick actually present? */
 
#define JOY_US_ISOEM   0x00000004l /* joystick is an OEM defined type */
 
#define JDD_GETNUMDEVS   (DRV_RESERVED + 0x0001)
 
#define JDD_GETDEVCAPS   (DRV_RESERVED + 0x0002)
 
#define JDD_GETPOS   (DRV_RESERVED + 0x0101)
 
#define JDD_SETCALIBRATION   (DRV_RESERVED + 0x0102)
 
#define JDD_CONFIGCHANGED   (DRV_RESERVED + 0x0103)
 
#define JDD_GETPOSEX   (DRV_RESERVED + 0x0104)
 
#define MCI_MAX_DEVICE_TYPE_LENGTH   80
 
#define MCI_FALSE   (MCI_STRING_OFFSET + 19)
 
#define MCI_TRUE   (MCI_STRING_OFFSET + 20)
 
#define MCI_FORMAT_RETURN_BASE   MCI_FORMAT_MILLISECONDS_S
 
#define MCI_FORMAT_MILLISECONDS_S   (MCI_STRING_OFFSET + 21)
 
#define MCI_FORMAT_HMS_S   (MCI_STRING_OFFSET + 22)
 
#define MCI_FORMAT_MSF_S   (MCI_STRING_OFFSET + 23)
 
#define MCI_FORMAT_FRAMES_S   (MCI_STRING_OFFSET + 24)
 
#define MCI_FORMAT_SMPTE_24_S   (MCI_STRING_OFFSET + 25)
 
#define MCI_FORMAT_SMPTE_25_S   (MCI_STRING_OFFSET + 26)
 
#define MCI_FORMAT_SMPTE_30_S   (MCI_STRING_OFFSET + 27)
 
#define MCI_FORMAT_SMPTE_30DROP_S   (MCI_STRING_OFFSET + 28)
 
#define MCI_FORMAT_BYTES_S   (MCI_STRING_OFFSET + 29)
 
#define MCI_FORMAT_SAMPLES_S   (MCI_STRING_OFFSET + 30)
 
#define MCI_FORMAT_TMSF_S   (MCI_STRING_OFFSET + 31)
 
#define MCI_VD_FORMAT_TRACK_S   (MCI_VD_OFFSET + 5)
 
#define WAVE_FORMAT_PCM_S   (MCI_WAVE_OFFSET + 0)
 
#define WAVE_MAPPER_S   (MCI_WAVE_OFFSET + 1)
 
#define MCI_SEQ_MAPPER_S   (MCI_SEQ_OFFSET + 5)
 
#define MCI_SEQ_FILE_S   (MCI_SEQ_OFFSET + 6)
 
#define MCI_SEQ_MIDI_S   (MCI_SEQ_OFFSET + 7)
 
#define MCI_SEQ_SMPTE_S   (MCI_SEQ_OFFSET + 8)
 
#define MCI_SEQ_FORMAT_SONGPTR_S   (MCI_SEQ_OFFSET + 9)
 
#define MCI_SEQ_NONE_S   (MCI_SEQ_OFFSET + 10)
 
#define MIDIMAPPER_S   (MCI_SEQ_OFFSET + 11)
 
#define MCI_RESOURCE_RETURNED   0x00010000 /* resource ID */
 
#define MCI_COLONIZED3_RETURN   0x00020000 /* colonized ID, 3 bytes data */
 
#define MCI_COLONIZED4_RETURN   0x00040000 /* colonized ID, 4 bytes data */
 
#define MCI_INTEGER_RETURNED   0x00080000 /* integer conversion needed */
 
#define MCI_RESOURCE_DRIVER   0x00100000 /* driver owns returned resource */
 
#define MCI_NO_COMMAND_TABLE   0xFFFF
 
#define MCI_COMMAND_HEAD   0
 
#define MCI_STRING   1
 
#define MCI_INTEGER   2
 
#define MCI_END_COMMAND   3
 
#define MCI_RETURN   4
 
#define MCI_FLAG   5
 
#define MCI_END_COMMAND_LIST   6
 
#define MCI_RECT   7
 
#define MCI_CONSTANT   8
 
#define MCI_END_CONSTANT   9
 
#define MAKEMCIRESOURCE(wRet, wRes)   MAKELRESULT((wRet), (wRes))
 
#define DCB_NULL   0x0000
 
#define DCB_WINDOW   0x0001 /* dwCallback is a HWND */
 
#define DCB_TASK   0x0002 /* dwCallback is a HTASK */
 
#define DCB_FUNCTION   0x0003 /* dwCallback is a FARPROC */
 
#define DCB_EVENT   0x0005 /* dwCallback is an EVENT Handler */
 
#define DCB_TYPEMASK   0x0007
 
#define DCB_NOSWITCH   0x0008 /* don't switch stacks for callback */
 

Typedefs

typedef VOID() TASKCALLBACK(DWORD dwInst)
 
typedef TASKCALLBACK FARLPTASKCALLBACK
 
typedef struct DRVM_IOCTL_DATALPDRVM_IOCTL_DATA
 
typedef struct joypos_tag JOYPOS
 
typedef struct joypos_tagLPJOYPOS
 
typedef struct joyrange_tag JOYRANGE
 
typedef struct joyrange_tagLPJOYRANGE
 
typedef struct joyreguservalues_tag JOYREGUSERVALUES
 
typedef struct joyreguservalues_tagLPJOYREGUSERVALUES
 
typedef struct joyreghwsettings_tag JOYREGHWSETTINGS
 
typedef struct joyreghwsettings_tagLPJOYHWSETTINGS
 
typedef struct joyreghwvalues_tag JOYREGHWVALUES
 
typedef struct joyreghwvalues_tagLPJOYREGHWVALUES
 
typedef struct joyreghwconfig_tag JOYREGHWCONFIG
 
typedef struct joyreghwconfig_tagLPJOYREGHWCONFIG
 
typedef struct joycalibrate_tag JOYCALIBRATE
 
typedef JOYCALIBRATELPJOYCALIBRATE
 
typedef UINT(CALLBACKJOYDEVMSGPROC) (DWORD dwID, UINT uMessage, LPARAM lParam1, LPARAM lParam2)
 
typedef JOYDEVMSGPROCLPJOYDEVMSGPROC
 
typedef struct PORTALLOCLPPORTALLOC
 
typedef struct WAVEOPENDESCLPWAVEOPENDESC
 
typedef struct MIDIOPENDESCLPMIDIOPENDESC
 
typedef struct tMIXEROPENDESC MIXEROPENDESC
 
typedef struct tMIXEROPENDESCLPMIXEROPENDESC
 
typedef struct MCI_OPEN_DRIVER_PARMSALPMCI_OPEN_DRIVER_PARMSA
 
typedef struct MCI_OPEN_DRIVER_PARMSWLPMCI_OPEN_DRIVER_PARMSW
 

Functions

UINT APIENTRY mmTaskCreate (LPTASKCALLBACK lpfn, HANDLE FAR *lph, DWORD dwInst)
 
VOID APIENTRY mmTaskBlock (DWORD h)
 
BOOL APIENTRY mmTaskSignal (DWORD h)
 
VOID APIENTRY mmTaskYield (VOID)
 
DWORD APIENTRY mmGetCurrentTask (VOID)
 
DWORD WINAPI mciGetDriverData (UINT uDeviceID)
 
BOOL WINAPI mciSetDriverData (UINT uDeviceID, DWORD dwData)
 
UINT WINAPI mciDriverYield (UINT uDeviceID)
 
BOOL WINAPI mciDriverNotify (HWND hwndCallback, UINT uDeviceID, UINT uStatus)
 
UINT WINAPI mciLoadCommandResource (HINSTANCE hInstance, LPCWSTR lpResName, UINT uType)
 
BOOL WINAPI mciFreeCommandResource (UINT uTable)
 
BOOL WINAPI DriverCallback (DWORD dwCallBack, UINT uFlags, HDRVR hDev, UINT wMsg, DWORD dwUser, DWORD dwParam1, DWORD dwParam2)
 

Macro Definition Documentation

◆ AUXDM_GETDEVCAPS

#define AUXDM_GETDEVCAPS   4

Definition at line 183 of file mmddk.h.

◆ AUXDM_GETNUMDEVS

#define AUXDM_GETNUMDEVS   3

Definition at line 182 of file mmddk.h.

◆ AUXDM_GETVOLUME

#define AUXDM_GETVOLUME   5

Definition at line 184 of file mmddk.h.

◆ AUXDM_SETVOLUME

#define AUXDM_SETVOLUME   6

Definition at line 185 of file mmddk.h.

◆ AUXM_INIT

#define AUXM_INIT   DRVM_INIT

Definition at line 181 of file mmddk.h.

◆ DCB_EVENT

#define DCB_EVENT   0x0005 /* dwCallback is an EVENT Handler */

Definition at line 457 of file mmddk.h.

◆ DCB_FUNCTION

#define DCB_FUNCTION   0x0003 /* dwCallback is a FARPROC */

Definition at line 456 of file mmddk.h.

◆ DCB_NOSWITCH

#define DCB_NOSWITCH   0x0008 /* don't switch stacks for callback */

Definition at line 459 of file mmddk.h.

◆ DCB_NULL

#define DCB_NULL   0x0000

Definition at line 453 of file mmddk.h.

◆ DCB_TASK

#define DCB_TASK   0x0002 /* dwCallback is a HTASK */

Definition at line 455 of file mmddk.h.

◆ DCB_TYPEMASK

#define DCB_TYPEMASK   0x0007

Definition at line 458 of file mmddk.h.

◆ DCB_WINDOW

#define DCB_WINDOW   0x0001 /* dwCallback is a HWND */

Definition at line 454 of file mmddk.h.

◆ DRV_PNPINSTALL

#define DRV_PNPINSTALL   (DRV_RESERVED + 11)

Definition at line 95 of file mmddk.h.

◆ DRV_QUERYDEVICEINTERFACE

#define DRV_QUERYDEVICEINTERFACE   (DRV_RESERVED + 12)

Definition at line 96 of file mmddk.h.

◆ DRV_QUERYDEVICEINTERFACESIZE

#define DRV_QUERYDEVICEINTERFACESIZE   (DRV_RESERVED + 13)

Definition at line 97 of file mmddk.h.

◆ DRV_QUERYDEVNODE

#define DRV_QUERYDEVNODE   (DRV_RESERVED + 2)

Definition at line 90 of file mmddk.h.

◆ DRV_QUERYDRIVERIDS

#define DRV_QUERYDRIVERIDS   (DRV_RESERVED + 4)

Definition at line 92 of file mmddk.h.

◆ DRV_QUERYDRVENTRY

#define DRV_QUERYDRVENTRY   (DRV_RESERVED + 1)

Definition at line 89 of file mmddk.h.

◆ DRV_QUERYIDFROMSTRINGID

#define DRV_QUERYIDFROMSTRINGID   (DRV_RESERVED + 16)

Definition at line 100 of file mmddk.h.

◆ DRV_QUERYMAPPABLE

#define DRV_QUERYMAPPABLE   (DRV_RESERVED + 5)

Definition at line 93 of file mmddk.h.

◆ DRV_QUERYMODULE

#define DRV_QUERYMODULE   (DRV_RESERVED + 9)

Definition at line 94 of file mmddk.h.

◆ DRV_QUERYNAME

#define DRV_QUERYNAME   (DRV_RESERVED + 3)

Definition at line 91 of file mmddk.h.

◆ DRV_QUERYSTRINGID

#define DRV_QUERYSTRINGID   (DRV_RESERVED + 14)

Definition at line 98 of file mmddk.h.

◆ DRV_QUERYSTRINGIDSIZE

#define DRV_QUERYSTRINGIDSIZE   (DRV_RESERVED + 15)

Definition at line 99 of file mmddk.h.

◆ DRVM_ADD_THRU

#define DRVM_ADD_THRU   (DRVM_IOCTL+1)

Definition at line 67 of file mmddk.h.

◆ DRVM_DISABLE

#define DRVM_DISABLE   102

Definition at line 58 of file mmddk.h.

◆ DRVM_ENABLE

#define DRVM_ENABLE   103

Definition at line 59 of file mmddk.h.

◆ DRVM_EXIT

#define DRVM_EXIT   101

Definition at line 57 of file mmddk.h.

◆ DRVM_INIT

#define DRVM_INIT   100

Definition at line 56 of file mmddk.h.

◆ DRVM_IOCTL

#define DRVM_IOCTL   0x100

Definition at line 66 of file mmddk.h.

◆ DRVM_IOCTL_CMD_SYSTEM

#define DRVM_IOCTL_CMD_SYSTEM   0x80000000L

Definition at line 80 of file mmddk.h.

◆ DRVM_IOCTL_CMD_USER

#define DRVM_IOCTL_CMD_USER   0x00000000L

Definition at line 79 of file mmddk.h.

◆ DRVM_IOCTL_LAST

#define DRVM_IOCTL_LAST   (DRVM_IOCTL+5)

Definition at line 69 of file mmddk.h.

◆ DRVM_MAPPER

#define DRVM_MAPPER   0x2000

Definition at line 82 of file mmddk.h.

◆ DRVM_MAPPER_CONSOLEVOICECOM_GET

#define DRVM_MAPPER_CONSOLEVOICECOM_GET   (DRVM_MAPPER+23)

Definition at line 87 of file mmddk.h.

◆ DRVM_MAPPER_PREFERRED_GET

#define DRVM_MAPPER_PREFERRED_GET   (DRVM_MAPPER+21)

Definition at line 86 of file mmddk.h.

◆ DRVM_MAPPER_RECONFIGURE

#define DRVM_MAPPER_RECONFIGURE   (DRVM_MAPPER+1)

Definition at line 85 of file mmddk.h.

◆ DRVM_MAPPER_STATUS

#define DRVM_MAPPER_STATUS   (DRVM_MAPPER+0)

Definition at line 84 of file mmddk.h.

◆ DRVM_REMOVE_THRU

#define DRVM_REMOVE_THRU   (DRVM_IOCTL+2)

Definition at line 68 of file mmddk.h.

◆ DRVM_USER

#define DRVM_USER   0x4000

Definition at line 83 of file mmddk.h.

◆ JDD_CONFIGCHANGED

#define JDD_CONFIGCHANGED   (DRV_RESERVED + 0x0103)

Definition at line 335 of file mmddk.h.

◆ JDD_GETDEVCAPS

#define JDD_GETDEVCAPS   (DRV_RESERVED + 0x0002)

Definition at line 332 of file mmddk.h.

◆ JDD_GETNUMDEVS

#define JDD_GETNUMDEVS   (DRV_RESERVED + 0x0001)

Definition at line 331 of file mmddk.h.

◆ JDD_GETPOS

#define JDD_GETPOS   (DRV_RESERVED + 0x0101)

Definition at line 333 of file mmddk.h.

◆ JDD_GETPOSEX

#define JDD_GETPOSEX   (DRV_RESERVED + 0x0104)

Definition at line 336 of file mmddk.h.

◆ JDD_SETCALIBRATION

#define JDD_SETCALIBRATION   (DRV_RESERVED + 0x0102)

Definition at line 334 of file mmddk.h.

◆ JOY_HW_2A_2B_GENERIC

#define JOY_HW_2A_2B_GENERIC   2

Definition at line 203 of file mmddk.h.

◆ JOY_HW_2A_4B_GENERIC

#define JOY_HW_2A_4B_GENERIC   3

Definition at line 204 of file mmddk.h.

◆ JOY_HW_2B_FLIGHTYOKE

#define JOY_HW_2B_FLIGHTYOKE   5

Definition at line 206 of file mmddk.h.

◆ JOY_HW_2B_FLIGHTYOKETHROTTLE

#define JOY_HW_2B_FLIGHTYOKETHROTTLE   6

Definition at line 207 of file mmddk.h.

◆ JOY_HW_2B_GAMEPAD

#define JOY_HW_2B_GAMEPAD   4

Definition at line 205 of file mmddk.h.

◆ JOY_HW_3A_2B_GENERIC

#define JOY_HW_3A_2B_GENERIC   7

Definition at line 208 of file mmddk.h.

◆ JOY_HW_3A_4B_GENERIC

#define JOY_HW_3A_4B_GENERIC   8

Definition at line 209 of file mmddk.h.

◆ JOY_HW_4B_FLIGHTYOKE

#define JOY_HW_4B_FLIGHTYOKE   10

Definition at line 211 of file mmddk.h.

◆ JOY_HW_4B_FLIGHTYOKETHROTTLE

#define JOY_HW_4B_FLIGHTYOKETHROTTLE   11

Definition at line 212 of file mmddk.h.

◆ JOY_HW_4B_GAMEPAD

#define JOY_HW_4B_GAMEPAD   9

Definition at line 210 of file mmddk.h.

◆ JOY_HW_CUSTOM

#define JOY_HW_CUSTOM   1

Definition at line 202 of file mmddk.h.

◆ JOY_HW_LASTENTRY

#define JOY_HW_LASTENTRY   12

Definition at line 213 of file mmddk.h.

◆ JOY_HW_NONE

#define JOY_HW_NONE   0

Definition at line 201 of file mmddk.h.

◆ JOY_HWS_HASPOV

#define JOY_HWS_HASPOV   0x00000002l /* point of view hat present */

Definition at line 232 of file mmddk.h.

◆ JOY_HWS_HASR

#define JOY_HWS_HASR   0x00080000l /* has R (4th axis) info */

Definition at line 255 of file mmddk.h.

◆ JOY_HWS_HASU

#define JOY_HWS_HASU   0x00800000l /* has U (5th axis) info */

Definition at line 260 of file mmddk.h.

◆ JOY_HWS_HASV

#define JOY_HWS_HASV   0x01000000l /* has V (6th axis) info */

Definition at line 261 of file mmddk.h.

◆ JOY_HWS_HASZ

#define JOY_HWS_HASZ   0x00000001l /* has Z info? */

Definition at line 231 of file mmddk.h.

◆ JOY_HWS_ISCARCTRL

#define JOY_HWS_ISCARCTRL   0x00000040l /* joystick is a car controller */

Definition at line 237 of file mmddk.h.

◆ JOY_HWS_ISGAMEPAD

#define JOY_HWS_ISGAMEPAD   0x00000020l /* joystick is a game pad */

Definition at line 236 of file mmddk.h.

◆ JOY_HWS_ISYOKE

#define JOY_HWS_ISYOKE   0x00000010l /* joystick is a flight yoke */

Definition at line 235 of file mmddk.h.

◆ JOY_HWS_POVISBUTTONCOMBOS

#define JOY_HWS_POVISBUTTONCOMBOS   0x00000004l /* pov done through combo of buttons */

Definition at line 233 of file mmddk.h.

◆ JOY_HWS_POVISJ1X

#define JOY_HWS_POVISJ1X   0x00010000l /* pov done through J1 X axis */

Definition at line 251 of file mmddk.h.

◆ JOY_HWS_POVISJ1Y

#define JOY_HWS_POVISJ1Y   0x00020000l /* pov done through J1 Y axis */

Definition at line 252 of file mmddk.h.

◆ JOY_HWS_POVISJ2X

#define JOY_HWS_POVISJ2X   0x00040000l /* pov done through J2 X axis */

Definition at line 253 of file mmddk.h.

◆ JOY_HWS_POVISPOLL

#define JOY_HWS_POVISPOLL   0x00000008l /* pov done through polling */

Definition at line 234 of file mmddk.h.

◆ JOY_HWS_RISJ1X

#define JOY_HWS_RISJ1X   0x00100000l /* R done through J1 X axis */

Definition at line 256 of file mmddk.h.

◆ JOY_HWS_RISJ1Y

#define JOY_HWS_RISJ1Y   0x00200000l /* R done through J1 Y axis */

Definition at line 257 of file mmddk.h.

◆ JOY_HWS_RISJ2Y

#define JOY_HWS_RISJ2Y   0x00400000l /* R done through J2 X axis */

Definition at line 258 of file mmddk.h.

◆ JOY_HWS_XISJ1Y

#define JOY_HWS_XISJ1Y   0x00000080l /* X is on J1 Y axis */

Definition at line 239 of file mmddk.h.

◆ JOY_HWS_XISJ2X

#define JOY_HWS_XISJ2X   0x00000100l /* X is on J2 X axis */

Definition at line 240 of file mmddk.h.

◆ JOY_HWS_XISJ2Y

#define JOY_HWS_XISJ2Y   0x00000200l /* X is on J2 Y axis */

Definition at line 241 of file mmddk.h.

◆ JOY_HWS_YISJ1X

#define JOY_HWS_YISJ1X   0x00000400l /* Y is on J1 X axis */

Definition at line 243 of file mmddk.h.

◆ JOY_HWS_YISJ2X

#define JOY_HWS_YISJ2X   0x00000800l /* Y is on J2 X axis */

Definition at line 244 of file mmddk.h.

◆ JOY_HWS_YISJ2Y

#define JOY_HWS_YISJ2Y   0x00001000l /* Y is on J2 Y axis */

Definition at line 245 of file mmddk.h.

◆ JOY_HWS_ZISJ1X

#define JOY_HWS_ZISJ1X   0x00002000l /* Z is on J1 X axis */

Definition at line 247 of file mmddk.h.

◆ JOY_HWS_ZISJ1Y

#define JOY_HWS_ZISJ1Y   0x00004000l /* Z is on J1 Y axis */

Definition at line 248 of file mmddk.h.

◆ JOY_HWS_ZISJ2X

#define JOY_HWS_ZISJ2X   0x00008000l /* Z is on J2 X axis */

Definition at line 249 of file mmddk.h.

◆ JOY_ISCAL_POV

#define JOY_ISCAL_POV   0x00000020l /* POV is calibrated */

Definition at line 221 of file mmddk.h.

◆ JOY_ISCAL_R

#define JOY_ISCAL_R   0x00000004l /* R is calibrated */

Definition at line 218 of file mmddk.h.

◆ JOY_ISCAL_U

#define JOY_ISCAL_U   0x00000008l /* U is calibrated */

Definition at line 219 of file mmddk.h.

◆ JOY_ISCAL_V

#define JOY_ISCAL_V   0x00000010l /* V is calibrated */

Definition at line 220 of file mmddk.h.

◆ JOY_ISCAL_XY

#define JOY_ISCAL_XY   0x00000001l /* XY are calibrated */

Definition at line 216 of file mmddk.h.

◆ JOY_ISCAL_Z

#define JOY_ISCAL_Z   0x00000002l /* Z is calibrated */

Definition at line 217 of file mmddk.h.

◆ JOY_POV_NUMDIRS

#define JOY_POV_NUMDIRS   4

Definition at line 224 of file mmddk.h.

◆ JOY_POVVAL_BACKWARD

#define JOY_POVVAL_BACKWARD   1

Definition at line 226 of file mmddk.h.

◆ JOY_POVVAL_FORWARD

#define JOY_POVVAL_FORWARD   0

Definition at line 225 of file mmddk.h.

◆ JOY_POVVAL_LEFT

#define JOY_POVVAL_LEFT   2

Definition at line 227 of file mmddk.h.

◆ JOY_POVVAL_RIGHT

#define JOY_POVVAL_RIGHT   3

Definition at line 228 of file mmddk.h.

◆ JOY_US_HASRUDDER

#define JOY_US_HASRUDDER   0x00000001l /* joystick configured with rudder */

Definition at line 264 of file mmddk.h.

◆ JOY_US_ISOEM

#define JOY_US_ISOEM   0x00000004l /* joystick is an OEM defined type */

Definition at line 266 of file mmddk.h.

◆ JOY_US_PRESENT

#define JOY_US_PRESENT   0x00000002l /* is joystick actually present? */

Definition at line 265 of file mmddk.h.

◆ MAKEMCIRESOURCE

#define MAKEMCIRESOURCE (   wRet,
  wRes 
)    MAKELRESULT((wRet), (wRes))

Definition at line 388 of file mmddk.h.

◆ MAX_MIDIINDRV

#define MAX_MIDIINDRV   (16)

Definition at line 42 of file mmddk.h.

◆ MAX_MIDIOUTDRV

#define MAX_MIDIOUTDRV   (16)

Definition at line 48 of file mmddk.h.

◆ MCI_COLONIZED3_RETURN

#define MCI_COLONIZED3_RETURN   0x00020000 /* colonized ID, 3 bytes data */

Definition at line 370 of file mmddk.h.

◆ MCI_COLONIZED4_RETURN

#define MCI_COLONIZED4_RETURN   0x00040000 /* colonized ID, 4 bytes data */

Definition at line 371 of file mmddk.h.

◆ MCI_COMMAND_HEAD

#define MCI_COMMAND_HEAD   0

Definition at line 377 of file mmddk.h.

◆ MCI_CONSTANT

#define MCI_CONSTANT   8

Definition at line 385 of file mmddk.h.

◆ MCI_END_COMMAND

#define MCI_END_COMMAND   3

Definition at line 380 of file mmddk.h.

◆ MCI_END_COMMAND_LIST

#define MCI_END_COMMAND_LIST   6

Definition at line 383 of file mmddk.h.

◆ MCI_END_CONSTANT

#define MCI_END_CONSTANT   9

Definition at line 386 of file mmddk.h.

◆ MCI_FALSE

#define MCI_FALSE   (MCI_STRING_OFFSET + 19)

Definition at line 340 of file mmddk.h.

◆ MCI_FLAG

#define MCI_FLAG   5

Definition at line 382 of file mmddk.h.

◆ MCI_FORMAT_BYTES_S

#define MCI_FORMAT_BYTES_S   (MCI_STRING_OFFSET + 29)

Definition at line 352 of file mmddk.h.

◆ MCI_FORMAT_FRAMES_S

#define MCI_FORMAT_FRAMES_S   (MCI_STRING_OFFSET + 24)

Definition at line 347 of file mmddk.h.

◆ MCI_FORMAT_HMS_S

#define MCI_FORMAT_HMS_S   (MCI_STRING_OFFSET + 22)

Definition at line 345 of file mmddk.h.

◆ MCI_FORMAT_MILLISECONDS_S

#define MCI_FORMAT_MILLISECONDS_S   (MCI_STRING_OFFSET + 21)

Definition at line 344 of file mmddk.h.

◆ MCI_FORMAT_MSF_S

#define MCI_FORMAT_MSF_S   (MCI_STRING_OFFSET + 23)

Definition at line 346 of file mmddk.h.

◆ MCI_FORMAT_RETURN_BASE

#define MCI_FORMAT_RETURN_BASE   MCI_FORMAT_MILLISECONDS_S

Definition at line 343 of file mmddk.h.

◆ MCI_FORMAT_SAMPLES_S

#define MCI_FORMAT_SAMPLES_S   (MCI_STRING_OFFSET + 30)

Definition at line 353 of file mmddk.h.

◆ MCI_FORMAT_SMPTE_24_S

#define MCI_FORMAT_SMPTE_24_S   (MCI_STRING_OFFSET + 25)

Definition at line 348 of file mmddk.h.

◆ MCI_FORMAT_SMPTE_25_S

#define MCI_FORMAT_SMPTE_25_S   (MCI_STRING_OFFSET + 26)

Definition at line 349 of file mmddk.h.

◆ MCI_FORMAT_SMPTE_30_S

#define MCI_FORMAT_SMPTE_30_S   (MCI_STRING_OFFSET + 27)

Definition at line 350 of file mmddk.h.

◆ MCI_FORMAT_SMPTE_30DROP_S

#define MCI_FORMAT_SMPTE_30DROP_S   (MCI_STRING_OFFSET + 28)

Definition at line 351 of file mmddk.h.

◆ MCI_FORMAT_TMSF_S

#define MCI_FORMAT_TMSF_S   (MCI_STRING_OFFSET + 31)

Definition at line 354 of file mmddk.h.

◆ MCI_INTEGER

#define MCI_INTEGER   2

Definition at line 379 of file mmddk.h.

◆ MCI_INTEGER_RETURNED

#define MCI_INTEGER_RETURNED   0x00080000 /* integer conversion needed */

Definition at line 372 of file mmddk.h.

◆ MCI_MAX_DEVICE_TYPE_LENGTH

#define MCI_MAX_DEVICE_TYPE_LENGTH   80

Definition at line 338 of file mmddk.h.

◆ MCI_NO_COMMAND_TABLE

#define MCI_NO_COMMAND_TABLE   0xFFFF

Definition at line 375 of file mmddk.h.

◆ MCI_RECT

#define MCI_RECT   7

Definition at line 384 of file mmddk.h.

◆ MCI_RESOURCE_DRIVER

#define MCI_RESOURCE_DRIVER   0x00100000 /* driver owns returned resource */

Definition at line 373 of file mmddk.h.

◆ MCI_RESOURCE_RETURNED

#define MCI_RESOURCE_RETURNED   0x00010000 /* resource ID */

Definition at line 369 of file mmddk.h.

◆ MCI_RETURN

#define MCI_RETURN   4

Definition at line 381 of file mmddk.h.

◆ MCI_SEQ_FILE_S

#define MCI_SEQ_FILE_S   (MCI_SEQ_OFFSET + 6)

Definition at line 362 of file mmddk.h.

◆ MCI_SEQ_FORMAT_SONGPTR_S

#define MCI_SEQ_FORMAT_SONGPTR_S   (MCI_SEQ_OFFSET + 9)

Definition at line 365 of file mmddk.h.

◆ MCI_SEQ_MAPPER_S

#define MCI_SEQ_MAPPER_S   (MCI_SEQ_OFFSET + 5)

Definition at line 361 of file mmddk.h.

◆ MCI_SEQ_MIDI_S

#define MCI_SEQ_MIDI_S   (MCI_SEQ_OFFSET + 7)

Definition at line 363 of file mmddk.h.

◆ MCI_SEQ_NONE_S

#define MCI_SEQ_NONE_S   (MCI_SEQ_OFFSET + 10)

Definition at line 366 of file mmddk.h.

◆ MCI_SEQ_SMPTE_S

#define MCI_SEQ_SMPTE_S   (MCI_SEQ_OFFSET + 8)

Definition at line 364 of file mmddk.h.

◆ MCI_STRING

#define MCI_STRING   1

Definition at line 378 of file mmddk.h.

◆ MCI_TRUE

#define MCI_TRUE   (MCI_STRING_OFFSET + 20)

Definition at line 341 of file mmddk.h.

◆ MCI_VD_FORMAT_TRACK_S

#define MCI_VD_FORMAT_TRACK_S   (MCI_VD_OFFSET + 5)

Definition at line 356 of file mmddk.h.

◆ MIDIMAPPER_S

#define MIDIMAPPER_S   (MCI_SEQ_OFFSET + 11)

Definition at line 367 of file mmddk.h.

◆ MIDM_ADDBUFFER

#define MIDM_ADDBUFFER   59

Definition at line 175 of file mmddk.h.

◆ MIDM_CLOSE

#define MIDM_CLOSE   56

Definition at line 172 of file mmddk.h.

◆ MIDM_GETDEVCAPS

#define MIDM_GETDEVCAPS   54

Definition at line 170 of file mmddk.h.

◆ MIDM_GETNUMDEVS

#define MIDM_GETNUMDEVS   53

Definition at line 169 of file mmddk.h.

◆ MIDM_INIT

#define MIDM_INIT   DRVM_INIT

Definition at line 168 of file mmddk.h.

◆ MIDM_OPEN

#define MIDM_OPEN   55

Definition at line 171 of file mmddk.h.

◆ MIDM_PREPARE

#define MIDM_PREPARE   57

Definition at line 173 of file mmddk.h.

◆ MIDM_RESET

#define MIDM_RESET   62

Definition at line 178 of file mmddk.h.

◆ MIDM_START

#define MIDM_START   60

Definition at line 176 of file mmddk.h.

◆ MIDM_STOP

#define MIDM_STOP   61

Definition at line 177 of file mmddk.h.

◆ MIDM_UNPREPARE

#define MIDM_UNPREPARE   58

Definition at line 174 of file mmddk.h.

◆ MODM_CACHEDRUMPATCHES

#define MODM_CACHEDRUMPATCHES   13

Definition at line 166 of file mmddk.h.

◆ MODM_CACHEPATCHES

#define MODM_CACHEPATCHES   12

Definition at line 165 of file mmddk.h.

◆ MODM_CLOSE

#define MODM_CLOSE   4

Definition at line 157 of file mmddk.h.

◆ MODM_DATA

#define MODM_DATA   7

Definition at line 160 of file mmddk.h.

◆ MODM_GETDEVCAPS

#define MODM_GETDEVCAPS   2

Definition at line 155 of file mmddk.h.

◆ MODM_GETNUMDEVS

#define MODM_GETNUMDEVS   1

Definition at line 154 of file mmddk.h.

◆ MODM_GETVOLUME

#define MODM_GETVOLUME   10

Definition at line 163 of file mmddk.h.

◆ MODM_INIT

#define MODM_INIT   DRVM_INIT

Definition at line 153 of file mmddk.h.

◆ MODM_LONGDATA

#define MODM_LONGDATA   8

Definition at line 161 of file mmddk.h.

◆ MODM_OPEN

#define MODM_OPEN   3

Definition at line 156 of file mmddk.h.

◆ MODM_PREPARE

#define MODM_PREPARE   5

Definition at line 158 of file mmddk.h.

◆ MODM_RESET

#define MODM_RESET   9

Definition at line 162 of file mmddk.h.

◆ MODM_SETVOLUME

#define MODM_SETVOLUME   11

Definition at line 164 of file mmddk.h.

◆ MODM_UNPREPARE

#define MODM_UNPREPARE   6

Definition at line 159 of file mmddk.h.

◆ MXDM_CLOSE

#define MXDM_CLOSE   4

Definition at line 194 of file mmddk.h.

◆ MXDM_GETCONTROLDETAILS

#define MXDM_GETCONTROLDETAILS   7

Definition at line 197 of file mmddk.h.

◆ MXDM_GETDEVCAPS

#define MXDM_GETDEVCAPS   2

Definition at line 192 of file mmddk.h.

◆ MXDM_GETLINECONTROLS

#define MXDM_GETLINECONTROLS   6

Definition at line 196 of file mmddk.h.

◆ MXDM_GETLINEINFO

#define MXDM_GETLINEINFO   5

Definition at line 195 of file mmddk.h.

◆ MXDM_GETNUMDEVS

#define MXDM_GETNUMDEVS   1

Definition at line 191 of file mmddk.h.

◆ MXDM_INIT

#define MXDM_INIT   DRVM_INIT

Definition at line 187 of file mmddk.h.

◆ MXDM_MAPPER

#define MXDM_MAPPER   DRVM_MAPPER

Definition at line 189 of file mmddk.h.

◆ MXDM_OPEN

#define MXDM_OPEN   3

Definition at line 193 of file mmddk.h.

◆ MXDM_SETCONTROLDETAILS

#define MXDM_SETCONTROLDETAILS   8

Definition at line 198 of file mmddk.h.

◆ MXDM_USER

#define MXDM_USER   DRVM_USER

Definition at line 188 of file mmddk.h.

◆ WAVE_FORMAT_PCM_S

#define WAVE_FORMAT_PCM_S   (MCI_WAVE_OFFSET + 0)

Definition at line 358 of file mmddk.h.

◆ WAVE_MAPPER_S

#define WAVE_MAPPER_S   (MCI_WAVE_OFFSET + 1)

Definition at line 359 of file mmddk.h.

◆ WAVEIN_MAPPER_STATUS_DEVICE

#define WAVEIN_MAPPER_STATUS_DEVICE   0

Definition at line 149 of file mmddk.h.

◆ WAVEIN_MAPPER_STATUS_FORMAT

#define WAVEIN_MAPPER_STATUS_FORMAT   2

Definition at line 151 of file mmddk.h.

◆ WAVEIN_MAPPER_STATUS_MAPPED

#define WAVEIN_MAPPER_STATUS_MAPPED   1

Definition at line 150 of file mmddk.h.

◆ WAVEOUT_MAPPER_STATUS_DEVICE

#define WAVEOUT_MAPPER_STATUS_DEVICE   0

Definition at line 129 of file mmddk.h.

◆ WAVEOUT_MAPPER_STATUS_FORMAT

#define WAVEOUT_MAPPER_STATUS_FORMAT   2

Definition at line 131 of file mmddk.h.

◆ WAVEOUT_MAPPER_STATUS_MAPPED

#define WAVEOUT_MAPPER_STATUS_MAPPED   1

Definition at line 130 of file mmddk.h.

◆ WIDM_ADDBUFFER

#define WIDM_ADDBUFFER   56

Definition at line 142 of file mmddk.h.

◆ WIDM_CLOSE

#define WIDM_CLOSE   53

Definition at line 139 of file mmddk.h.

◆ WIDM_GETDEVCAPS

#define WIDM_GETDEVCAPS   51

Definition at line 137 of file mmddk.h.

◆ WIDM_GETNUMDEVS

#define WIDM_GETNUMDEVS   50

Definition at line 136 of file mmddk.h.

◆ WIDM_GETPOS

#define WIDM_GETPOS   60

Definition at line 146 of file mmddk.h.

◆ WIDM_INIT

#define WIDM_INIT   DRVM_INIT

Definition at line 135 of file mmddk.h.

◆ WIDM_MAPPER_STATUS

#define WIDM_MAPPER_STATUS   (DRVM_MAPPER_STATUS + 0)

Definition at line 148 of file mmddk.h.

◆ WIDM_OPEN

#define WIDM_OPEN   52

Definition at line 138 of file mmddk.h.

◆ WIDM_PREFERRED

#define WIDM_PREFERRED   61

Definition at line 147 of file mmddk.h.

◆ WIDM_PREPARE

#define WIDM_PREPARE   54

Definition at line 140 of file mmddk.h.

◆ WIDM_RESET

#define WIDM_RESET   59

Definition at line 145 of file mmddk.h.

◆ WIDM_START

#define WIDM_START   57

Definition at line 143 of file mmddk.h.

◆ WIDM_STOP

#define WIDM_STOP   58

Definition at line 144 of file mmddk.h.

◆ WIDM_UNPREPARE

#define WIDM_UNPREPARE   55

Definition at line 141 of file mmddk.h.

◆ WODM_BREAKLOOP

#define WODM_BREAKLOOP   20

Definition at line 125 of file mmddk.h.

◆ WODM_BUSY

#define WODM_BUSY   21

Definition at line 133 of file mmddk.h.

◆ WODM_CLOSE

#define WODM_CLOSE   6

Definition at line 111 of file mmddk.h.

◆ WODM_GETDEVCAPS

#define WODM_GETDEVCAPS   4

Definition at line 109 of file mmddk.h.

◆ WODM_GETNUMDEVS

#define WODM_GETNUMDEVS   3

Definition at line 108 of file mmddk.h.

◆ WODM_GETPITCH

#define WODM_GETPITCH   14

Definition at line 119 of file mmddk.h.

◆ WODM_GETPLAYBACKRATE

#define WODM_GETPLAYBACKRATE   18

Definition at line 123 of file mmddk.h.

◆ WODM_GETPOS

#define WODM_GETPOS   13

Definition at line 118 of file mmddk.h.

◆ WODM_GETVOLUME

#define WODM_GETVOLUME   16

Definition at line 121 of file mmddk.h.

◆ WODM_INIT

#define WODM_INIT   DRVM_INIT

Definition at line 107 of file mmddk.h.

◆ WODM_MAPPER_STATUS

#define WODM_MAPPER_STATUS   (DRVM_MAPPER_STATUS + 0)

Definition at line 128 of file mmddk.h.

◆ WODM_OPEN

#define WODM_OPEN   5

Definition at line 110 of file mmddk.h.

◆ WODM_PAUSE

#define WODM_PAUSE   10

Definition at line 115 of file mmddk.h.

◆ WODM_PREFERRED

#define WODM_PREFERRED   21

Definition at line 126 of file mmddk.h.

◆ WODM_PREPARE

#define WODM_PREPARE   7

Definition at line 112 of file mmddk.h.

◆ WODM_RESET

#define WODM_RESET   12

Definition at line 117 of file mmddk.h.

◆ WODM_RESTART

#define WODM_RESTART   11

Definition at line 116 of file mmddk.h.

◆ WODM_SETPITCH

#define WODM_SETPITCH   15

Definition at line 120 of file mmddk.h.

◆ WODM_SETPLAYBACKRATE

#define WODM_SETPLAYBACKRATE   19

Definition at line 124 of file mmddk.h.

◆ WODM_SETVOLUME

#define WODM_SETVOLUME   17

Definition at line 122 of file mmddk.h.

◆ WODM_UNPREPARE

#define WODM_UNPREPARE   8

Definition at line 113 of file mmddk.h.

◆ WODM_WRITE

#define WODM_WRITE   9

Definition at line 114 of file mmddk.h.

Typedef Documentation

◆ JOYCALIBRATE

◆ JOYDEVMSGPROC

typedef UINT(CALLBACK * JOYDEVMSGPROC) (DWORD dwID, UINT uMessage, LPARAM lParam1, LPARAM lParam2)

Definition at line 327 of file mmddk.h.

◆ JOYPOS

◆ JOYRANGE

◆ JOYREGHWCONFIG

◆ JOYREGHWSETTINGS

◆ JOYREGHWVALUES

◆ JOYREGUSERVALUES

◆ LPDRVM_IOCTL_DATA

◆ LPJOYCALIBRATE

Definition at line 324 of file mmddk.h.

◆ LPJOYDEVMSGPROC

Definition at line 328 of file mmddk.h.

◆ LPJOYHWSETTINGS

◆ LPJOYPOS

◆ LPJOYRANGE

◆ LPJOYREGHWCONFIG

◆ LPJOYREGHWVALUES

◆ LPJOYREGUSERVALUES

◆ LPMCI_OPEN_DRIVER_PARMSA

◆ LPMCI_OPEN_DRIVER_PARMSW

◆ LPMIDIOPENDESC

◆ LPMIXEROPENDESC

◆ LPPORTALLOC

◆ LPTASKCALLBACK

Definition at line 33 of file mmddk.h.

◆ LPWAVEOPENDESC

◆ MIXEROPENDESC

◆ TASKCALLBACK

typedef VOID() TASKCALLBACK(DWORD dwInst)

Definition at line 31 of file mmddk.h.

Function Documentation

◆ DriverCallback()

BOOL WINAPI DriverCallback ( DWORD  dwCallBack,
UINT  uFlags,
HDRVR  hDev,
UINT  wMsg,
DWORD  dwUser,
DWORD  dwParam1,
DWORD  dwParam2 
)

◆ mciDriverNotify()

BOOL WINAPI mciDriverNotify ( HWND  hwndCallback,
UINT  uDeviceID,
UINT  uStatus 
)

Definition at line 2056 of file mci.c.

2057 {
2058  TRACE("(%p, %04x, %04X)\n", hWndCallBack, wDevID, wStatus);
2059 
2060  return PostMessageW(hWndCallBack, MM_MCINOTIFY, wStatus, wDevID);
2061 }
#define TRACE(s)
Definition: solgame.cpp:4
#define MM_MCINOTIFY
Definition: mmsystem.h:55
BOOL WINAPI PostMessageW(_In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)

Referenced by MCIAVI_mciClose(), MCIAVI_mciOpen(), MCIAVI_mciSeek(), MCIAVI_mciStatus(), MCIAVI_mciStep(), MCIAVI_mciStop(), MCIAVI_player(), MCICDA_Notify(), MCICDA_Open(), MCICDA_Pause(), MCICDA_Play(), MCICDA_Stop(), MCIQTZ_mciNotify(), MCIQTZ_mciOpen(), MCIQTZ_mciPlay(), MCIQTZ_notifyThread(), MIDI_mciNotify(), MIDI_mciPlay(), MIDI_mciStop(), MIDI_player(), WAVE_mciNotify(), WAVE_mciPlay(), WAVE_mciRecord(), and WAVE_mciStop().

◆ mciDriverYield()

UINT WINAPI mciDriverYield ( UINT  uDeviceID)

Definition at line 2290 of file mci.c.

2291 {
2292  LPWINE_MCIDRIVER wmd;
2293  UINT ret = 0;
2294 
2295  TRACE("(%04x)\n", uDeviceID);
2296 
2297  if (!(wmd = MCI_GetDriver(uDeviceID)) || !wmd->lpfnYieldProc) {
2298  MyUserYield();
2299  } else {
2300  ret = wmd->lpfnYieldProc(uDeviceID, wmd->dwYieldData);
2301  }
2302 
2303  return ret;
2304 }
YIELDPROC lpfnYieldProc
Definition: winemm.h:125
static LPWINE_MCIDRIVER MCI_GetDriver(UINT wDevID)
Definition: mci.c:80
#define TRACE(s)
Definition: solgame.cpp:4
static void MyUserYield(void)
Definition: mci.c:2171
int ret
unsigned int UINT
Definition: ndis.h:50
DWORD dwYieldData
Definition: winemm.h:126

◆ mciFreeCommandResource()

BOOL WINAPI mciFreeCommandResource ( UINT  uTable)

Definition at line 1500 of file mci.c.

1501 {
1502  TRACE("(%08x)!\n", uTable);
1503 
1504  if (uTable >= MAX_MCICMDTABLE || !S_MciCmdTable[uTable].lpTable)
1505  return FALSE;
1506 
1507  FreeResource(S_MciCmdTable[uTable].hMem);
1508  S_MciCmdTable[uTable].hMem = NULL;
1509  S_MciCmdTable[uTable].lpTable = NULL;
1510  HeapFree(GetProcessHeap(), 0, S_MciCmdTable[uTable].aVerbs);
1511  S_MciCmdTable[uTable].aVerbs = 0;
1512  S_MciCmdTable[uTable].nVerbs = 0;
1513  return TRUE;
1514 }
#define TRUE
Definition: types.h:120
BOOL WINAPI FreeResource(HGLOBAL handle)
Definition: res.c:559
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
#define GetProcessHeap()
Definition: compat.h:403
const BYTE * lpTable
Definition: mci.c:561
LPCWSTR * aVerbs
Definition: mci.c:563
#define MAX_MCICMDTABLE
Definition: mci.c:555
static WINE_MCICMDTABLE S_MciCmdTable[MAX_MCICMDTABLE]
Definition: mci.c:566
HGLOBAL hMem
Definition: mci.c:560
#define HeapFree(x, y, z)
Definition: compat.h:402

Referenced by MCIAVI_drvClose(), and MCIQTZ_drvClose().

◆ mciGetDriverData()

DWORD WINAPI mciGetDriverData ( UINT  uDeviceID)

Definition at line 2066 of file mci.c.

2067 {
2068  LPWINE_MCIDRIVER wmd;
2069 
2070  TRACE("(%04x)\n", uDeviceID);
2071 
2072  wmd = MCI_GetDriver(uDeviceID);
2073 
2074  if (!wmd) {
2075  WARN("Bad uDeviceID\n");
2076  return 0L;
2077  }
2078 
2079  return wmd->dwPrivate;
2080 }
#define WARN(fmt,...)
Definition: debug.h:111
static LPWINE_MCIDRIVER MCI_GetDriver(UINT wDevID)
Definition: mci.c:80
#define TRACE(s)
Definition: solgame.cpp:4
static const WCHAR L[]
Definition: oid.c:1250
DWORD_PTR dwPrivate
Definition: winemm.h:124

Referenced by MCIAVI_drvClose(), MCIAVI_drvConfigure(), MCIAVI_mciGetOpenDev(), MCIAVI_mciOpen(), MCIAVI_WindowProc(), MCICDA_drvClose(), MCICDA_GetDevCaps(), MCICDA_GetOpenDrv(), MCICDA_Open(), MCIQTZ_mciGetOpenDev(), MIDI_drvClose(), MIDI_mciGetOpenDev(), WAVE_drvClose(), WAVE_mciGetOpenDev(), and WAVE_mciOpen().

◆ mciLoadCommandResource()

UINT WINAPI mciLoadCommandResource ( HINSTANCE  hInstance,
LPCWSTR  lpResName,
UINT  uType 
)

Definition at line 1460 of file mci.c.

1461 {
1463  HRSRC hRsrc = 0;
1464  HGLOBAL hMem;
1465 
1466  TRACE("(%p, %s, %d)!\n", hInst, debugstr_w(resNameW), type);
1467 
1468  /* if a file named "resname.mci" exits, then load resource "resname" from it
1469  * otherwise directly from driver
1470  * We don't support it (who uses this feature ?), but we check anyway
1471  */
1472  if (!type) {
1473 #if 0
1474  /* FIXME: we should put this back into order, but I never found a program
1475  * actually using this feature, so we may not need it
1476  */
1477  char buf[128];
1478  OFSTRUCT ofs;
1479 
1480  strcat(strcpy(buf, resname), ".mci");
1481  if (OpenFile(buf, &ofs, OF_EXIST) != HFILE_ERROR) {
1482  FIXME("NIY: command table to be loaded from '%s'\n", ofs.szPathName);
1483  }
1484 #endif
1485  }
1486  if ((hRsrc = FindResourceW(hInst, resNameW, (LPWSTR)RT_RCDATA)) &&
1487  (hMem = LoadResource(hInst, hRsrc))) {
1488  ret = MCI_SetCommandTable(hMem, type);
1489  FreeResource(hMem);
1490  }
1491  else WARN("No command table found in module for %s\n", debugstr_w(resNameW));
1492 
1493  TRACE("=> %04x\n", ret);
1494  return ret;
1495 }
#define MCI_NO_COMMAND_TABLE
Definition: mmddk.h:375
char * strcat(char *DstString, const char *SrcString)
Definition: utclib.c:568
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
#define WARN(fmt,...)
Definition: debug.h:111
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
HRSRC WINAPI FindResourceW(HINSTANCE hModule, LPCWSTR name, LPCWSTR type)
Definition: res.c:176
#define HFILE_ERROR
Definition: winbase.h:111
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
BOOL WINAPI FreeResource(HGLOBAL handle)
Definition: res.c:559
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
Definition: res.c:532
static UINT MCI_SetCommandTable(HGLOBAL hMem, UINT uDevType)
Definition: mci.c:687
HFILE WINAPI OpenFile(LPCSTR lpFileName, LPOFSTRUCT lpReOpenBuff, UINT uStyle)
Definition: create.c:368
#define TRACE(s)
Definition: solgame.cpp:4
#define RT_RCDATA
Definition: pedump.c:372
int ret
#define OF_EXIST
Definition: winbase.h:127
HINSTANCE hInst
Definition: dxdiag.c:13
unsigned int UINT
Definition: ndis.h:50
char * strcpy(char *DstString, const char *SrcString)
Definition: utclib.c:388
CHAR szPathName[OFS_MAXPATHNAME]
Definition: winbase.h:1254
WCHAR * LPWSTR
Definition: xmlstorage.h:184

Referenced by MCIAVI_drvOpen(), and MCIQTZ_drvOpen().

◆ mciSetDriverData()

◆ mmGetCurrentTask()

DWORD APIENTRY mmGetCurrentTask ( VOID  )

Definition at line 2915 of file winmm.c.

2916 {
2917  return GetCurrentThreadId();
2918 }
DWORD WINAPI GetCurrentThreadId(VOID)
Definition: thread.c:458

◆ mmTaskBlock()

VOID APIENTRY mmTaskBlock ( DWORD  h)

Definition at line 2888 of file winmm.c.

2889 {
2890  MSG msg;
2891 
2892  do
2893  {
2894  GetMessageA(&msg, 0, 0, 0);
2895  if (msg.hwnd) DispatchMessageA(&msg);
2896  } while (msg.message != WM_USER);
2897 }
LRESULT WINAPI DispatchMessageA(_In_ const MSG *)
TW_UINT32 TW_UINT16 TW_UINT16 MSG
Definition: twain.h:1827
BOOL WINAPI GetMessageA(_Out_ LPMSG, _In_opt_ HWND, _In_ UINT, _In_ UINT)
#define WM_USER
Definition: winuser.h:1877
#define msg(x)
Definition: auth_time.c:54

◆ mmTaskCreate()

UINT APIENTRY mmTaskCreate ( LPTASKCALLBACK  lpfn,
HANDLE FAR lph,
DWORD  dwInst 
)

Referenced by StartSessionThread().

◆ mmTaskSignal()

BOOL APIENTRY mmTaskSignal ( DWORD  h)

Definition at line 2902 of file winmm.c.

2903 {
2904  return PostThreadMessageW(tid, WM_USER, 0, 0);
2905 }
#define WM_USER
Definition: winuser.h:1877
BOOL WINAPI PostThreadMessageW(_In_ DWORD, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
static TfClientId tid

◆ mmTaskYield()

VOID APIENTRY mmTaskYield ( VOID  )

Definition at line 2910 of file winmm.c.

2910 {}