ifndef __midl
ifndef _INC_MMREG
_INC_MMREG equ 158

.pragma pack(push, 1)

ifndef NOMMIDS

ifndef MM_MICROSOFT
MM_MICROSOFT		equ 1
endif

MM_CREATIVE		equ 2
MM_MEDIAVISION		equ 3
MM_FUJITSU		equ 4
MM_PRAGMATRAX		equ 5
MM_CYRIX		equ 6
MM_PHILIPS_SPEECH_PROCESSING equ 7
MM_NETXL		equ 8
MM_ZYXEL		equ 9
MM_BECUBED		equ 10
MM_AARDVARK		equ 11
MM_BINTEC		equ 12
MM_HEWLETT_PACKARD	equ 13
MM_ACULAB		equ 14
MM_FAITH		equ 15
MM_MITEL		equ 16
MM_QUANTUM3D		equ 17
MM_SNI			equ 18
MM_EMU			equ 19
MM_ARTISOFT		equ 20
MM_TURTLE_BEACH		equ 21
MM_IBM			equ 22
MM_VOCALTEC		equ 23
MM_ROLAND		equ 24
MM_DSP_SOLUTIONS	equ 25
MM_NEC			equ 26
MM_ATI			equ 27
MM_WANGLABS		equ 28
MM_TANDY		equ 29
MM_VOYETRA		equ 30
MM_ANTEX		equ 31
MM_ICL_PS		equ 32
MM_INTEL		equ 33
MM_GRAVIS		equ 34
MM_VAL			equ 35
MM_INTERACTIVE		equ 36
MM_YAMAHA		equ 37
MM_EVEREX		equ 38
MM_ECHO			equ 39
MM_SIERRA		equ 40
MM_CAT			equ 41
MM_APPS			equ 42
MM_DSP_GROUP		equ 43
MM_MELABS		equ 44
MM_COMPUTER_FRIENDS	equ 45
MM_ESS			equ 46
MM_AUDIOFILE		equ 47
MM_MOTOROLA		equ 48
MM_CANOPUS		equ 49
MM_EPSON		equ 50
MM_TRUEVISION		equ 51
MM_AZTECH		equ 52
MM_VIDEOLOGIC		equ 53
MM_SCALACS		equ 54
MM_KORG			equ 55
MM_APT			equ 56
MM_ICS			equ 57
MM_ITERATEDSYS		equ 58
MM_METHEUS		equ 59
MM_LOGITECH		equ 60
MM_WINNOV		equ 61
MM_NCR			equ 62
MM_EXAN			equ 63
MM_AST			equ 64
MM_WILLOWPOND		equ 65
MM_SONICFOUNDRY		equ 66
MM_VITEC		equ 67
MM_MOSCOM		equ 68
MM_SILICONSOFT		equ 69
MM_TERRATEC		equ 70
MM_MEDIASONIC		equ 71
MM_SANYO		equ 72
MM_SUPERMAC		equ 73
MM_AUDIOPT		equ 74
MM_NOGATECH		equ 75
MM_SPEECHCOMP		equ 76
MM_AHEAD		equ 77
MM_DOLBY		equ 78
MM_OKI			equ 79
MM_AURAVISION		equ 80
MM_OLIVETTI		equ 81
MM_IOMAGIC		equ 82
MM_MATSUSHITA		equ 83
MM_CONTROLRES		equ 84
MM_XEBEC		equ 85
MM_NEWMEDIA		equ 86
MM_NMS			equ 87
MM_LYRRUS		equ 88
MM_COMPUSIC		equ 89
MM_OPTI			equ 90
MM_ADLACC		equ 91
MM_COMPAQ		equ 92
MM_DIALOGIC		equ 93
MM_INSOFT		equ 94
MM_MPTUS		equ 95
MM_WEITEK		equ 96
MM_LERNOUT_AND_HAUSPIE	equ 97
MM_QCIAR		equ 98
MM_APPLE		equ 99
MM_DIGITAL		equ 100
MM_MOTU			equ 101
MM_WORKBIT		equ 102
MM_OSITECH		equ 103
MM_MIRO			equ 104
MM_CIRRUSLOGIC		equ 105
MM_ISOLUTION		equ 106
MM_HORIZONS		equ 107
MM_CONCEPTS		equ 108
MM_VTG			equ 109
MM_RADIUS		equ 110
MM_ROCKWELL		equ 111
MM_XYZ			equ 112
MM_OPCODE		equ 113
MM_VOXWARE		equ 114
MM_NORTHERN_TELECOM	equ 115
MM_APICOM		equ 116
MM_GRANDE		equ 117
MM_ADDX			equ 118
MM_WILDCAT		equ 119
MM_RHETOREX		equ 120
MM_BROOKTREE		equ 121
MM_ENSONIQ		equ 125
MM_FAST			equ 126
MM_NVIDIA		equ 127
MM_OKSORI		equ 128
MM_DIACOUSTICS		equ 129
MM_GULBRANSEN		equ 130
MM_KAY_ELEMETRICS	equ 131
MM_CRYSTAL		equ 132
MM_SPLASH_STUDIOS	equ 133
MM_QUARTERDECK		equ 134
MM_TDK			equ 135
MM_DIGITAL_AUDIO_LABS	equ 136
MM_SEERSYS		equ 137
MM_PICTURETEL		equ 138
MM_ATT_MICROELECTRONICS equ 139
MM_OSPREY		equ 140
MM_MEDIATRIX		equ 141
MM_SOUNDESIGNS		equ 142
MM_ALDIGITAL		equ 143
MM_SPECTRUM_SIGNAL_PROCESSING equ 144
MM_ECS			equ 145
MM_AMD			equ 146
MM_COREDYNAMICS		equ 147
MM_CANAM		equ 148
MM_SOFTSOUND		equ 149
MM_NORRIS		equ 150
MM_DDD			equ 151
MM_EUPHONICS		equ 152
MM_PRECEPT		equ 153
MM_CRYSTAL_NET		equ 154
MM_CHROMATIC		equ 155
MM_VOICEINFO		equ 156
MM_VIENNASYS		equ 157
MM_CONNECTIX		equ 158
MM_GADGETLABS		equ 159
MM_FRONTIER		equ 160
MM_VIONA		equ 161
MM_CASIO		equ 162
MM_DIAMONDMM		equ 163
MM_S3			equ 164
MM_DVISION		equ 165
MM_NETSCAPE		equ 166
MM_SOUNDSPACE		equ 167
MM_VANKOEVERING		equ 168
MM_QTEAM		equ 169
MM_ZEFIRO		equ 170
MM_STUDER		equ 171
MM_FRAUNHOFER_IIS	equ 172
MM_QUICKNET		equ 173
MM_ALARIS		equ 174
MM_SICRESOURCE		equ 175
MM_NEOMAGIC		equ 176
MM_MERGING_TECHNOLOGIES equ 177
MM_XIRLINK		equ 178
MM_COLORGRAPH		equ 179
MM_OTI			equ 180
MM_AUREAL		equ 181
MM_VIVO			equ 182
MM_SHARP		equ 183
MM_LUCENT		equ 184
MM_ATT			equ 185
MM_SUNCOM		equ 186
MM_SORVIS		equ 187
MM_INVISION		equ 188
MM_BERKOM		equ 189
MM_MARIAN		equ 190
MM_DPSINC		equ 191
MM_BCB			equ 192
MM_MOTIONPIXELS		equ 193
MM_QDESIGN		equ 194
MM_NMP			equ 195
MM_DATAFUSION		equ 196
MM_DUCK			equ 197
MM_FTR			equ 198
MM_BERCOS		equ 199
MM_ONLIVE		equ 200
MM_SIEMENS_SBC		equ 201
MM_TERALOGIC		equ 202
MM_PHONET		equ 203
MM_WINBOND		equ 204
MM_VIRTUALMUSIC		equ 205
MM_ENET			equ 206
MM_GUILLEMOT		equ 207
MM_EMAGIC		equ 208
MM_MWM			equ 209
MM_PACIFICRESEARCH	equ 210
MM_SIPROLAB		equ 211
MM_LYNX			equ 212
MM_SPECTRUM_PRODUCTIONS equ 213
MM_DICTAPHONE		equ 214
MM_QUALCOMM		equ 215
MM_RZS			equ 216
MM_AUDIOSCIENCE		equ 217
MM_PINNACLE		equ 218
MM_EES			equ 219
MM_HAFTMANN		equ 220
MM_LUCID		equ 221
MM_HEADSPACE		equ 222
MM_UNISYS		equ 223
MM_LUMINOSITI		equ 224
MM_ACTIVEVOICE		equ 225
MM_DTS			equ 226
MM_DIGIGRAM		equ 227
MM_SOFTLAB_NSK		equ 228
MM_FORTEMEDIA		equ 229
MM_SONORUS		equ 230
MM_ARRAY		equ 231
MM_DATARAN		equ 232
MM_I_LINK		equ 233
MM_SELSIUS_SYSTEMS	equ 234
MM_ADMOS		equ 235
MM_LEXICON		equ 236
MM_SGI			equ 237
MM_IPI			equ 238
MM_ICE			equ 239
MM_VQST			equ 240
MM_ETEK			equ 241
MM_CS			equ 242
MM_ALESIS		equ 243
MM_INTERNET		equ 244
MM_SONY			equ 245
MM_HYPERACTIVE		equ 246
MM_UHER_INFORMATIC	equ 247
MM_SYDEC_NV		equ 248
MM_FLEXION		equ 249
MM_VIA			equ 250
MM_MICRONAS		equ 251
MM_ANALOGDEVICES	equ 252
MM_HP			equ 253
MM_MATROX_DIV		equ 254
MM_QUICKAUDIO		equ 255
MM_YOUCOM		equ 256
MM_RICHMOND		equ 257
MM_IODD			equ 258
MM_ICCC			equ 259
MM_3COM			equ 260
MM_MALDEN		equ 261
MM_3DFX			equ 262
MM_MINDMAKER		equ 263
MM_TELEKOL		equ 264
MM_ST_MICROELECTRONICS	equ 265
MM_ALGOVISION		equ 266

MM_UNMAPPED		equ 0xffff
MM_PID_UNMAPPED		equ MM_UNMAPPED

ifdef GUID_DEFINED
ifndef INIT_MMREG_MID
INIT_MMREG_MID macro guid, id
	exitm<>
	endm
endif
ifndef INIT_MMREG_PID
INIT_MMREG_PID macro guid, id
	exitm<>
	endm
endif
endif

ifndef MM_MIDI_MAPPER

MM_MIDI_MAPPER		equ 1
MM_WAVE_MAPPER		equ 2
MM_SNDBLST_MIDIOUT	equ 3
MM_SNDBLST_MIDIIN	equ 4
MM_SNDBLST_SYNTH	equ 5
MM_SNDBLST_WAVEOUT	equ 6
MM_SNDBLST_WAVEIN	equ 7
MM_ADLIB		equ 9
MM_MPU401_MIDIOUT	equ 10
MM_MPU401_MIDIIN	equ 11
MM_PC_JOYSTICK		equ 12

endif

MM_PCSPEAKER_WAVEOUT	equ 13
MM_MSFT_WSS_WAVEIN	equ 14
MM_MSFT_WSS_WAVEOUT	equ 15
MM_MSFT_WSS_FMSYNTH_STEREO equ 16
MM_MSFT_WSS_MIXER	equ 17
MM_MSFT_WSS_OEM_WAVEIN	equ 18
MM_MSFT_WSS_OEM_WAVEOUT equ 19
MM_MSFT_WSS_OEM_FMSYNTH_STEREO equ 20
MM_MSFT_WSS_AUX		equ 21
MM_MSFT_WSS_OEM_AUX	equ 22
MM_MSFT_GENERIC_WAVEIN	equ 23
MM_MSFT_GENERIC_WAVEOUT equ 24
MM_MSFT_GENERIC_MIDIIN	equ 25
MM_MSFT_GENERIC_MIDIOUT equ 26
MM_MSFT_GENERIC_MIDISYNTH equ 27
MM_MSFT_GENERIC_AUX_LINE equ 28
MM_MSFT_GENERIC_AUX_MIC equ 29
MM_MSFT_GENERIC_AUX_CD	equ 30
MM_MSFT_WSS_OEM_MIXER	equ 31
MM_MSFT_MSACM		equ 32
MM_MSFT_ACM_MSADPCM	equ 33
MM_MSFT_ACM_IMAADPCM	equ 34
MM_MSFT_ACM_MSFILTER	equ 35
MM_MSFT_ACM_GSM610	equ 36
MM_MSFT_ACM_G711	equ 37
MM_MSFT_ACM_PCM		equ 38

MM_WSS_SB16_WAVEIN	equ 39
MM_WSS_SB16_WAVEOUT	equ 40
MM_WSS_SB16_MIDIIN	equ 41
MM_WSS_SB16_MIDIOUT	equ 42
MM_WSS_SB16_SYNTH	equ 43
MM_WSS_SB16_AUX_LINE	equ 44
MM_WSS_SB16_AUX_CD	equ 45
MM_WSS_SB16_MIXER	equ 46
MM_WSS_SBPRO_WAVEIN	equ 47
MM_WSS_SBPRO_WAVEOUT	equ 48
MM_WSS_SBPRO_MIDIIN	equ 49
MM_WSS_SBPRO_MIDIOUT	equ 50
MM_WSS_SBPRO_SYNTH	equ 51
MM_WSS_SBPRO_AUX_LINE	equ 52
MM_WSS_SBPRO_AUX_CD	equ 53
MM_WSS_SBPRO_MIXER	equ 54
MM_MSFT_WSS_NT_WAVEIN	equ 55
MM_MSFT_WSS_NT_WAVEOUT	equ 56
MM_MSFT_WSS_NT_FMSYNTH_STEREO equ 57
MM_MSFT_WSS_NT_MIXER	equ 58
MM_MSFT_WSS_NT_AUX	equ 59
MM_MSFT_SB16_WAVEIN	equ 60
MM_MSFT_SB16_WAVEOUT	equ 61
MM_MSFT_SB16_MIDIIN	equ 62
MM_MSFT_SB16_MIDIOUT	equ 63
MM_MSFT_SB16_SYNTH	equ 64
MM_MSFT_SB16_AUX_LINE	equ 65
MM_MSFT_SB16_AUX_CD	equ 66
MM_MSFT_SB16_MIXER	equ 67
MM_MSFT_SBPRO_WAVEIN	equ 68
MM_MSFT_SBPRO_WAVEOUT	equ 69
MM_MSFT_SBPRO_MIDIIN	equ 70
MM_MSFT_SBPRO_MIDIOUT	equ 71
MM_MSFT_SBPRO_SYNTH	equ 72
MM_MSFT_SBPRO_AUX_LINE	equ 73
MM_MSFT_SBPRO_AUX_CD	equ 74
MM_MSFT_SBPRO_MIXER	equ 75

MM_MSFT_MSOPL_SYNTH	equ 76

MM_MSFT_VMDMS_LINE_WAVEIN equ 80
MM_MSFT_VMDMS_LINE_WAVEOUT equ 81
MM_MSFT_VMDMS_HANDSET_WAVEIN equ 82
MM_MSFT_VMDMS_HANDSET_WAVEOUT equ 83
MM_MSFT_VMDMW_LINE_WAVEIN equ 84
MM_MSFT_VMDMW_LINE_WAVEOUT equ 85
MM_MSFT_VMDMW_HANDSET_WAVEIN equ 86
MM_MSFT_VMDMW_HANDSET_WAVEOUT equ 87
MM_MSFT_VMDMW_MIXER	equ 88
MM_MSFT_VMDM_GAME_WAVEOUT equ 89
MM_MSFT_VMDM_GAME_WAVEIN equ 90

MM_MSFT_ACM_MSNAUDIO	equ 91
MM_MSFT_ACM_MSG723	equ 92
MM_MSFT_ACM_MSRT24	equ 93

MM_MSFT_WDMAUDIO_WAVEOUT equ 100
MM_MSFT_WDMAUDIO_WAVEIN equ 101
MM_MSFT_WDMAUDIO_MIDIOUT equ 102
MM_MSFT_WDMAUDIO_MIDIIN equ 103
MM_MSFT_WDMAUDIO_MIXER	equ 104
MM_MSFT_WDMAUDIO_AUX	equ 105


MM_CREATIVE_SB15_WAVEIN equ 1
MM_CREATIVE_SB20_WAVEIN equ 2
MM_CREATIVE_SBPRO_WAVEIN equ 3
MM_CREATIVE_SBP16_WAVEIN equ 4
MM_CREATIVE_PHNBLST_WAVEIN equ 5
MM_CREATIVE_SB15_WAVEOUT equ 101
MM_CREATIVE_SB20_WAVEOUT equ 102
MM_CREATIVE_SBPRO_WAVEOUT equ 103
MM_CREATIVE_SBP16_WAVEOUT equ 104
MM_CREATIVE_PHNBLST_WAVEOUT equ 105
MM_CREATIVE_MIDIOUT	equ 201
MM_CREATIVE_MIDIIN	equ 202
MM_CREATIVE_FMSYNTH_MONO equ 301
MM_CREATIVE_FMSYNTH_STEREO equ 302
MM_CREATIVE_MIDI_AWE32	equ 303
MM_CREATIVE_AUX_CD	equ 401
MM_CREATIVE_AUX_LINE	equ 402
MM_CREATIVE_AUX_MIC	equ 403
MM_CREATIVE_AUX_MASTER	equ 404
MM_CREATIVE_AUX_PCSPK	equ 405
MM_CREATIVE_AUX_WAVE	equ 406
MM_CREATIVE_AUX_MIDI	equ 407
MM_CREATIVE_SBPRO_MIXER equ 408
MM_CREATIVE_SB16_MIXER	equ 409

MM_MEDIAVISION_PROAUDIO equ 0x10
MM_PROAUD_MIDIOUT	equ (MM_MEDIAVISION_PROAUDIO+1)
MM_PROAUD_MIDIIN	equ (MM_MEDIAVISION_PROAUDIO+2)
MM_PROAUD_SYNTH		equ (MM_MEDIAVISION_PROAUDIO+3)
MM_PROAUD_WAVEOUT	equ (MM_MEDIAVISION_PROAUDIO+4)
MM_PROAUD_WAVEIN	equ (MM_MEDIAVISION_PROAUDIO+5)
MM_PROAUD_MIXER		equ (MM_MEDIAVISION_PROAUDIO+6)
MM_PROAUD_AUX		equ (MM_MEDIAVISION_PROAUDIO+7)

MM_MEDIAVISION_THUNDER	equ 0x20
MM_THUNDER_SYNTH	equ (MM_MEDIAVISION_THUNDER+3)
MM_THUNDER_WAVEOUT	equ (MM_MEDIAVISION_THUNDER+4)
MM_THUNDER_WAVEIN	equ (MM_MEDIAVISION_THUNDER+5)
MM_THUNDER_AUX		equ (MM_MEDIAVISION_THUNDER+7)

MM_MEDIAVISION_TPORT	equ 0x40
MM_TPORT_WAVEOUT	equ (MM_MEDIAVISION_TPORT+1)
MM_TPORT_WAVEIN		equ (MM_MEDIAVISION_TPORT+2)
MM_TPORT_SYNTH		equ (MM_MEDIAVISION_TPORT+3)

MM_MEDIAVISION_PROAUDIO_PLUS equ 0x50
MM_PROAUD_PLUS_MIDIOUT	equ (MM_MEDIAVISION_PROAUDIO_PLUS+1)
MM_PROAUD_PLUS_MIDIIN	equ (MM_MEDIAVISION_PROAUDIO_PLUS+2)
MM_PROAUD_PLUS_SYNTH	equ (MM_MEDIAVISION_PROAUDIO_PLUS+3)
MM_PROAUD_PLUS_WAVEOUT	equ (MM_MEDIAVISION_PROAUDIO_PLUS+4)
MM_PROAUD_PLUS_WAVEIN	equ (MM_MEDIAVISION_PROAUDIO_PLUS+5)
MM_PROAUD_PLUS_MIXER	equ (MM_MEDIAVISION_PROAUDIO_PLUS+6)
MM_PROAUD_PLUS_AUX	equ (MM_MEDIAVISION_PROAUDIO_PLUS+7)

MM_MEDIAVISION_PROAUDIO_16 equ 0x60
MM_PROAUD_16_MIDIOUT	equ (MM_MEDIAVISION_PROAUDIO_16+1)
MM_PROAUD_16_MIDIIN	equ (MM_MEDIAVISION_PROAUDIO_16+2)
MM_PROAUD_16_SYNTH	equ (MM_MEDIAVISION_PROAUDIO_16+3)
MM_PROAUD_16_WAVEOUT	equ (MM_MEDIAVISION_PROAUDIO_16+4)
MM_PROAUD_16_WAVEIN	equ (MM_MEDIAVISION_PROAUDIO_16+5)
MM_PROAUD_16_MIXER	equ (MM_MEDIAVISION_PROAUDIO_16+6)
MM_PROAUD_16_AUX	equ (MM_MEDIAVISION_PROAUDIO_16+7)

MM_MEDIAVISION_PROSTUDIO_16 equ 0x60
MM_STUDIO_16_MIDIOUT	equ (MM_MEDIAVISION_PROSTUDIO_16+1)
MM_STUDIO_16_MIDIIN	equ (MM_MEDIAVISION_PROSTUDIO_16+2)
MM_STUDIO_16_SYNTH	equ (MM_MEDIAVISION_PROSTUDIO_16+3)
MM_STUDIO_16_WAVEOUT	equ (MM_MEDIAVISION_PROSTUDIO_16+4)
MM_STUDIO_16_WAVEIN	equ (MM_MEDIAVISION_PROSTUDIO_16+5)
MM_STUDIO_16_MIXER	equ (MM_MEDIAVISION_PROSTUDIO_16+6)
MM_STUDIO_16_AUX	equ (MM_MEDIAVISION_PROSTUDIO_16+7)

MM_MEDIAVISION_CDPC	equ 0x70
MM_CDPC_MIDIOUT		equ (MM_MEDIAVISION_CDPC+1)
MM_CDPC_MIDIIN		equ (MM_MEDIAVISION_CDPC+2)
MM_CDPC_SYNTH		equ (MM_MEDIAVISION_CDPC+3)
MM_CDPC_WAVEOUT		equ (MM_MEDIAVISION_CDPC+4)
MM_CDPC_WAVEIN		equ (MM_MEDIAVISION_CDPC+5)
MM_CDPC_MIXER		equ (MM_MEDIAVISION_CDPC+6)
MM_CDPC_AUX		equ (MM_MEDIAVISION_CDPC+7)

MM_MEDIAVISION_OPUS1208 equ 0x80
MM_OPUS401_MIDIOUT	equ (MM_MEDIAVISION_OPUS1208+1)
MM_OPUS401_MIDIIN	equ (MM_MEDIAVISION_OPUS1208+2)
MM_OPUS1208_SYNTH	equ (MM_MEDIAVISION_OPUS1208+3)
MM_OPUS1208_WAVEOUT	equ (MM_MEDIAVISION_OPUS1208+4)
MM_OPUS1208_WAVEIN	equ (MM_MEDIAVISION_OPUS1208+5)
MM_OPUS1208_MIXER	equ (MM_MEDIAVISION_OPUS1208+6)
MM_OPUS1208_AUX		equ (MM_MEDIAVISION_OPUS1208+7)

MM_MEDIAVISION_OPUS1216 equ 0x90
MM_OPUS1216_MIDIOUT	equ (MM_MEDIAVISION_OPUS1216+1)
MM_OPUS1216_MIDIIN	equ (MM_MEDIAVISION_OPUS1216+2)
MM_OPUS1216_SYNTH	equ (MM_MEDIAVISION_OPUS1216+3)
MM_OPUS1216_WAVEOUT	equ (MM_MEDIAVISION_OPUS1216+4)
MM_OPUS1216_WAVEIN	equ (MM_MEDIAVISION_OPUS1216+5)
MM_OPUS1216_MIXER	equ (MM_MEDIAVISION_OPUS1216+6)
MM_OPUS1216_AUX		equ (MM_MEDIAVISION_OPUS1216+7)

MM_CYRIX_XASYNTH	equ 1
MM_CYRIX_XAMIDIIN	equ 2
MM_CYRIX_XAMIDIOUT	equ 3
MM_CYRIX_XAWAVEIN	equ 4
MM_CYRIX_XAWAVEOUT	equ 5
MM_CYRIX_XAAUX		equ 6
MM_CYRIX_XAMIXER	equ 7

MM_PHILIPS_ACM_LPCBB	equ 1

MM_NETXL_XLVIDEO	equ 1

MM_ZYXEL_ACM_ADPCM	equ 1

MM_AARDVARK_STUDIO12_WAVEOUT equ 1
MM_AARDVARK_STUDIO12_WAVEIN equ 2
MM_AARDVARK_STUDIO88_WAVEOUT equ 3
MM_AARDVARK_STUDIO88_WAVEIN equ 4

MM_BINTEC_TAPI_WAVE	equ 1

MM_HEWLETT_PACKARD_CU_CODEC equ 1

MM_MITEL_TALKTO_LINE_WAVEOUT equ 100
MM_MITEL_TALKTO_LINE_WAVEIN equ 101
MM_MITEL_TALKTO_HANDSET_WAVEOUT equ 102
MM_MITEL_TALKTO_HANDSET_WAVEIN equ 103
MM_MITEL_TALKTO_BRIDGED_WAVEOUT equ 104
MM_MITEL_TALKTO_BRIDGED_WAVEIN equ 105
MM_MITEL_MPA_HANDSET_WAVEOUT equ 200
MM_MITEL_MPA_HANDSET_WAVEIN equ 201
MM_MITEL_MPA_HANDSFREE_WAVEOUT equ 202
MM_MITEL_MPA_HANDSFREE_WAVEIN equ 203
MM_MITEL_MPA_LINE1_WAVEOUT equ 204
MM_MITEL_MPA_LINE1_WAVEIN equ 205
MM_MITEL_MPA_LINE2_WAVEOUT equ 206
MM_MITEL_MPA_LINE2_WAVEIN equ 207
MM_MITEL_MEDIAPATH_WAVEOUT equ 300
MM_MITEL_MEDIAPATH_WAVEIN equ 301

MM_SNI_ACM_G721		equ 1

MM_EMU_APSSYNTH		equ 1
MM_EMU_APSMIDIIN	equ 2
MM_EMU_APSMIDIOUT	equ 3
MM_EMU_APSWAVEIN	equ 4
MM_EMU_APSWAVEOUT	equ 5

MM_ARTISOFT_SBWAVEIN	equ 1
MM_ARTISOFT_SBWAVEOUT	equ 2

MM_TBS_TROPEZ_WAVEIN	equ 37
MM_TBS_TROPEZ_WAVEOUT	equ 38
MM_TBS_TROPEZ_AUX1	equ 39
MM_TBS_TROPEZ_AUX2	equ 40
MM_TBS_TROPEZ_LINE	equ 41

MM_MMOTION_WAVEAUX	equ 1
MM_MMOTION_WAVEOUT	equ 2
MM_MMOTION_WAVEIN	equ 3
MM_IBM_PCMCIA_WAVEIN	equ 11
MM_IBM_PCMCIA_WAVEOUT	equ 12
MM_IBM_PCMCIA_SYNTH	equ 13
MM_IBM_PCMCIA_MIDIIN	equ 14
MM_IBM_PCMCIA_MIDIOUT	equ 15
MM_IBM_PCMCIA_AUX	equ 16
MM_IBM_THINKPAD200	equ 17
MM_IBM_MWAVE_WAVEIN	equ 18
MM_IBM_MWAVE_WAVEOUT	equ 19
MM_IBM_MWAVE_MIXER	equ 20
MM_IBM_MWAVE_MIDIIN	equ 21
MM_IBM_MWAVE_MIDIOUT	equ 22
MM_IBM_MWAVE_AUX	equ 23
MM_IBM_WC_MIDIOUT	equ 30
MM_IBM_WC_WAVEOUT	equ 31
MM_IBM_WC_MIXEROUT	equ 33

MM_VOCALTEC_WAVEOUT	equ 1
MM_VOCALTEC_WAVEIN	equ 2

MM_ROLAND_RAP10_MIDIOUT equ 10
MM_ROLAND_RAP10_MIDIIN	equ 11
MM_ROLAND_RAP10_SYNTH	equ 12
MM_ROLAND_RAP10_WAVEOUT equ 13
MM_ROLAND_RAP10_WAVEIN	equ 14
MM_ROLAND_MPU401_MIDIOUT equ 15
MM_ROLAND_MPU401_MIDIIN equ 16
MM_ROLAND_SMPU_MIDIOUTA equ 17
MM_ROLAND_SMPU_MIDIOUTB equ 18
MM_ROLAND_SMPU_MIDIINA	equ 19
MM_ROLAND_SMPU_MIDIINB	equ 20
MM_ROLAND_SC7_MIDIOUT	equ 21
MM_ROLAND_SC7_MIDIIN	equ 22
MM_ROLAND_SERIAL_MIDIOUT equ 23
MM_ROLAND_SERIAL_MIDIIN equ 24
MM_ROLAND_SCP_MIDIOUT	equ 38
MM_ROLAND_SCP_MIDIIN	equ 39
MM_ROLAND_SCP_WAVEOUT	equ 40
MM_ROLAND_SCP_WAVEIN	equ 41
MM_ROLAND_SCP_MIXER	equ 42
MM_ROLAND_SCP_AUX	equ 48

MM_DSP_SOLUTIONS_WAVEOUT equ 1
MM_DSP_SOLUTIONS_WAVEIN equ 2
MM_DSP_SOLUTIONS_SYNTH	equ 3
MM_DSP_SOLUTIONS_AUX	equ 4

MM_NEC_73_86_SYNTH	equ 5
MM_NEC_73_86_WAVEOUT	equ 6
MM_NEC_73_86_WAVEIN	equ 7
MM_NEC_26_SYNTH		equ 9
MM_NEC_MPU401_MIDIOUT	equ 10
MM_NEC_MPU401_MIDIIN	equ 11
MM_NEC_JOYSTICK		equ 12

MM_WANGLABS_WAVEIN1	equ 1
MM_WANGLABS_WAVEOUT1	equ 2

MM_TANDY_VISWAVEIN	equ 1
MM_TANDY_VISWAVEOUT	equ 2
MM_TANDY_VISBIOSSYNTH	equ 3
MM_TANDY_SENS_MMAWAVEIN equ 4
MM_TANDY_SENS_MMAWAVEOUT equ 5
MM_TANDY_SENS_MMAMIDIIN equ 6
MM_TANDY_SENS_MMAMIDIOUT equ 7
MM_TANDY_SENS_VISWAVEOUT equ 8
MM_TANDY_PSSJWAVEIN	equ 9
MM_TANDY_PSSJWAVEOUT	equ 10

MM_ANTEX_SX12_WAVEIN	equ 1
MM_ANTEX_SX12_WAVEOUT	equ 2
MM_ANTEX_SX15_WAVEIN	equ 3
MM_ANTEX_SX15_WAVEOUT	equ 4
MM_ANTEX_VP625_WAVEIN	equ 5
MM_ANTEX_VP625_WAVEOUT	equ 6
MM_ANTEX_AUDIOPORT22_WAVEIN equ 7
MM_ANTEX_AUDIOPORT22_WAVEOUT equ 8
MM_ANTEX_AUDIOPORT22_FEEDTHRU equ 9

MM_INTELOPD_WAVEIN	equ 1
MM_INTELOPD_WAVEOUT	equ 101
MM_INTELOPD_AUX		equ 401
MM_INTEL_NSPMODEMLINEIN equ 501
MM_INTEL_NSPMODEMLINEOUT equ 502

MM_VAL_MICROKEY_AP_WAVEIN equ 1
MM_VAL_MICROKEY_AP_WAVEOUT equ 2

MM_INTERACTIVE_WAVEIN	equ 0x45
MM_INTERACTIVE_WAVEOUT	equ 0x45

MM_YAMAHA_GSS_SYNTH	equ 0x01
MM_YAMAHA_GSS_WAVEOUT	equ 0x02
MM_YAMAHA_GSS_WAVEIN	equ 0x03
MM_YAMAHA_GSS_MIDIOUT	equ 0x04
MM_YAMAHA_GSS_MIDIIN	equ 0x05
MM_YAMAHA_GSS_AUX	equ 0x06
MM_YAMAHA_SERIAL_MIDIOUT equ 0x07
MM_YAMAHA_SERIAL_MIDIIN equ 0x08
MM_YAMAHA_OPL3SA_WAVEOUT equ 0x10
MM_YAMAHA_OPL3SA_WAVEIN equ 0x11
MM_YAMAHA_OPL3SA_FMSYNTH equ 0x12
MM_YAMAHA_OPL3SA_YSYNTH equ 0x13
MM_YAMAHA_OPL3SA_MIDIOUT equ 0x14
MM_YAMAHA_OPL3SA_MIDIIN equ 0x15
MM_YAMAHA_OPL3SA_MIXER	equ 0x17
MM_YAMAHA_OPL3SA_JOYSTICK equ 0x18
MM_YAMAHA_YMF724LEG_MIDIOUT equ 0x19
MM_YAMAHA_YMF724LEG_MIDIIN equ 0x1a
MM_YAMAHA_YMF724_WAVEOUT equ 0x1b
MM_YAMAHA_YMF724_WAVEIN equ 0x1c
MM_YAMAHA_YMF724_MIDIOUT equ 0x1d
MM_YAMAHA_YMF724_AUX	equ 0x1e
MM_YAMAHA_YMF724_MIXER	equ 0x1f
MM_YAMAHA_YMF724LEG_FMSYNTH equ 0x20
MM_YAMAHA_YMF724LEG_MIXER equ 0x21
MM_YAMAHA_SXG_MIDIOUT	equ 0x22
MM_YAMAHA_SXG_WAVEOUT	equ 0x23
MM_YAMAHA_SXG_MIXER	equ 0x24
MM_YAMAHA_ACXG_WAVEIN	equ 0x25
MM_YAMAHA_ACXG_WAVEOUT	equ 0x26
MM_YAMAHA_ACXG_MIDIOUT	equ 0x27
MM_YAMAHA_ACXG_MIXER	equ 0x28
MM_YAMAHA_ACXG_AUX	equ 0x29

MM_EVEREX_CARRIER	equ 1

MM_ECHO_SYNTH		equ 1
MM_ECHO_WAVEOUT		equ 2
MM_ECHO_WAVEIN		equ 3
MM_ECHO_MIDIOUT		equ 4
MM_ECHO_MIDIIN		equ 5
MM_ECHO_AUX		equ 6

MM_SIERRA_ARIA_MIDIOUT	equ 0x14
MM_SIERRA_ARIA_MIDIIN	equ 0x15
MM_SIERRA_ARIA_SYNTH	equ 0x16
MM_SIERRA_ARIA_WAVEOUT	equ 0x17
MM_SIERRA_ARIA_WAVEIN	equ 0x18
MM_SIERRA_ARIA_AUX	equ 0x19
MM_SIERRA_ARIA_AUX2	equ 0x20
MM_SIERRA_QUARTET_WAVEIN equ 0x50
MM_SIERRA_QUARTET_WAVEOUT equ 0x51
MM_SIERRA_QUARTET_MIDIIN equ 0x52
MM_SIERRA_QUARTET_MIDIOUT equ 0x53
MM_SIERRA_QUARTET_SYNTH equ 0x54
MM_SIERRA_QUARTET_AUX_CD equ 0x55
MM_SIERRA_QUARTET_AUX_LINE equ 0x56
MM_SIERRA_QUARTET_AUX_MODEM equ 0x57
MM_SIERRA_QUARTET_MIXER equ 0x58

MM_CAT_WAVEOUT		equ 1

MM_DSP_GROUP_TRUESPEECH equ 1

MM_MELABS_MIDI2GO	equ 1

MM_ESS_AMWAVEOUT	equ 0x01
MM_ESS_AMWAVEIN		equ 0x02
MM_ESS_AMAUX		equ 0x03
MM_ESS_AMSYNTH		equ 0x04
MM_ESS_AMMIDIOUT	equ 0x05
MM_ESS_AMMIDIIN		equ 0x06
MM_ESS_MIXER		equ 0x07
MM_ESS_AUX_CD		equ 0x08
MM_ESS_MPU401_MIDIOUT	equ 0x09
MM_ESS_MPU401_MIDIIN	equ 0x0A
MM_ESS_ES488_WAVEOUT	equ 0x10
MM_ESS_ES488_WAVEIN	equ 0x11
MM_ESS_ES488_MIXER	equ 0x12
MM_ESS_ES688_WAVEOUT	equ 0x13
MM_ESS_ES688_WAVEIN	equ 0x14
MM_ESS_ES688_MIXER	equ 0x15
MM_ESS_ES1488_WAVEOUT	equ 0x16
MM_ESS_ES1488_WAVEIN	equ 0x17
MM_ESS_ES1488_MIXER	equ 0x18
MM_ESS_ES1688_WAVEOUT	equ 0x19
MM_ESS_ES1688_WAVEIN	equ 0x1A
MM_ESS_ES1688_MIXER	equ 0x1B
MM_ESS_ES1788_WAVEOUT	equ 0x1C
MM_ESS_ES1788_WAVEIN	equ 0x1D
MM_ESS_ES1788_MIXER	equ 0x1E
MM_ESS_ES1888_WAVEOUT	equ 0x1F
MM_ESS_ES1888_WAVEIN	equ 0x20
MM_ESS_ES1888_MIXER	equ 0x21
MM_ESS_ES1868_WAVEOUT	equ 0x22
MM_ESS_ES1868_WAVEIN	equ 0x23
MM_ESS_ES1868_MIXER	equ 0x24
MM_ESS_ES1878_WAVEOUT	equ 0x25
MM_ESS_ES1878_WAVEIN	equ 0x26
MM_ESS_ES1878_MIXER	equ 0x27

MM_CANOPUS_ACM_DVREX	equ 1

MM_EPS_FMSND		equ 1

MM_TRUEVISION_WAVEIN1	equ 1
MM_TRUEVISION_WAVEOUT1	equ 2

MM_AZTECH_MIDIOUT	equ 3
MM_AZTECH_MIDIIN	equ 4
MM_AZTECH_WAVEIN	equ 17
MM_AZTECH_WAVEOUT	equ 18
MM_AZTECH_FMSYNTH	equ 20
MM_AZTECH_MIXER		equ 21
MM_AZTECH_PRO16_WAVEIN	equ 33
MM_AZTECH_PRO16_WAVEOUT equ 34
MM_AZTECH_PRO16_FMSYNTH equ 38
MM_AZTECH_DSP16_WAVEIN	equ 65
MM_AZTECH_DSP16_WAVEOUT equ 66
MM_AZTECH_DSP16_FMSYNTH equ 68
MM_AZTECH_DSP16_WAVESYNTH equ 70
MM_AZTECH_NOVA16_WAVEIN equ 71
MM_AZTECH_NOVA16_WAVEOUT equ 72
MM_AZTECH_NOVA16_MIXER	equ 73
MM_AZTECH_WASH16_WAVEIN equ 74
MM_AZTECH_WASH16_WAVEOUT equ 75
MM_AZTECH_WASH16_MIXER	equ 76
MM_AZTECH_AUX_CD	equ 401
MM_AZTECH_AUX_LINE	equ 402
MM_AZTECH_AUX_MIC	equ 403
MM_AZTECH_AUX		equ 404

MM_VIDEOLOGIC_MSWAVEIN	equ 1
MM_VIDEOLOGIC_MSWAVEOUT equ 2

MM_KORG_PCIF_MIDIOUT	equ 1
MM_KORG_PCIF_MIDIIN	equ 2
MM_KORG_1212IO_MSWAVEIN equ 3
MM_KORG_1212IO_MSWAVEOUT equ 4

MM_APT_ACE100CD		equ 1

MM_ICS_WAVEDECK_WAVEOUT equ 1
MM_ICS_WAVEDECK_WAVEIN	equ 2
MM_ICS_WAVEDECK_MIXER	equ 3
MM_ICS_WAVEDECK_AUX	equ 4
MM_ICS_WAVEDECK_SYNTH	equ 5
MM_ICS_WAVEDEC_SB_WAVEOUT equ 6
MM_ICS_WAVEDEC_SB_WAVEIN equ 7
MM_ICS_WAVEDEC_SB_FM_MIDIOUT equ 8
MM_ICS_WAVEDEC_SB_MPU401_MIDIOUT equ 9
MM_ICS_WAVEDEC_SB_MPU401_MIDIIN equ 10
MM_ICS_WAVEDEC_SB_MIXER equ 11
MM_ICS_WAVEDEC_SB_AUX	equ 12
MM_ICS_2115_LITE_MIDIOUT equ 13
MM_ICS_2120_LITE_MIDIOUT equ 14

MM_ITERATEDSYS_FUFCODEC equ 1

MM_METHEUS_ZIPPER	equ 1

MM_WINNOV_CAVIAR_WAVEIN equ 1
MM_WINNOV_CAVIAR_WAVEOUT equ 2
MM_WINNOV_CAVIAR_VIDC	equ 3
MM_WINNOV_CAVIAR_CHAMPAGNE equ 4
MM_WINNOV_CAVIAR_YUV8	equ 5

MM_NCR_BA_WAVEIN	equ 1
MM_NCR_BA_WAVEOUT	equ 2
MM_NCR_BA_SYNTH		equ 3
MM_NCR_BA_AUX		equ 4
MM_NCR_BA_MIXER		equ 5

MM_AST_MODEMWAVE_WAVEIN equ 13
MM_AST_MODEMWAVE_WAVEOUT equ 14

MM_WILLOWPOND_FMSYNTH_STEREO equ 20
MM_WILLOWPOND_MPU401	equ 21
MM_WILLOWPOND_SNDPORT_WAVEIN equ 100
MM_WILLOWPOND_SNDPORT_WAVEOUT equ 101
MM_WILLOWPOND_SNDPORT_MIXER equ 102
MM_WILLOWPOND_SNDPORT_AUX equ 103
MM_WILLOWPOND_PH_WAVEIN equ 104
MM_WILLOWPOND_PH_WAVEOUT equ 105
MM_WILLOWPOND_PH_MIXER	equ 106
MM_WILLOWPOND_PH_AUX	equ 107
MM_WILLOPOND_SNDCOMM_WAVEIN equ 108
MM_WILLOWPOND_SNDCOMM_WAVEOUT equ 109
MM_WILLOWPOND_SNDCOMM_MIXER equ 110
MM_WILLOWPOND_SNDCOMM_AUX equ 111
MM_WILLOWPOND_GENERIC_WAVEIN equ 112
MM_WILLOWPOND_GENERIC_WAVEOUT equ 113
MM_WILLOWPOND_GENERIC_MIXER equ 114
MM_WILLOWPOND_GENERIC_AUX equ 115

MM_VITEC_VMAKER		equ 1
MM_VITEC_VMPRO		equ 2

MM_MOSCOM_VPC2400_IN	equ 1
MM_MOSCOM_VPC2400_OUT	equ 2

MM_SILICONSOFT_SC1_WAVEIN equ 1
MM_SILICONSOFT_SC1_WAVEOUT equ 2
MM_SILICONSOFT_SC2_WAVEIN equ 3
MM_SILICONSOFT_SC2_WAVEOUT equ 4
MM_SILICONSOFT_SOUNDJR2_WAVEOUT equ 5
MM_SILICONSOFT_SOUNDJR2PR_WAVEIN equ 6
MM_SILICONSOFT_SOUNDJR2PR_WAVEOUT equ 7
MM_SILICONSOFT_SOUNDJR3_WAVEOUT equ 8

MM_TTEWS_WAVEIN		equ 1
MM_TTEWS_WAVEOUT	equ 2
MM_TTEWS_MIDIIN		equ 3
MM_TTEWS_MIDIOUT	equ 4
MM_TTEWS_MIDISYNTH	equ 5
MM_TTEWS_MIDIMONITOR	equ 6
MM_TTEWS_VMIDIIN	equ 7
MM_TTEWS_VMIDIOUT	equ 8
MM_TTEWS_AUX		equ 9
MM_TTEWS_MIXER		equ 10

MM_MEDIASONIC_ACM_G723	equ 1
MM_MEDIASONIC_ICOM	equ 2
MM_ICOM_WAVEIN		equ 3
MM_ICOM_WAVEOUT		equ 4
MM_ICOM_MIXER		equ 5
MM_ICOM_AUX		equ 6
MM_ICOM_LINE		equ 7

MM_SANYO_ACM_LD_ADPCM	equ 1

MM_AHEAD_MULTISOUND	equ 1
MM_AHEAD_SOUNDBLASTER	equ 2
MM_AHEAD_PROAUDIO	equ 3
MM_AHEAD_GENERIC	equ 4

MM_OLIVETTI_WAVEIN	equ 1
MM_OLIVETTI_WAVEOUT	equ 2
MM_OLIVETTI_MIXER	equ 3
MM_OLIVETTI_AUX		equ 4
MM_OLIVETTI_MIDIIN	equ 5
MM_OLIVETTI_MIDIOUT	equ 6
MM_OLIVETTI_SYNTH	equ 7
MM_OLIVETTI_JOYSTICK	equ 8
MM_OLIVETTI_ACM_GSM	equ 9
MM_OLIVETTI_ACM_ADPCM	equ 10
MM_OLIVETTI_ACM_CELP	equ 11
MM_OLIVETTI_ACM_SBC	equ 12
MM_OLIVETTI_ACM_OPR	equ 13

MM_IOMAGIC_TEMPO_WAVEOUT equ 1
MM_IOMAGIC_TEMPO_WAVEIN equ 2
MM_IOMAGIC_TEMPO_SYNTH	equ 3
MM_IOMAGIC_TEMPO_MIDIOUT equ 4
MM_IOMAGIC_TEMPO_MXDOUT equ 5
MM_IOMAGIC_TEMPO_AUXOUT equ 6

MM_MATSUSHITA_WAVEIN	equ 1
MM_MATSUSHITA_WAVEOUT	equ 2
MM_MATSUSHITA_FMSYNTH_STEREO equ 3
MM_MATSUSHITA_MIXER	equ 4
MM_MATSUSHITA_AUX	equ 5

MM_NEWMEDIA_WAVJAMMER	equ 1

MM_LYRRUS_BRIDGE_GUITAR equ 1

MM_OPTI_M16_FMSYNTH_STEREO equ 0x0001
MM_OPTI_M16_MIDIIN	equ 0x0002
MM_OPTI_M16_MIDIOUT	equ 0x0003
MM_OPTI_M16_WAVEIN	equ 0x0004
MM_OPTI_M16_WAVEOUT	equ 0x0005
MM_OPTI_M16_MIXER	equ 0x0006
MM_OPTI_M16_AUX		equ 0x0007
MM_OPTI_P16_FMSYNTH_STEREO equ 0x0010
MM_OPTI_P16_MIDIIN	equ 0x0011
MM_OPTI_P16_MIDIOUT	equ 0x0012
MM_OPTI_P16_WAVEIN	equ 0x0013
MM_OPTI_P16_WAVEOUT	equ 0x0014
MM_OPTI_P16_MIXER	equ 0x0015
MM_OPTI_P16_AUX		equ 0x0016
MM_OPTI_M32_WAVEIN	equ 0x0020
MM_OPTI_M32_WAVEOUT	equ 0x0021
MM_OPTI_M32_MIDIIN	equ 0x0022
MM_OPTI_M32_MIDIOUT	equ 0x0023
MM_OPTI_M32_SYNTH_STEREO equ 0x0024
MM_OPTI_M32_MIXER	equ 0x0025
MM_OPTI_M32_AUX		equ 0x0026

MM_COMPAQ_BB_WAVEIN	equ 1
MM_COMPAQ_BB_WAVEOUT	equ 2
MM_COMPAQ_BB_WAVEAUX	equ 3

MM_MPTUS_SPWAVEOUT	equ 1

MM_LERNOUT_ANDHAUSPIE_LHCODECACM equ 1

MM_DIGITAL_AV320_WAVEIN equ 1
MM_DIGITAL_AV320_WAVEOUT equ 2
MM_DIGITAL_ACM_G723	equ 3
MM_DIGITAL_ICM_H263	equ 4
MM_DIGITAL_ICM_H261	equ 5

MM_MOTU_MTP_MIDIOUT_ALL equ 100
MM_MOTU_MTP_MIDIIN_1	equ 101
MM_MOTU_MTP_MIDIOUT_1	equ 101
MM_MOTU_MTP_MIDIIN_2	equ 102
MM_MOTU_MTP_MIDIOUT_2	equ 102
MM_MOTU_MTP_MIDIIN_3	equ 103
MM_MOTU_MTP_MIDIOUT_3	equ 103
MM_MOTU_MTP_MIDIIN_4	equ 104
MM_MOTU_MTP_MIDIOUT_4	equ 104
MM_MOTU_MTP_MIDIIN_5	equ 105
MM_MOTU_MTP_MIDIOUT_5	equ 105
MM_MOTU_MTP_MIDIIN_6	equ 106
MM_MOTU_MTP_MIDIOUT_6	equ 106
MM_MOTU_MTP_MIDIIN_7	equ 107
MM_MOTU_MTP_MIDIOUT_7	equ 107
MM_MOTU_MTP_MIDIIN_8	equ 108
MM_MOTU_MTP_MIDIOUT_8	equ 108

MM_MOTU_MTPII_MIDIOUT_ALL equ 200
MM_MOTU_MTPII_MIDIIN_SYNC equ 200
MM_MOTU_MTPII_MIDIIN_1	equ 201
MM_MOTU_MTPII_MIDIOUT_1 equ 201
MM_MOTU_MTPII_MIDIIN_2	equ 202
MM_MOTU_MTPII_MIDIOUT_2 equ 202
MM_MOTU_MTPII_MIDIIN_3	equ 203
MM_MOTU_MTPII_MIDIOUT_3 equ 203
MM_MOTU_MTPII_MIDIIN_4	equ 204
MM_MOTU_MTPII_MIDIOUT_4 equ 204
MM_MOTU_MTPII_MIDIIN_5	equ 205
MM_MOTU_MTPII_MIDIOUT_5 equ 205
MM_MOTU_MTPII_MIDIIN_6	equ 206
MM_MOTU_MTPII_MIDIOUT_6 equ 206
MM_MOTU_MTPII_MIDIIN_7	equ 207
MM_MOTU_MTPII_MIDIOUT_7 equ 207
MM_MOTU_MTPII_MIDIIN_8	equ 208
MM_MOTU_MTPII_MIDIOUT_8 equ 208
MM_MOTU_MTPII_NET_MIDIIN_1 equ 209
MM_MOTU_MTPII_NET_MIDIOUT_1 equ 209
MM_MOTU_MTPII_NET_MIDIIN_2 equ 210
MM_MOTU_MTPII_NET_MIDIOUT_2 equ 210
MM_MOTU_MTPII_NET_MIDIIN_3 equ 211
MM_MOTU_MTPII_NET_MIDIOUT_3 equ 211
MM_MOTU_MTPII_NET_MIDIIN_4 equ 212
MM_MOTU_MTPII_NET_MIDIOUT_4 equ 212
MM_MOTU_MTPII_NET_MIDIIN_5 equ 213
MM_MOTU_MTPII_NET_MIDIOUT_5 equ 213
MM_MOTU_MTPII_NET_MIDIIN_6 equ 214
MM_MOTU_MTPII_NET_MIDIOUT_6 equ 214
MM_MOTU_MTPII_NET_MIDIIN_7 equ 215
MM_MOTU_MTPII_NET_MIDIOUT_7 equ 215
MM_MOTU_MTPII_NET_MIDIIN_8 equ 216
MM_MOTU_MTPII_NET_MIDIOUT_8 equ 216

MM_MOTU_MXP_MIDIIN_MIDIOUT_ALL equ 300
MM_MOTU_MXP_MIDIIN_SYNC equ 300
MM_MOTU_MXP_MIDIIN_MIDIIN_1 equ 301
MM_MOTU_MXP_MIDIIN_MIDIOUT_1 equ 301
MM_MOTU_MXP_MIDIIN_MIDIIN_2 equ 302
MM_MOTU_MXP_MIDIIN_MIDIOUT_2 equ 302
MM_MOTU_MXP_MIDIIN_MIDIIN_3 equ 303
MM_MOTU_MXP_MIDIIN_MIDIOUT_3 equ 303
MM_MOTU_MXP_MIDIIN_MIDIIN_4 equ 304
MM_MOTU_MXP_MIDIIN_MIDIOUT_4 equ 304
MM_MOTU_MXP_MIDIIN_MIDIIN_5 equ 305
MM_MOTU_MXP_MIDIIN_MIDIOUT_5 equ 305
MM_MOTU_MXP_MIDIIN_MIDIIN_6 equ 306
MM_MOTU_MXP_MIDIIN_MIDIOUT_6 equ 306

MM_MOTU_MXPMPU_MIDIOUT_ALL equ 400
MM_MOTU_MXPMPU_MIDIIN_SYNC equ 400
MM_MOTU_MXPMPU_MIDIIN_1 equ 401
MM_MOTU_MXPMPU_MIDIOUT_1 equ 401
MM_MOTU_MXPMPU_MIDIIN_2 equ 402
MM_MOTU_MXPMPU_MIDIOUT_2 equ 402
MM_MOTU_MXPMPU_MIDIIN_3 equ 403
MM_MOTU_MXPMPU_MIDIOUT_3 equ 403
MM_MOTU_MXPMPU_MIDIIN_4 equ 404
MM_MOTU_MXPMPU_MIDIOUT_4 equ 404
MM_MOTU_MXPMPU_MIDIIN_5 equ 405
MM_MOTU_MXPMPU_MIDIOUT_5 equ 405
MM_MOTU_MXPMPU_MIDIIN_6 equ 406
MM_MOTU_MXPMPU_MIDIOUT_6 equ 406

MM_MOTU_MXN_MIDIOUT_ALL equ 500
MM_MOTU_MXN_MIDIIN_SYNC equ 500
MM_MOTU_MXN_MIDIIN_1	equ 501
MM_MOTU_MXN_MIDIOUT_1	equ 501
MM_MOTU_MXN_MIDIIN_2	equ 502
MM_MOTU_MXN_MIDIOUT_2	equ 502
MM_MOTU_MXN_MIDIIN_3	equ 503
MM_MOTU_MXN_MIDIOUT_3	equ 503
MM_MOTU_MXN_MIDIIN_4	equ 504
MM_MOTU_MXN_MIDIOUT_4	equ 504

MM_MOTU_FLYER_MIDI_IN_SYNC equ 600
MM_MOTU_FLYER_MIDI_IN_A equ 601
MM_MOTU_FLYER_MIDI_OUT_A equ 601
MM_MOTU_FLYER_MIDI_IN_B equ 602
MM_MOTU_FLYER_MIDI_OUT_B equ 602

MM_MOTU_PKX_MIDI_IN_SYNC equ 700
MM_MOTU_PKX_MIDI_IN_A	equ 701
MM_MOTU_PKX_MIDI_OUT_A	equ 701
MM_MOTU_PKX_MIDI_IN_B	equ 702
MM_MOTU_PKX_MIDI_OUT_B	equ 702

MM_MOTU_DTX_MIDI_IN_SYNC equ 800
MM_MOTU_DTX_MIDI_IN_A	equ 801
MM_MOTU_DTX_MIDI_OUT_A	equ 801
MM_MOTU_DTX_MIDI_IN_B	equ 802
MM_MOTU_DTX_MIDI_OUT_B	equ 802

MM_MOTU_MTPAV_MIDIOUT_ALL equ 900
MM_MOTU_MTPAV_MIDIIN_SYNC equ 900
MM_MOTU_MTPAV_MIDIIN_1	equ 901
MM_MOTU_MTPAV_MIDIOUT_1 equ 901
MM_MOTU_MTPAV_MIDIIN_2	equ 902
MM_MOTU_MTPAV_MIDIOUT_2 equ 902
MM_MOTU_MTPAV_MIDIIN_3	equ 903
MM_MOTU_MTPAV_MIDIOUT_3 equ 903
MM_MOTU_MTPAV_MIDIIN_4	equ 904
MM_MOTU_MTPAV_MIDIOUT_4 equ 904
MM_MOTU_MTPAV_MIDIIN_5	equ 905
MM_MOTU_MTPAV_MIDIOUT_5 equ 905
MM_MOTU_MTPAV_MIDIIN_6	equ 906
MM_MOTU_MTPAV_MIDIOUT_6 equ 906
MM_MOTU_MTPAV_MIDIIN_7	equ 907
MM_MOTU_MTPAV_MIDIOUT_7 equ 907
MM_MOTU_MTPAV_MIDIIN_8	equ 908
MM_MOTU_MTPAV_MIDIOUT_8 equ 908
MM_MOTU_MTPAV_NET_MIDIIN_1 equ 909
MM_MOTU_MTPAV_NET_MIDIOUT_1 equ 909
MM_MOTU_MTPAV_NET_MIDIIN_2 equ 910
MM_MOTU_MTPAV_NET_MIDIOUT_2 equ 910
MM_MOTU_MTPAV_NET_MIDIIN_3 equ 911
MM_MOTU_MTPAV_NET_MIDIOUT_3 equ 911
MM_MOTU_MTPAV_NET_MIDIIN_4 equ 912
MM_MOTU_MTPAV_NET_MIDIOUT_4 equ 912
MM_MOTU_MTPAV_NET_MIDIIN_5 equ 913
MM_MOTU_MTPAV_NET_MIDIOUT_5 equ 913
MM_MOTU_MTPAV_NET_MIDIIN_6 equ 914
MM_MOTU_MTPAV_NET_MIDIOUT_6 equ 914
MM_MOTU_MTPAV_NET_MIDIIN_7 equ 915
MM_MOTU_MTPAV_NET_MIDIOUT_7 equ 915
MM_MOTU_MTPAV_NET_MIDIIN_8 equ 916
MM_MOTU_MTPAV_NET_MIDIOUT_8 equ 916
MM_MOTU_MTPAV_MIDIIN_ADAT equ 917
MM_MOTU_MTPAV_MIDIOUT_ADAT equ 917
MM_MOTU_MXPXT_MIDIIN_SYNC equ 1000
MM_MOTU_MXPXT_MIDIOUT_ALL equ 1000
MM_MOTU_MXPXT_MIDIIN_1	equ 1001
MM_MOTU_MXPXT_MIDIOUT_1 equ 1001
MM_MOTU_MXPXT_MIDIOUT_2 equ 1002
MM_MOTU_MXPXT_MIDIIN_2	equ 1002
MM_MOTU_MXPXT_MIDIIN_3	equ 1003
MM_MOTU_MXPXT_MIDIOUT_3 equ 1003
MM_MOTU_MXPXT_MIDIIN_4	equ 1004
MM_MOTU_MXPXT_MIDIOUT_4 equ 1004
MM_MOTU_MXPXT_MIDIIN_5	equ 1005
MM_MOTU_MXPXT_MIDIOUT_5 equ 1005
MM_MOTU_MXPXT_MIDIOUT_6 equ 1006
MM_MOTU_MXPXT_MIDIIN_6	equ 1006
MM_MOTU_MXPXT_MIDIOUT_7 equ 1007
MM_MOTU_MXPXT_MIDIIN_7	equ 1007
MM_MOTU_MXPXT_MIDIOUT_8 equ 1008
MM_MOTU_MXPXT_MIDIIN_8	equ 1008

MM_WORKBIT_MIXER	equ 1
MM_WORKBIT_WAVEOUT	equ 2
MM_WORKBIT_WAVEIN	equ 3
MM_WORKBIT_MIDIIN	equ 4
MM_WORKBIT_MIDIOUT	equ 5
MM_WORKBIT_FMSYNTH	equ 6
MM_WORKBIT_AUX		equ 7
MM_WORKBIT_JOYSTICK	equ 8

MM_OSITECH_TRUMPCARD	equ 1

MM_MIRO_MOVIEPRO	equ 1
MM_MIRO_VIDEOD1		equ 2
MM_MIRO_VIDEODC1TV	equ 3
MM_MIRO_VIDEOTD		equ 4
MM_MIRO_DC30_WAVEOUT	equ 5
MM_MIRO_DC30_WAVEIN	equ 6
MM_MIRO_DC30_MIX	equ 7

MM_ISOLUTION_PASCAL	equ 1

MM_VOICEMIXER		equ 1
ROCKWELL_WA1_WAVEIN	equ 100
ROCKWELL_WA1_WAVEOUT	equ 101
ROCKWELL_WA1_SYNTH	equ 102
ROCKWELL_WA1_MIXER	equ 103
ROCKWELL_WA1_MPU401_IN	equ 104
ROCKWELL_WA1_MPU401_OUT equ 105
ROCKWELL_WA2_WAVEIN	equ 200
ROCKWELL_WA2_WAVEOUT	equ 201
ROCKWELL_WA2_SYNTH	equ 202
ROCKWELL_WA2_MIXER	equ 203
ROCKWELL_WA2_MPU401_IN	equ 204
ROCKWELL_WA2_MPU401_OUT equ 205

MM_VOXWARE_CODEC	equ 1

MM_NORTEL_MPXAC_WAVEIN	equ 1
MM_NORTEL_MPXAC_WAVEOUT equ 2

MM_ADDX_PCTV_DIGITALMIX equ 1
MM_ADDX_PCTV_WAVEIN	equ 2
MM_ADDX_PCTV_WAVEOUT	equ 3
MM_ADDX_PCTV_MIXER	equ 4
MM_ADDX_PCTV_AUX_CD	equ 5
MM_ADDX_PCTV_AUX_LINE	equ 6

MM_WILDCAT_AUTOSCOREMIDIIN equ 1

MM_RHETOREX_WAVEIN	equ 1
MM_RHETOREX_WAVEOUT	equ 2

MM_BTV_WAVEIN		equ 1
MM_BTV_WAVEOUT		equ 2
MM_BTV_MIDIIN		equ 3
MM_BTV_MIDIOUT		equ 4
MM_BTV_MIDISYNTH	equ 5
MM_BTV_AUX_LINE		equ 6
MM_BTV_AUX_MIC		equ 7
MM_BTV_AUX_CD		equ 8
MM_BTV_DIGITALIN	equ 9
MM_BTV_DIGITALOUT	equ 10
MM_BTV_MIDIWAVESTREAM	equ 11
MM_BTV_MIXER		equ 12

MM_ENSONIQ_SOUNDSCAPE	equ 0x10
MM_SOUNDSCAPE_WAVEOUT	equ MM_ENSONIQ_SOUNDSCAPE+1
MM_SOUNDSCAPE_WAVEOUT_AUX equ MM_ENSONIQ_SOUNDSCAPE+2
MM_SOUNDSCAPE_WAVEIN	equ MM_ENSONIQ_SOUNDSCAPE+3
MM_SOUNDSCAPE_MIDIOUT	equ MM_ENSONIQ_SOUNDSCAPE+4
MM_SOUNDSCAPE_MIDIIN	equ MM_ENSONIQ_SOUNDSCAPE+5
MM_SOUNDSCAPE_SYNTH	equ MM_ENSONIQ_SOUNDSCAPE+6
MM_SOUNDSCAPE_MIXER	equ MM_ENSONIQ_SOUNDSCAPE+7
MM_SOUNDSCAPE_AUX	equ MM_ENSONIQ_SOUNDSCAPE+8

MM_NVIDIA_WAVEOUT	equ 1
MM_NVIDIA_WAVEIN	equ 2
MM_NVIDIA_MIDIOUT	equ 3
MM_NVIDIA_MIDIIN	equ 4
MM_NVIDIA_GAMEPORT	equ 5
MM_NVIDIA_MIXER		equ 6
MM_NVIDIA_AUX		equ 7

MM_OKSORI_BASE		equ 0
MM_OKSORI_OSR8_WAVEOUT	equ MM_OKSORI_BASE+1
MM_OKSORI_OSR8_WAVEIN	equ MM_OKSORI_BASE+2
MM_OKSORI_OSR16_WAVEOUT equ MM_OKSORI_BASE+3
MM_OKSORI_OSR16_WAVEIN	equ MM_OKSORI_BASE+4
MM_OKSORI_FM_OPL4	equ MM_OKSORI_BASE+5
MM_OKSORI_MIX_MASTER	equ MM_OKSORI_BASE+6
MM_OKSORI_MIX_WAVE	equ MM_OKSORI_BASE+7
MM_OKSORI_MIX_FM	equ MM_OKSORI_BASE+8
MM_OKSORI_MIX_LINE	equ MM_OKSORI_BASE+9
MM_OKSORI_MIX_CD	equ MM_OKSORI_BASE+10
MM_OKSORI_MIX_MIC	equ MM_OKSORI_BASE+11
MM_OKSORI_MIX_ECHO	equ MM_OKSORI_BASE+12
MM_OKSORI_MIX_AUX1	equ MM_OKSORI_BASE+13
MM_OKSORI_MIX_LINE1	equ MM_OKSORI_BASE+14
MM_OKSORI_EXT_MIC1	equ MM_OKSORI_BASE+15
MM_OKSORI_EXT_MIC2	equ MM_OKSORI_BASE+16
MM_OKSORI_MIDIOUT	equ MM_OKSORI_BASE+17
MM_OKSORI_MIDIIN	equ MM_OKSORI_BASE+18
MM_OKSORI_MPEG_CDVISION equ MM_OKSORI_BASE+19

MM_DIACOUSTICS_DRUM_ACTION equ 1

MM_KAY_ELEMETRICS_CSL	equ 0x4300
MM_KAY_ELEMETRICS_CSL_DAT equ 0x4308
MM_KAY_ELEMETRICS_CSL_4CHANNEL equ 0x4309

MM_CRYSTAL_CS4232_WAVEIN equ 1
MM_CRYSTAL_CS4232_WAVEOUT equ 2
MM_CRYSTAL_CS4232_WAVEMIXER equ 3
MM_CRYSTAL_CS4232_WAVEAUX_AUX1 equ 4
MM_CRYSTAL_CS4232_WAVEAUX_AUX2 equ 5
MM_CRYSTAL_CS4232_WAVEAUX_LINE equ 6
MM_CRYSTAL_CS4232_WAVEAUX_MONO equ 7
MM_CRYSTAL_CS4232_WAVEAUX_MASTER equ 8
MM_CRYSTAL_CS4232_MIDIIN equ 9
MM_CRYSTAL_CS4232_MIDIOUT equ 10
MM_CRYSTAL_CS4232_INPUTGAIN_AUX1 equ 13
MM_CRYSTAL_CS4232_INPUTGAIN_LOOP equ 14
MM_CRYSTAL_SOUND_FUSION_WAVEIN equ 21
MM_CRYSTAL_SOUND_FUSION_WAVEOUT equ 22
MM_CRYSTAL_SOUND_FUSION_MIXER equ 23
MM_CRYSTAL_SOUND_FUSION_MIDIIN equ 24
MM_CRYSTAL_SOUND_FUSION_MIDIOUT equ 25
MM_CRYSTAL_SOUND_FUSION_JOYSTICK equ 26

MM_QUARTERDECK_LHWAVEIN equ 0
MM_QUARTERDECK_LHWAVEOUT equ 1

MM_TDK_MW_MIDI_SYNTH	equ 1
MM_TDK_MW_MIDI_IN	equ 2
MM_TDK_MW_MIDI_OUT	equ 3
MM_TDK_MW_WAVE_IN	equ 4
MM_TDK_MW_WAVE_OUT	equ 5
MM_TDK_MW_AUX		equ 6
MM_TDK_MW_MIXER		equ 10
MM_TDK_MW_AUX_MASTER	equ 100
MM_TDK_MW_AUX_BASS	equ 101
MM_TDK_MW_AUX_TREBLE	equ 102
MM_TDK_MW_AUX_MIDI_VOL	equ 103
MM_TDK_MW_AUX_WAVE_VOL	equ 104
MM_TDK_MW_AUX_WAVE_RVB	equ 105
MM_TDK_MW_AUX_WAVE_CHR	equ 106
MM_TDK_MW_AUX_VOL	equ 107
MM_TDK_MW_AUX_RVB	equ 108
MM_TDK_MW_AUX_CHR	equ 109

MM_DIGITAL_AUDIO_LABS_TC equ 0x01
MM_DIGITAL_AUDIO_LABS_DOC equ 0x02
MM_DIGITAL_AUDIO_LABS_V8 equ 0x10
MM_DIGITAL_AUDIO_LABS_CPRO equ 0x11
MM_DIGITAL_AUDIO_LABS_VP equ 0x12
MM_DIGITAL_AUDIO_LABS_CDLX equ 0x13
MM_DIGITAL_AUDIO_LABS_CTDIF equ 0x14

MM_SEERSYS_SEERSYNTH	equ 1
MM_SEERSYS_SEERWAVE	equ 2
MM_SEERSYS_SEERMIX	equ 3
MM_SEERSYS_WAVESYNTH	equ 4
MM_SEERSYS_WAVESYNTH_WG equ 5
MM_SEERSYS_REALITY	equ 6

MM_OSPREY_1000WAVEIN	equ 1
MM_OSPREY_1000WAVEOUT	equ 2

MM_SOUNDESIGNS_WAVEIN	equ 1
MM_SOUNDESIGNS_WAVEOUT	equ 2

MM_SSP_SNDFESWAVEIN	equ 1
MM_SSP_SNDFESWAVEOUT	equ 2
MM_SSP_SNDFESMIDIIN	equ 3
MM_SSP_SNDFESMIDIOUT	equ 4
MM_SSP_SNDFESSYNTH	equ 5
MM_SSP_SNDFESMIX	equ 6
MM_SSP_SNDFESAUX	equ 7

MM_ECS_AADF_MIDI_IN	equ 10
MM_ECS_AADF_MIDI_OUT	equ 11
MM_ECS_AADF_WAVE2MIDI_IN equ 12

MM_AMD_INTERWAVE_WAVEIN equ 1
MM_AMD_INTERWAVE_WAVEOUT equ 2
MM_AMD_INTERWAVE_SYNTH	equ 3
MM_AMD_INTERWAVE_MIXER1 equ 4
MM_AMD_INTERWAVE_MIXER2 equ 5
MM_AMD_INTERWAVE_JOYSTICK equ 6
MM_AMD_INTERWAVE_EX_CD	equ 7
MM_AMD_INTERWAVE_MIDIIN equ 8
MM_AMD_INTERWAVE_MIDIOUT equ 9
MM_AMD_INTERWAVE_AUX1	equ 10
MM_AMD_INTERWAVE_AUX2	equ 11
MM_AMD_INTERWAVE_AUX_MIC equ 12
MM_AMD_INTERWAVE_AUX_CD equ 13
MM_AMD_INTERWAVE_MONO_IN equ 14
MM_AMD_INTERWAVE_MONO_OUT equ 15
MM_AMD_INTERWAVE_EX_TELEPHONY equ 16
MM_AMD_INTERWAVE_WAVEOUT_BASE equ 17
MM_AMD_INTERWAVE_WAVEOUT_TREBLE equ 18
MM_AMD_INTERWAVE_STEREO_ENHANCED equ 19

MM_COREDYNAMICS_DYNAMIXHR equ 1
MM_COREDYNAMICS_DYNASONIX_SYNTH equ 2
MM_COREDYNAMICS_DYNASONIX_MIDI_IN equ 3
MM_COREDYNAMICS_DYNASONIX_MIDI_OUT equ 4
MM_COREDYNAMICS_DYNASONIX_WAVE_IN equ 5
MM_COREDYNAMICS_DYNASONIX_WAVE_OUT equ 6
MM_COREDYNAMICS_DYNASONIX_AUDIO_IN equ 7
MM_COREDYNAMICS_DYNASONIX_AUDIO_OUT equ 8
MM_COREDYNAMICS_DYNAGRAFX_VGA equ 9
MM_COREDYNAMICS_DYNAGRAFX_WAVE_IN equ 10
MM_COREDYNAMICS_DYNAGRAFX_WAVE_OUT equ 11

MM_CANAM_CBXWAVEOUT	equ 1
MM_CANAM_CBXWAVEIN	equ 2

MM_SOFTSOUND_CODEC	equ 1

MM_NORRIS_VOICELINK	equ 1

MM_DDD_MIDILINK_MIDIIN	equ 1
MM_DDD_MIDILINK_MIDIOUT equ 2

MM_EUPHONICS_AUX_CD	equ 1
MM_EUPHONICS_AUX_LINE	equ 2
MM_EUPHONICS_AUX_MASTER equ 3
MM_EUPHONICS_AUX_MIC	equ 4
MM_EUPHONICS_AUX_MIDI	equ 5
MM_EUPHONICS_AUX_WAVE	equ 6
MM_EUPHONICS_FMSYNTH_MONO equ 7
MM_EUPHONICS_FMSYNTH_STEREO equ 8
MM_EUPHONICS_MIDIIN	equ 9
MM_EUPHONICS_MIDIOUT	equ 10
MM_EUPHONICS_MIXER	equ 11
MM_EUPHONICS_WAVEIN	equ 12
MM_EUPHONICS_WAVEOUT	equ 13
MM_EUPHONICS_EUSYNTH	equ 14

CRYSTAL_NET_SFM_CODEC	equ 1

MM_CHROMATIC_M1		equ 0x0001
MM_CHROMATIC_M1_WAVEIN	equ 0x0002
MM_CHROMATIC_M1_WAVEOUT equ 0x0003
MM_CHROMATIC_M1_FMSYNTH equ 0x0004
MM_CHROMATIC_M1_MIXER	equ 0x0005
MM_CHROMATIC_M1_AUX	equ 0x0006
MM_CHROMATIC_M1_AUX_CD	equ 0x0007
MM_CHROMATIC_M1_MIDIIN	equ 0x0008
MM_CHROMATIC_M1_MIDIOUT equ 0x0009
MM_CHROMATIC_M1_WTSYNTH equ 0x0010
MM_CHROMATIC_M1_MPEGWAVEIN equ 0x0011
MM_CHROMATIC_M1_MPEGWAVEOUT equ 0x0012
MM_CHROMATIC_M2		equ 0x0013
MM_CHROMATIC_M2_WAVEIN	equ 0x0014
MM_CHROMATIC_M2_WAVEOUT equ 0x0015
MM_CHROMATIC_M2_FMSYNTH equ 0x0016
MM_CHROMATIC_M2_MIXER	equ 0x0017
MM_CHROMATIC_M2_AUX	equ 0x0018
MM_CHROMATIC_M2_AUX_CD	equ 0x0019
MM_CHROMATIC_M2_MIDIIN	equ 0x0020
MM_CHROMATIC_M2_MIDIOUT equ 0x0021
MM_CHROMATIC_M2_WTSYNTH equ 0x0022
MM_CHROMATIC_M2_MPEGWAVEIN equ 0x0023
MM_CHROMATIC_M2_MPEGWAVEOUT equ 0x0024

MM_VIENNASYS_TSP_WAVE_DRIVER equ 1

MM_CONNECTIX_VIDEC_CODEC equ 1

MM_GADGETLABS_WAVE44_WAVEIN equ 1
MM_GADGETLABS_WAVE44_WAVEOUT equ 2
MM_GADGETLABS_WAVE42_WAVEIN equ 3
MM_GADGETLABS_WAVE42_WAVEOUT equ 4
MM_GADGETLABS_WAVE4_MIDIIN equ 5
MM_GADGETLABS_WAVE4_MIDIOUT equ 6

MM_FRONTIER_WAVECENTER_MIDIIN equ 1
MM_FRONTIER_WAVECENTER_MIDIOUT equ 2
MM_FRONTIER_WAVECENTER_WAVEIN equ 3
MM_FRONTIER_WAVECENTER_WAVEOUT equ 4

MM_VIONA_QVINPCI_MIXER	equ 1
MM_VIONA_QVINPCI_WAVEIN equ 2
MM_VIONAQVINPCI_WAVEOUT equ 3
MM_VIONA_BUSTER_MIXER	equ 4
MM_VIONA_CINEMASTER_MIXER equ 5
MM_VIONA_CONCERTO_MIXER equ 6

MM_CASIO_WP150_MIDIOUT	equ 1
MM_CASIO_WP150_MIDIIN	equ 2
MM_CASIO_LSG_MIDIOUT	equ 3

MM_DIMD_PLATFORM	equ 0
MM_DIMD_DIRSOUND	equ 1
MM_DIMD_VIRTMPU		equ 2
MM_DIMD_VIRTSB		equ 3
MM_DIMD_VIRTJOY		equ 4
MM_DIMD_WAVEIN		equ 5
MM_DIMD_WAVEOUT		equ 6
MM_DIMD_MIDIIN		equ 7
MM_DIMD_MIDIOUT		equ 8
MM_DIMD_AUX_LINE	equ 9
MM_DIMD_MIXER		equ 10
MM_DIMD_WSS_WAVEIN	equ 14
MM_DIMD_WSS_WAVEOUT	equ 15
MM_DIMD_WSS_MIXER	equ 17
MM_DIMD_WSS_AUX		equ 21
MM_DIMD_WSS_SYNTH	equ 76

MM_S3_WAVEOUT		equ 1
MM_S3_WAVEIN		equ 2
MM_S3_MIDIOUT		equ 3
MM_S3_MIDIIN		equ 4
MM_S3_FMSYNTH		equ 5
MM_S3_MIXER		equ 6
MM_S3_AUX		equ 7

MM_VKC_MPU401_MIDIIN	equ 0x0100
MM_VKC_SERIAL_MIDIIN	equ 0x0101
MM_VKC_MPU401_MIDIOUT	equ 0x0200
MM_VKC_SERIAL_MIDIOUT	equ 0x0201

MM_ZEFIRO_ZA2		equ 2

MM_FHGIIS_MPEGLAYER3	equ 10

MM_QUICKNET_PJWAVEIN	equ 1
MM_QUICKNET_PJWAVEOUT	equ 2

MM_SICRESOURCE_SSO3D	equ 2
MM_SICRESOURCE_SSOW3DI	equ 3

MM_NEOMAGIC_SYNTH	equ 1
MM_NEOMAGIC_WAVEOUT	equ 2
MM_NEOMAGIC_WAVEIN	equ 3
MM_NEOMAGIC_MIDIOUT	equ 4
MM_NEOMAGIC_MIDIIN	equ 5
MM_NEOMAGIC_AUX		equ 6
MM_NEOMAGIC_MW3DX_WAVEOUT equ 10
MM_NEOMAGIC_MW3DX_WAVEIN equ 11
MM_NEOMAGIC_MW3DX_MIDIOUT equ 12
MM_NEOMAGIC_MW3DX_MIDIIN equ 13
MM_NEOMAGIC_MW3DX_FMSYNTH equ 14
MM_NEOMAGIC_MW3DX_GMSYNTH equ 15
MM_NEOMAGIC_MW3DX_MIXER equ 16
MM_NEOMAGIC_MW3DX_AUX	equ 17
MM_NEOMAGIC_MWAVE_WAVEOUT equ 20
MM_NEOMAGIC_MWAVE_WAVEIN equ 21
MM_NEOMAGIC_MWAVE_MIDIOUT equ 22
MM_NEOMAGIC_MWAVE_MIDIIN equ 23
MM_NEOMAGIC_MWAVE_MIXER equ 24
MM_NEOMAGIC_MWAVE_AUX	equ 25

MM_MERGING_MPEGL3	equ 1

MM_XIRLINK_VISIONLINK	equ 1

MM_OTI_611WAVEIN	equ 5
MM_OTI_611WAVEOUT	equ 6
MM_OTI_611MIXER		equ 7
MM_OTI_611MIDIN		equ 0x12
MM_OTI_611MIDIOUT	equ 0x13

MM_AUREAL_AU8820	equ 16
MM_AU8820_SYNTH		equ 17
MM_AU8820_WAVEOUT	equ 18
MM_AU8820_WAVEIN	equ 19
MM_AU8820_MIXER		equ 20
MM_AU8820_AUX		equ 21
MM_AU8820_MIDIOUT	equ 22
MM_AU8820_MIDIIN	equ 23
MM_AUREAL_AU8830	equ 32
MM_AU8830_SYNTH		equ 33
MM_AU8830_WAVEOUT	equ 34
MM_AU8830_WAVEIN	equ 35
MM_AU8830_MIXER		equ 36
MM_AU8830_AUX		equ 37
MM_AU8830_MIDIOUT	equ 38
MM_AU8830_MIDIIN	equ 39

MM_VIVO_AUDIO_CODEC	equ 1

MM_SHARP_MDC_MIDI_SYNTH equ 1
MM_SHARP_MDC_MIDI_IN	equ 2
MM_SHARP_MDC_MIDI_OUT	equ 3
MM_SHARP_MDC_WAVE_IN	equ 4
MM_SHARP_MDC_WAVE_OUT	equ 5
MM_SHARP_MDC_AUX	equ 6
MM_SHARP_MDC_MIXER	equ 10
MM_SHARP_MDC_AUX_MASTER equ 100
MM_SHARP_MDC_AUX_BASS	equ 101
MM_SHARP_MDC_AUX_TREBLE equ 102
MM_SHARP_MDC_AUX_MIDI_VOL equ 103
MM_SHARP_MDC_AUX_WAVE_VOL equ 104
MM_SHARP_MDC_AUX_WAVE_RVB equ 105
MM_SHARP_MDC_AUX_WAVE_CHR equ 106
MM_SHARP_MDC_AUX_VOL	equ 107
MM_SHARP_MDC_AUX_RVB	equ 108
MM_SHARP_MDC_AUX_CHR	equ 109

MM_LUCENT_ACM_G723	equ 0

MM_ATT_G729A		equ 1

MM_MARIAN_ARC44WAVEIN	equ 1
MM_MARIAN_ARC44WAVEOUT	equ 2
MM_MARIAN_PRODIF24WAVEIN equ 3
MM_MARIAN_PRODIF24WAVEOUT equ 4
MM_MARIAN_ARC88WAVEIN	equ 5
MM_MARIAN_ARC88WAVEOUT	equ 6

MM_BCB_NETBOARD_10	equ 1
MM_BCB_TT75_10		equ 2

MM_MOTIONPIXELS_MVI2	equ 1

MM_QDESIGN_ACM_MPEG	equ 1
MM_QDESIGN_ACM_QDESIGN_MUSIC equ 2

MM_NMP_CCP_WAVEIN	equ 1
MM_NMP_CCP_WAVEOUT	equ 2
MM_NMP_ACM_AMR		equ 10

MM_DF_ACM_G726		equ 1
MM_DF_ACM_GSM610	equ 2

MM_BERCOS_WAVEIN	equ 1
MM_BERCOS_MIXER		equ 2
MM_BERCOS_WAVEOUT	equ 3

MM_ONLIVE_MPCODEC	equ 1

MM_PHONET_PP_WAVEOUT	equ 1
MM_PHONET_PP_WAVEIN	equ 2
MM_PHONET_PP_MIXER	equ 3

MM_FTR_ENCODER_WAVEIN	equ 1
MM_FTR_ACM		equ 2

MM_ENET_T2000_LINEIN	equ 1
MM_ENET_T2000_LINEOUT	equ 2
MM_ENET_T2000_HANDSETIN equ 3
MM_ENET_T2000_HANDSETOUT equ 4

MM_EMAGIC_UNITOR8	equ 1

MM_SIPROLAB_ACELPNET	equ 1

MM_DICTAPHONE_G726	equ 1

MM_RZS_ACM_TUBGSM	equ 1

MM_EES_PCMIDI14		equ 1
MM_EES_PCMIDI14_IN	equ 2
MM_EES_PCMIDI14_OUT1	equ 3
MM_EES_PCMIDI14_OUT2	equ 4
MM_EES_PCMIDI14_OUT3	equ 5
MM_EES_PCMIDI14_OUT4	equ 6

MM_HAFTMANN_LPTDAC2	equ 1

MM_LUCID_PCI24WAVEIN	equ 1
MM_LUCID_PCI24WAVEOUT	equ 2

MM_HEADSPACE_HAESYNTH	equ 1
MM_HEADSPACE_HAEWAVEOUT equ 2
MM_HEADSPACE_HAEWAVEIN	equ 3
MM_HEADSPACE_HAEMIXER	equ 4

MM_UNISYS_ACM_NAP	equ 1


MM_LUMINOSITI_SCWAVEIN	equ 1
MM_LUMINOSITI_SCWAVEOUT equ 2
MM_LUMINOSITI_SCWAVEMIX equ 3

MM_ACTIVEVOICE_ACM_VOXADPCM equ 1

MM_DTS_DS		equ 1

MM_SOFTLAB_NSK_FRW_WAVEIN equ 1
MM_SOFTLAB_NSK_FRW_WAVEOUT equ 2
MM_SOFTLAB_NSK_FRW_MIXER equ 3
MM_SOFTLAB_NSK_FRW_AUX	equ 4

MM_FORTEMEDIA_WAVEIN	equ 1
MM_FORTEMEDIA_WAVEOUT	equ 2
MM_FORTEMEDIA_FMSYNC	equ 3
MM_FORTEMEDIA_MIXER	equ 4
MM_FORTEMEDIA_AUX	equ 5

MM_SONORUS_STUDIO	equ 1

MM_I_LINK_VOICE_CODER	equ 1

MM_SELSIUS_SYSTEMS_RTPWAVEOUT equ 1
MM_SELSIUS_SYSTEMS_RTPWAVEIN equ 2

MM_ADMOS_FM_SYNTH	equ 1
MM_ADMOS_QS3AMIDIOUT	equ 2
MM_ADMOS_QS3AMIDIIN	equ 3
MM_ADMOS_QS3AWAVEOUT	equ 4
MM_ADMOS_QS3AWAVEIN	equ 5

MM_LEXICON_STUDIO_WAVE_OUT equ 1
MM_LEXICON_STUDIO_WAVE_IN equ 2

MM_SGI_320_WAVEIN	equ 1
MM_SGI_320_WAVEOUT	equ 2
MM_SGI_320_MIXER	equ 3
MM_SGI_540_WAVEIN	equ 4
MM_SGI_540_WAVEOUT	equ 5
MM_SGI_540_MIXER	equ 6
MM_SGI_RAD_ADATMONO1_WAVEIN equ 7
MM_SGI_RAD_ADATMONO2_WAVEIN equ 8
MM_SGI_RAD_ADATMONO3_WAVEIN equ 9
MM_SGI_RAD_ADATMONO4_WAVEIN equ 10
MM_SGI_RAD_ADATMONO5_WAVEIN equ 11
MM_SGI_RAD_ADATMONO6_WAVEIN equ 12
MM_SGI_RAD_ADATMONO7_WAVEIN equ 13
MM_SGI_RAD_ADATMONO8_WAVEIN equ 14
MM_SGI_RAD_ADATSTEREO12_WAVEIN equ 15
MM_SGI_RAD_ADATSTEREO34_WAVEIN equ 16
MM_SGI_RAD_ADATSTEREO56_WAVEIN equ 17
MM_SGI_RAD_ADATSTEREO78_WAVEIN equ 18
MM_SGI_RAD_ADAT8CHAN_WAVEIN equ 19
MM_SGI_RAD_ADATMONO1_WAVEOUT equ 20
MM_SGI_RAD_ADATMONO2_WAVEOUT equ 21
MM_SGI_RAD_ADATMONO3_WAVEOUT equ 22
MM_SGI_RAD_ADATMONO4_WAVEOUT equ 23
MM_SGI_RAD_ADATMONO5_WAVEOUT equ 24
MM_SGI_RAD_ADATMONO6_WAVEOUT equ 25
MM_SGI_RAD_ADATMONO7_WAVEOUT equ 26
MM_SGI_RAD_ADATMONO8_WAVEOUT equ 27
MM_SGI_RAD_ADATSTEREO12_WAVEOUT equ 28
MM_SGI_RAD_ADATSTEREO32_WAVEOUT equ 29
MM_SGI_RAD_ADATSTEREO56_WAVEOUT equ 30
MM_SGI_RAD_ADATSTEREO78_WAVEOUT equ 31
MM_SGI_RAD_ADAT8CHAN_WAVEOUT equ 32
MM_SGI_RAD_AESMONO1_WAVEIN equ 33
MM_SGI_RAD_AESMONO2_WAVEIN equ 34
MM_SGI_RAD_AESSTEREO_WAVEIN equ 35
MM_SGI_RAD_AESMONO1_WAVEOUT equ 36
MM_SGI_RAD_AESMONO2_WAVEOUT equ 37
MM_SGI_RAD_AESSTEREO_WAVEOUT equ 38

MM_IPI_ACM_HSX		equ 1
MM_IPI_ACM_RPELP	equ 2
MM_IPI_WF_ASSS		equ 3
MM_IPI_AT_WAVEOUT	equ 4
MM_IPI_AT_WAVEIN	equ 5
MM_IPI_AT_MIXER		equ 6

MM_ICE_WAVEOUT		equ 1
MM_ICE_WAVEIN		equ 2
MM_ICE_MTWAVEOUT	equ 3
MM_ICE_MTWAVEIN		equ 4
MM_ICE_MIDIOUT1		equ 5
MM_ICE_MIDIIN1		equ 6
MM_ICE_MIDIOUT2		equ 7
MM_ICE_MIDIIN2		equ 8
MM_ICE_SYNTH		equ 9
MM_ICE_MIXER		equ 10
MM_ICE_AUX		equ 11

MM_VQST_VQC1		equ 1
MM_VQST_VQC2		equ 2

MM_ETEK_KWIKMIDI_MIDIIN equ 1
MM_ETEK_KWIKMIDI_MIDIOUT equ 2

MM_INTERNET_SSW_MIDIOUT equ 10
MM_INTERNET_SSW_MIDIIN	equ 11
MM_INTERNET_SSW_WAVEOUT equ 12
MM_INTERNET_SSW_WAVEIN	equ 13

MM_SONY_ACM_SCX		equ 1

MM_UH_ACM_ADPCM		equ 1

MM_SYDEC_NV_WAVEIN	equ 1
MM_SYDEC_NV_WAVEOUT	equ 2

MM_FLEXION_X300_WAVEIN	equ 1
MM_FLEXION_X300_WAVEOUT equ 2

MM_VIA_WAVEOUT		equ 1
MM_VIA_WAVEIN		equ 2
MM_VIA_MIXER		equ 3
MM_VIA_AUX		equ 4
MM_VIA_MPU401_MIDIOUT	equ 5
MM_VIA_MPU401_MIDIIN	equ 6
MM_VIA_SWFM_SYNTH	equ 7
MM_VIA_WDM_WAVEOUT	equ 8
MM_VIA_WDM_WAVEIN	equ 9
MM_VIA_WDM_MIXER	equ 10
MM_VIA_WDM_MPU401_MIDIOUT equ 11
MM_VIA_WDM_MPU401_MIDIIN equ 12

MM_MICRONAS_SC4		equ 1
MM_MICRONAS_CLP833	equ 2

MM_HP_WAVEOUT		equ 1
MM_HP_WAVEIN		equ 2

MM_QUICKAUDIO_MINIMIDI	equ 1
MM_QUICKAUDIO_MAXIMIDI	equ 2

MM_ICCC_UNA3_WAVEIN	equ 1
MM_ICCC_UNA3_WAVEOUT	equ 2
MM_ICCC_UNA3_AUX	equ 3
MM_ICCC_UNA3_MIXER	equ 4

MM_3COM_CB_MIXER	equ 1
MM_3COM_CB_WAVEIN	equ 2
MM_3COM_CB_WAVEOUT	equ 3

MM_MINDMAKER_GC_WAVEIN	equ 1
MM_MINDMAKER_GC_WAVEOUT equ 2
MM_MINDMAKER_GC_MIXER	equ 3

MM_TELEKOL_WAVEOUT	equ 1
MM_TELEKOL_WAVEIN	equ 2

MM_ALGOVISION_VB80WAVEOUT equ 1
MM_ALGOVISION_VB80WAVEIN equ 2
MM_ALGOVISION_VB80MIXER equ 3
MM_ALGOVISION_VB80AUX	equ 4
MM_ALGOVISION_VB80AUX2	equ 5

endif ;; !NOMMIDS

RIFFINFO_IARL		equ mmioFOURCC ('I', 'A', 'R', 'L')
RIFFINFO_IART		equ mmioFOURCC ('I', 'A', 'R', 'T')
RIFFINFO_ICMS		equ mmioFOURCC ('I', 'C', 'M', 'S')
RIFFINFO_ICMT		equ mmioFOURCC ('I', 'C', 'M', 'T')
RIFFINFO_ICOP		equ mmioFOURCC ('I', 'C', 'O', 'P')
RIFFINFO_ICRD		equ mmioFOURCC ('I', 'C', 'R', 'D')
RIFFINFO_ICRP		equ mmioFOURCC ('I', 'C', 'R', 'P')
RIFFINFO_IDIM		equ mmioFOURCC ('I', 'D', 'I', 'M')
RIFFINFO_IDPI		equ mmioFOURCC ('I', 'D', 'P', 'I')
RIFFINFO_IENG		equ mmioFOURCC ('I', 'E', 'N', 'G')
RIFFINFO_IGNR		equ mmioFOURCC ('I', 'G', 'N', 'R')
RIFFINFO_IKEY		equ mmioFOURCC ('I', 'K', 'E', 'Y')
RIFFINFO_ILGT		equ mmioFOURCC ('I', 'L', 'G', 'T')
RIFFINFO_IMED		equ mmioFOURCC ('I', 'M', 'E', 'D')
RIFFINFO_INAM		equ mmioFOURCC ('I', 'N', 'A', 'M')
RIFFINFO_IPLT		equ mmioFOURCC ('I', 'P', 'L', 'T')
RIFFINFO_IPRD		equ mmioFOURCC ('I', 'P', 'R', 'D')
RIFFINFO_ISBJ		equ mmioFOURCC ('I', 'S', 'B', 'J')
RIFFINFO_ISFT		equ mmioFOURCC ('I', 'S', 'F', 'T')
RIFFINFO_ISHP		equ mmioFOURCC ('I', 'S', 'H', 'P')
RIFFINFO_ISRC		equ mmioFOURCC ('I', 'S', 'R', 'C')
RIFFINFO_ISRF		equ mmioFOURCC ('I', 'S', 'R', 'F')
RIFFINFO_ITCH		equ mmioFOURCC ('I', 'T', 'C', 'H')

RIFFINFO_ISMP		equ mmioFOURCC ('I', 'S', 'M', 'P')
RIFFINFO_IDIT		equ mmioFOURCC ('I', 'D', 'I', 'T')
RIFFINFO_ITRK		equ mmioFOURCC ('I', 'T', 'R', 'K')
RIFFINFO_ITOC		equ mmioFOURCC ('I', 'T', 'O', 'C')



ifndef NONEWWAVE

WAVE_FORMAT_UNKNOWN	equ 0x0000
WAVE_FORMAT_ADPCM	equ 0x0002
WAVE_FORMAT_IEEE_FLOAT	equ 0x0003
WAVE_FORMAT_VSELP	equ 0x0004
WAVE_FORMAT_IBM_CVSD	equ 0x0005
WAVE_FORMAT_ALAW	equ 0x0006
WAVE_FORMAT_MULAW	equ 0x0007
WAVE_FORMAT_DTS		equ 0x0008
WAVE_FORMAT_DRM		equ 0x0009
WAVE_FORMAT_WMAVOICE9	equ 0x000A
WAVE_FORMAT_WMAVOICE10	equ 0x000B
WAVE_FORMAT_OKI_ADPCM	equ 0x0010
WAVE_FORMAT_DVI_ADPCM	equ 0x0011
WAVE_FORMAT_IMA_ADPCM	equ (WAVE_FORMAT_DVI_ADPCM)
WAVE_FORMAT_MEDIASPACE_ADPCM equ 0x0012
WAVE_FORMAT_SIERRA_ADPCM equ 0x0013
WAVE_FORMAT_G723_ADPCM	equ 0x0014
WAVE_FORMAT_DIGISTD	equ 0x0015
WAVE_FORMAT_DIGIFIX	equ 0x0016
WAVE_FORMAT_DIALOGIC_OKI_ADPCM equ 0x0017
WAVE_FORMAT_MEDIAVISION_ADPCM equ 0x0018
WAVE_FORMAT_CU_CODEC	equ 0x0019
WAVE_FORMAT_YAMAHA_ADPCM equ 0x0020
WAVE_FORMAT_SONARC	equ 0x0021
WAVE_FORMAT_DSPGROUP_TRUESPEECH equ 0x0022
WAVE_FORMAT_ECHOSC1	equ 0x0023
WAVE_FORMAT_AUDIOFILE_AF36 equ 0x0024
WAVE_FORMAT_APTX	equ 0x0025
WAVE_FORMAT_AUDIOFILE_AF10 equ 0x0026
WAVE_FORMAT_PROSODY_1612 equ 0x0027
WAVE_FORMAT_LRC		equ 0x0028
WAVE_FORMAT_DOLBY_AC2	equ 0x0030
WAVE_FORMAT_GSM610	equ 0x0031
WAVE_FORMAT_MSNAUDIO	equ 0x0032
WAVE_FORMAT_ANTEX_ADPCME equ 0x0033
WAVE_FORMAT_CONTROL_RES_VQLPC equ 0x0034
WAVE_FORMAT_DIGIREAL	equ 0x0035
WAVE_FORMAT_DIGIADPCM	equ 0x0036
WAVE_FORMAT_CONTROL_RES_CR10 equ 0x0037
WAVE_FORMAT_NMS_VBXADPCM equ 0x0038
WAVE_FORMAT_CS_IMAADPCM equ 0x0039
WAVE_FORMAT_ECHOSC3	equ 0x003A
WAVE_FORMAT_ROCKWELL_ADPCM equ 0x003B
WAVE_FORMAT_ROCKWELL_DIGITALK equ 0x003C
WAVE_FORMAT_XEBEC	equ 0x003D
WAVE_FORMAT_G721_ADPCM	equ 0x0040
WAVE_FORMAT_G728_CELP	equ 0x0041
WAVE_FORMAT_MSG723	equ 0x0042
WAVE_FORMAT_MPEG	equ 0x0050
WAVE_FORMAT_RT24	equ 0x0052
WAVE_FORMAT_PAC		equ 0x0053
WAVE_FORMAT_MPEGLAYER3	equ 0x0055
WAVE_FORMAT_LUCENT_G723 equ 0x0059
WAVE_FORMAT_CIRRUS	equ 0x0060
WAVE_FORMAT_ESPCM	equ 0x0061
WAVE_FORMAT_VOXWARE	equ 0x0062
WAVE_FORMAT_CANOPUS_ATRAC equ 0x0063
WAVE_FORMAT_G726_ADPCM	equ 0x0064
WAVE_FORMAT_G722_ADPCM	equ 0x0065
WAVE_FORMAT_DSAT_DISPLAY equ 0x0067
WAVE_FORMAT_VOXWARE_BYTE_ALIGNED equ 0x0069
WAVE_FORMAT_VOXWARE_AC8 equ 0x0070
WAVE_FORMAT_VOXWARE_AC10 equ 0x0071
WAVE_FORMAT_VOXWARE_AC16 equ 0x0072
WAVE_FORMAT_VOXWARE_AC20 equ 0x0073
WAVE_FORMAT_VOXWARE_RT24 equ 0x0074
WAVE_FORMAT_VOXWARE_RT29 equ 0x0075
WAVE_FORMAT_VOXWARE_RT29HW equ 0x0076
WAVE_FORMAT_VOXWARE_VR12 equ 0x0077
WAVE_FORMAT_VOXWARE_VR18 equ 0x0078
WAVE_FORMAT_VOXWARE_TQ40 equ 0x0079
WAVE_FORMAT_SOFTSOUND	equ 0x0080
WAVE_FORMAT_VOXWARE_TQ60 equ 0x0081
WAVE_FORMAT_MSRT24	equ 0x0082
WAVE_FORMAT_G729A	equ 0x0083
WAVE_FORMAT_MVI_MVI2	equ 0x0084
WAVE_FORMAT_DF_G726	equ 0x0085
WAVE_FORMAT_DF_GSM610	equ 0x0086
WAVE_FORMAT_ISIAUDIO	equ 0x0088
WAVE_FORMAT_ONLIVE	equ 0x0089
WAVE_FORMAT_SBC24	equ 0x0091
WAVE_FORMAT_DOLBY_AC3_SPDIF equ 0x0092
WAVE_FORMAT_MEDIASONIC_G723 equ 0x0093
WAVE_FORMAT_PROSODY_8KBPS equ 0x0094
WAVE_FORMAT_ZYXEL_ADPCM equ 0x0097
WAVE_FORMAT_PHILIPS_LPCBB equ 0x0098
WAVE_FORMAT_PACKED	equ 0x0099
WAVE_FORMAT_MALDEN_PHONYTALK equ 0x00A0
WAVE_FORMAT_RAW_AAC1	equ 0x00FF
WAVE_FORMAT_RHETOREX_ADPCM equ 0x0100
WAVE_FORMAT_IRAT	equ 0x0101
WAVE_FORMAT_VIVO_G723	equ 0x0111
WAVE_FORMAT_VIVO_SIREN	equ 0x0112
WAVE_FORMAT_DIGITAL_G723 equ 0x0123
WAVE_FORMAT_SANYO_LD_ADPCM equ 0x0125
WAVE_FORMAT_SIPROLAB_ACEPLNET equ 0x0130
WAVE_FORMAT_SIPROLAB_ACELP4800 equ 0x0131
WAVE_FORMAT_SIPROLAB_ACELP8V3 equ 0x0132
WAVE_FORMAT_SIPROLAB_G729 equ 0x0133
WAVE_FORMAT_SIPROLAB_G729A equ 0x0134
WAVE_FORMAT_SIPROLAB_KELVIN equ 0x0135
WAVE_FORMAT_G726ADPCM	equ 0x0140
WAVE_FORMAT_QUALCOMM_PUREVOICE equ 0x0150
WAVE_FORMAT_QUALCOMM_HALFRATE equ 0x0151
WAVE_FORMAT_TUBGSM	equ 0x0155
WAVE_FORMAT_MSAUDIO1	equ 0x0160
WAVE_FORMAT_WMAUDIO2	equ 0x0161
WAVE_FORMAT_WMAUDIO3	equ 0x0162
WAVE_FORMAT_WMAUDIO_LOSSLESS equ 0x0163
WAVE_FORMAT_WMASPDIF	equ 0x0164
WAVE_FORMAT_UNISYS_NAP_ADPCM equ 0x0170
WAVE_FORMAT_UNISYS_NAP_ULAW equ 0x0171
WAVE_FORMAT_UNISYS_NAP_ALAW equ 0x0172
WAVE_FORMAT_UNISYS_NAP_16K equ 0x0173
WAVE_FORMAT_CREATIVE_ADPCM equ 0x0200
WAVE_FORMAT_CREATIVE_FASTSPEECH8 equ 0x0202
WAVE_FORMAT_CREATIVE_FASTSPEECH10 equ 0x0203
WAVE_FORMAT_UHER_ADPCM	equ 0x0210
WAVE_FORMAT_QUARTERDECK equ 0x0220
WAVE_FORMAT_ILINK_VC	equ 0x0230
WAVE_FORMAT_RAW_SPORT	equ 0x0240
WAVE_FORMAT_ESST_AC3	equ 0x0241
WAVE_FORMAT_GENERIC_PASSTHRU equ 0x0249
WAVE_FORMAT_IPI_HSX	equ 0x0250
WAVE_FORMAT_IPI_RPELP	equ 0x0251
WAVE_FORMAT_CS2		equ 0x0260
WAVE_FORMAT_SONY_SCX	equ 0x0270
WAVE_FORMAT_FM_TOWNS_SND equ 0x0300
WAVE_FORMAT_BTV_DIGITAL equ 0x0400
WAVE_FORMAT_QDESIGN_MUSIC equ 0x0450
WAVE_FORMAT_VME_VMPCM	equ 0x0680
WAVE_FORMAT_TPC		equ 0x0681
WAVE_FORMAT_OLIGSM	equ 0x1000
WAVE_FORMAT_OLIADPCM	equ 0x1001
WAVE_FORMAT_OLICELP	equ 0x1002
WAVE_FORMAT_OLISBC	equ 0x1003
WAVE_FORMAT_OLIOPR	equ 0x1004
WAVE_FORMAT_LH_CODEC	equ 0x1100
WAVE_FORMAT_NORRIS	equ 0x1400
WAVE_FORMAT_SOUNDSPACE_MUSICOMPRESS equ 0x1500
WAVE_FORMAT_MPEG_ADTS_AAC equ 0x1600
WAVE_FORMAT_MPEG_RAW_AAC equ 0x1601
WAVE_FORMAT_MPEG_LOAS	equ 0x1602
WAVE_FORMAT_NOKIA_MPEG_ADTS_AAC equ 0x1608
WAVE_FORMAT_NOKIA_MPEG_RAW_AAC equ 0x1609
WAVE_FORMAT_VODAFONE_MPEG_ADTS_AAC equ 0x160A
WAVE_FORMAT_VODAFONE_MPEG_RAW_AAC equ 0x160B
WAVE_FORMAT_MPEG_HEAAC	equ 0x1610
WAVE_FORMAT_DVM		equ 0x2000
WAVE_FORMAT_DTS2	equ 0x2001

WAVE_FORMAT_VOXWARE_RT24_SPEECH	       equ 0x181C
WAVE_FORMAT_SONICFOUNDRY_LOSSLESS      equ 0x1971
WAVE_FORMAT_INNINGS_TELECOM_ADPCM      equ 0x1979
WAVE_FORMAT_LUCENT_SX8300P	       equ 0x1C07
WAVE_FORMAT_LUCENT_SX5363S	       equ 0x1C0C
WAVE_FORMAT_CUSEEME		       equ 0x1F03
WAVE_FORMAT_NTCSOFT_ALF2CM_ACM	       equ 0x1FC4
WAVE_FORMAT_DVM			       equ 0x2000
WAVE_FORMAT_DTS2		       equ 0x2001
WAVE_FORMAT_MAKEAVIS		       equ 0x3313
WAVE_FORMAT_DIVIO_MPEG4_AAC	       equ 0x4143
WAVE_FORMAT_NOKIA_ADAPTIVE_MULTIRATE   equ 0x4201
WAVE_FORMAT_DIVIO_G726		       equ 0x4243
WAVE_FORMAT_LEAD_SPEECH		       equ 0x434C
WAVE_FORMAT_LEAD_VORBIS		       equ 0x564C
WAVE_FORMAT_WAVPACK_AUDIO	       equ 0x5756
WAVE_FORMAT_OGG_VORBIS_MODE_1	       equ 0x674F
WAVE_FORMAT_OGG_VORBIS_MODE_2	       equ 0x6750
WAVE_FORMAT_OGG_VORBIS_MODE_3	       equ 0x6751
WAVE_FORMAT_OGG_VORBIS_MODE_1_PLUS     equ 0x676F
WAVE_FORMAT_OGG_VORBIS_MODE_2_PLUS     equ 0x6770
WAVE_FORMAT_OGG_VORBIS_MODE_3_PLUS     equ 0x6771
WAVE_FORMAT_3COM_NBX		       equ 0x7000
WAVE_FORMAT_FAAD_AAC		       equ 0x706D
WAVE_FORMAT_AMR_NB		       equ 0x7361
WAVE_FORMAT_AMR_WB		       equ 0x7362
WAVE_FORMAT_AMR_WP		       equ 0x7363
WAVE_FORMAT_GSM_AMR_CBR		       equ 0x7A21
WAVE_FORMAT_GSM_AMR_VBR_SID	       equ 0x7A22
WAVE_FORMAT_COMVERSE_INFOSYS_G723_1    equ 0xA100
WAVE_FORMAT_COMVERSE_INFOSYS_AVQSBC    equ 0xA101
WAVE_FORMAT_COMVERSE_INFOSYS_SBC       equ 0xA102
WAVE_FORMAT_SYMBOL_G729_A	       equ 0xA103
WAVE_FORMAT_VOICEAGE_AMR_WB	       equ 0xA104
WAVE_FORMAT_INGENIENT_G726	       equ 0xA105
WAVE_FORMAT_MPEG4_AAC		       equ 0xA106
WAVE_FORMAT_ENCORE_G726		       equ 0xA107
WAVE_FORMAT_ZOLL_ASAO		       equ 0xA108
WAVE_FORMAT_SPEEX_VOICE		       equ 0xA109
WAVE_FORMAT_VIANIX_MASC		       equ 0xA10A
WAVE_FORMAT_WM9_SPECTRUM_ANALYZER      equ 0xA10B
WAVE_FORMAT_WMF_SPECTRUM_ANAYZER       equ 0xA10C
WAVE_FORMAT_GSM_610		       equ 0xA10D
WAVE_FORMAT_GSM_620		       equ 0xA10E
WAVE_FORMAT_GSM_660		       equ 0xA10F
WAVE_FORMAT_GSM_690		       equ 0xA110
WAVE_FORMAT_GSM_ADAPTIVE_MULTIRATE_WB  equ 0xA111
WAVE_FORMAT_POLYCOM_G722	       equ 0xA112
WAVE_FORMAT_POLYCOM_G728	       equ 0xA113
WAVE_FORMAT_POLYCOM_G729_A	       equ 0xA114
WAVE_FORMAT_POLYCOM_SIREN	       equ 0xA115
WAVE_FORMAT_GLOBAL_IP_ILBC	       equ 0xA116
WAVE_FORMAT_RADIOTIME_TIME_SHIFT_RADIO equ 0xA117
WAVE_FORMAT_NICE_ACA		       equ 0xA118
WAVE_FORMAT_NICE_ADPCM		       equ 0xA119
WAVE_FORMAT_VOCORD_G721		       equ 0xA11A
WAVE_FORMAT_VOCORD_G726		       equ 0xA11B
WAVE_FORMAT_VOCORD_G722_1	       equ 0xA11C
WAVE_FORMAT_VOCORD_G728		       equ 0xA11D
WAVE_FORMAT_VOCORD_G729		       equ 0xA11E
WAVE_FORMAT_VOCORD_G729_A	       equ 0xA11F
WAVE_FORMAT_VOCORD_G723_1	       equ 0xA120
WAVE_FORMAT_VOCORD_LBC		       equ 0xA121
WAVE_FORMAT_NICE_G728		       equ 0xA122
WAVE_FORMAT_FRACE_TELECOM_G729	       equ 0xA123
WAVE_FORMAT_CODIAN		       equ 0xA124
WAVE_FORMAT_FLAC		       equ 0xF1AC

ifndef WAVE_FORMAT_EXTENSIBLE
WAVE_FORMAT_EXTENSIBLE	equ 0xFFFE
endif

WAVE_FORMAT_DEVELOPMENT equ (0xFFFF)

endif ;; NONEWWAVE

ifndef WAVE_FORMAT_PCM

WAVEFORMAT		STRUC
wFormatTag		dw ?
nChannels		dw ?
nSamplesPerSec		dd ?
nAvgBytesPerSec		dd ?
nBlockAlign		dw ?
WAVEFORMAT		ENDS
PWAVEFORMAT		typedef ptr WAVEFORMAT
LPWAVEFORMAT		typedef ptr WAVEFORMAT

WAVE_FORMAT_PCM		equ 1

PCMWAVEFORMAT		STRUC
wf			WAVEFORMAT <>
wBitsPerSample		dw ?
PCMWAVEFORMAT		ENDS
PPCMWAVEFORMAT		typedef ptr PCMWAVEFORMAT
LPPCMWAVEFORMAT		typedef ptr PCMWAVEFORMAT

endif

ifndef _WAVEFORMATEX_
define _WAVEFORMATEX_
WAVEFORMATEX		STRUC
wFormatTag		dw ?
nChannels		dw ?
nSamplesPerSec		dd ?
nAvgBytesPerSec		dd ?
nBlockAlign		dw ?
wBitsPerSample		dw ?
cbSize			dw ?
WAVEFORMATEX		ENDS
PWAVEFORMATEX		typedef ptr WAVEFORMATEX
LPWAVEFORMATEX		typedef ptr WAVEFORMATEX
endif

ifdef GUID_DEFINED

ifndef _NTRTL_
ifndef DEFINE_GUIDEX
ifndef DEFINE_GUIDEX
DEFINE_GUIDEX macro n
	exitm<externdef n:GUID>
	endm
endif
ifndef STATICGUIDOF
STATICGUIDOF macro guid
	exitm<STATIC_##guid>
	endm
endif
endif ;; DEFINE_GUIDEX
endif ;; _NTRTL_

ifndef DEFINE_GUIDSTRUCT
DEFINE_GUIDSTRUCT macro g, n
	exitm<DEFINE_GUIDEX(n)>
	endm
DEFINE_GUIDNAMED macro n
	exitm<n>
	endm
endif

ifndef DEFINE_WAVEFORMATEX_GUID
DEFINE_WAVEFORMATEX_GUID macro x
	exitm<x dw 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71>
	endm
endif

ifndef STATIC_KSDATAFORMAT_SUBTYPE_PCM
define STATIC_KSDATAFORMAT_SUBTYPE_PCM
DEFINE_GUIDSTRUCT("00000001-0000-0010-8000-00aa00389b71", KSDATAFORMAT_SUBTYPE_PCM)
;KSDATAFORMAT_SUBTYPE_PCM equ DEFINE_GUIDNAMED(KSDATAFORMAT_SUBTYPE_PCM)
endif

ifndef RC_INVOKED
ifndef STATIC_KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
define STATIC_KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
DEFINE_GUIDSTRUCT("00000003-0000-0010-8000-00aa00389b71", KSDATAFORMAT_SUBTYPE_IEEE_FLOAT)
;KSDATAFORMAT_SUBTYPE_IEEE_FLOAT equ DEFINE_GUIDNAMED(KSDATAFORMAT_SUBTYPE_IEEE_FLOAT)
endif
ifndef STATIC_KSDATAFORMAT_SUBTYPE_WAVEFORMATEX
define STATIC_KSDATAFORMAT_SUBTYPE_WAVEFORMATEX
DEFINE_GUIDSTRUCT("00000000-0000-0010-8000-00aa00389b71", KSDATAFORMAT_SUBTYPE_WAVEFORMATEX)
;KSDATAFORMAT_SUBTYPE_WAVEFORMATEX equ DEFINE_GUIDNAMED(KSDATAFORMAT_SUBTYPE_WAVEFORMATEX)
endif
endif ;; RC_INVOKED

ifndef INIT_WAVEFORMATEX_GUID
INIT_WAVEFORMATEX_GUID macro Guid, x
	exitm<>
	endm
endif

ifndef EXTRACT_WAVEFORMATEX_ID
EXTRACT_WAVEFORMATEX_ID macro Guid
	exitm<1>
	endm
endif

ifndef IS_VALID_WAVEFORMATEX_GUID
IS_VALID_WAVEFORMATEX_GUID macro Guid
	exitm<>
	endm
endif

ifndef _WAVEFORMATEXTENSIBLE_
define _WAVEFORMATEXTENSIBLE_
WAVEFORMATEXTENSIBLE	STRUC
Format			WAVEFORMATEX <>
UNION ; {
 wValidBitsPerSample	dw ?
 wSamplesPerBlock	dw ?
 wReserved		dw ?
ENDS ;Samples
dwChannelMask		dd ?
SubFormat		GUID <>
WAVEFORMATEXTENSIBLE	ENDS
PWAVEFORMATEXTENSIBLE	typedef ptr WAVEFORMATEXTENSIBLE
endif

WAVEFORMATPCMEX		typedef WAVEFORMATEXTENSIBLE
PWAVEFORMATPCMEX	typedef ptr WAVEFORMATPCMEX
LPWAVEFORMATPCMEX	typedef ptr WAVEFORMATPCMEX

WAVEFORMATIEEEFLOATEX	typedef WAVEFORMATEXTENSIBLE
PWAVEFORMATIEEEFLOATEX	typedef ptr WAVEFORMATIEEEFLOATEX
LPWAVEFORMATIEEEFLOATEX typedef ptr WAVEFORMATIEEEFLOATEX

endif ;; GUID_DEFINED

ifndef _SPEAKER_POSITIONS_
define _SPEAKER_POSITIONS_
SPEAKER_FRONT_LEFT	equ 0x1
SPEAKER_FRONT_RIGHT	equ 0x2
SPEAKER_FRONT_CENTER	equ 0x4
SPEAKER_LOW_FREQUENCY	equ 0x8
SPEAKER_BACK_LEFT	equ 0x10
SPEAKER_BACK_RIGHT	equ 0x20
SPEAKER_FRONT_LEFT_OF_CENTER equ 0x40
SPEAKER_FRONT_RIGHT_OF_CENTER equ 0x80
SPEAKER_BACK_CENTER	equ 0x100
SPEAKER_SIDE_LEFT	equ 0x200
SPEAKER_SIDE_RIGHT	equ 0x400
SPEAKER_TOP_CENTER	equ 0x800
SPEAKER_TOP_FRONT_LEFT	equ 0x1000
SPEAKER_TOP_FRONT_CENTER equ 0x2000
SPEAKER_TOP_FRONT_RIGHT equ 0x4000
SPEAKER_TOP_BACK_LEFT	equ 0x8000
SPEAKER_TOP_BACK_CENTER equ 0x10000
SPEAKER_TOP_BACK_RIGHT	equ 0x20000

SPEAKER_RESERVED	equ 0x7FFC0000

SPEAKER_ALL		equ 0x80000000
endif

ifndef NONEWWAVE

ADPCMCOEFSET		STRUC
iCoef1			sword ?
iCoef2			sword ?
ADPCMCOEFSET		ENDS
PADPCMCOEFSET		typedef ptr ADPCMCOEFSET
LPADPCMCOEFSET		typedef ptr ADPCMCOEFSET

ifdef _MSC_VER
;pragma warning(disable:4200)
endif

ADPCMWAVEFORMAT		STRUC
wfx			WAVEFORMATEX <>
wSamplesPerBlock	dw ?
wNumCoef		dw ?
ifdef _MSC_VER
aCoef			ADPCMCOEFSET <>
else
aCoef			ADPCMCOEFSET 1 dup(<>)
endif
ADPCMWAVEFORMAT		ENDS
PADPCMWAVEFORMAT	typedef ptr ADPCMWAVEFORMAT
LPADPCMWAVEFORMAT	typedef ptr ADPCMWAVEFORMAT

ifdef _MSC_VER
;pragma warning(default:4200)
endif

DRMWAVEFORMAT		STRUC
wfx			WAVEFORMATEX <>
wReserved		dw ?
ulContentId		ULONG ?
wfxSecure		WAVEFORMATEX <>
DRMWAVEFORMAT		ENDS
PDRMWAVEFORMAT		typedef ptr DRMWAVEFORMAT
LPDRMWAVEFORMAT		typedef ptr DRMWAVEFORMAT

DVIADPCMWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wSamplesPerBlock	dw ?
DVIADPCMWAVEFORMAT	ENDS
PDVIADPCMWAVEFORMAT	typedef ptr DVIADPCMWAVEFORMAT
LPDVIADPCMWAVEFORMAT	typedef ptr DVIADPCMWAVEFORMAT

IMAADPCMWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wSamplesPerBlock	dw ?
IMAADPCMWAVEFORMAT	ENDS
PIMAADPCMWAVEFORMAT	typedef ptr IMAADPCMWAVEFORMAT
LPIMAADPCMWAVEFORMAT	typedef ptr IMAADPCMWAVEFORMAT

MEDIASPACEADPCMWAVEFORMAT STRUC
wfx			WAVEFORMATEX <>
wRevision		dw ?
MEDIASPACEADPCMWAVEFORMAT ENDS
PMEDIASPACEADPCMWAVEFORMAT typedef ptr MEDIASPACEADPCMWAVEFORMAT
LPMEDIASPACEADPCMWAVEFORMAT typedef ptr MEDIASPACEADPCMWAVEFORMAT

SIERRAADPCMWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wRevision		dw ?
SIERRAADPCMWAVEFORMAT	ENDS
PSIERRAADPCMWAVEFORMAT	typedef ptr SIERRAADPCMWAVEFORMAT
LPSIERRAADPCMWAVEFORMAT typedef ptr SIERRAADPCMWAVEFORMAT

G723_ADPCMWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
cbExtraSize		dw ?
nAuxBlockSize		dw ?
G723_ADPCMWAVEFORMAT	ENDS
PG723_ADPCMWAVEFORMAT	typedef ptr G723_ADPCMWAVEFORMAT
LPG723_ADPCMWAVEFORMAT	typedef ptr G723_ADPCMWAVEFORMAT

DIGISTDWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
DIGISTDWAVEFORMAT	ENDS
PDIGISTDWAVEFORMAT	typedef ptr DIGISTDWAVEFORMAT
LPDIGISTDWAVEFORMAT	typedef ptr DIGISTDWAVEFORMAT

DIGIFIXWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
DIGIFIXWAVEFORMAT	ENDS
PDIGIFIXWAVEFORMAT	typedef ptr DIGIFIXWAVEFORMAT
LPDIGIFIXWAVEFORMAT	typedef ptr DIGIFIXWAVEFORMAT

DIALOGICOKIADPCMWAVEFORMAT STRUC
ewf			WAVEFORMATEX <>
DIALOGICOKIADPCMWAVEFORMAT ENDS
PDIALOGICOKIADPCMWAVEFORMAT typedef ptr DIALOGICOKIADPCMWAVEFORMAT
LPDIALOGICOKIADPCMWAVEFORMAT typedef ptr DIALOGICOKIADPCMWAVEFORMAT

YAMAHA_ADPCMWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
YAMAHA_ADPCMWAVEFORMAT	ENDS
PYAMAHA_ADPCMWAVEFORMAT typedef ptr YAMAHA_ADPCMWAVEFORMAT
LPYAMAHA_ADPCMWAVEFORMAT typedef ptr YAMAHA_ADPCMWAVEFORMAT

SONARCWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wCompType		dw ?
SONARCWAVEFORMAT	ENDS
PSONARCWAVEFORMAT	typedef ptr SONARCWAVEFORMAT
LPSONARCWAVEFORMAT	typedef ptr SONARCWAVEFORMAT

TRUESPEECHWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wRevision		dw ?
nSamplesPerBlock	dw ?
abReserved		db 28 dup(?)
TRUESPEECHWAVEFORMAT	ENDS
PTRUESPEECHWAVEFORMAT	typedef ptr TRUESPEECHWAVEFORMAT
LPTRUESPEECHWAVEFORMAT	typedef ptr TRUESPEECHWAVEFORMAT

ECHOSC1WAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
ECHOSC1WAVEFORMAT	ENDS
PECHOSC1WAVEFORMAT	typedef ptr ECHOSC1WAVEFORMAT
LPECHOSC1WAVEFORMAT	typedef ptr ECHOSC1WAVEFORMAT

AUDIOFILE_AF36WAVEFORMAT STRUC
wfx			WAVEFORMATEX <>
AUDIOFILE_AF36WAVEFORMAT ENDS
PAUDIOFILE_AF36WAVEFORMAT typedef ptr AUDIOFILE_AF36WAVEFORMAT
LPAUDIOFILE_AF36WAVEFORMAT typedef ptr AUDIOFILE_AF36WAVEFORMAT

APTXWAVEFORMAT		STRUC
wfx			WAVEFORMATEX <>
APTXWAVEFORMAT		ENDS
PAPTXWAVEFORMAT		typedef ptr APTXWAVEFORMAT
LPAPTXWAVEFORMAT	typedef ptr APTXWAVEFORMAT

AUDIOFILE_AF10WAVEFORMAT STRUC
wfx			WAVEFORMATEX <>
AUDIOFILE_AF10WAVEFORMAT ENDS
PAUDIOFILE_AF10WAVEFORMAT typedef ptr AUDIOFILE_AF10WAVEFORMAT
LPAUDIOFILE_AF10WAVEFORMAT typedef ptr AUDIOFILE_AF10WAVEFORMAT

DOLBYAC2WAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
nAuxBitsCode		dw ?
DOLBYAC2WAVEFORMAT	ENDS

GSM610WAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wSamplesPerBlock	dw ?
GSM610WAVEFORMAT	ENDS
PGSM610WAVEFORMAT	typedef ptr GSM610WAVEFORMAT
LPGSM610WAVEFORMAT	typedef ptr GSM610WAVEFORMAT

ADPCMEWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wSamplesPerBlock	dw ?
ADPCMEWAVEFORMAT	ENDS
PADPCMEWAVEFORMAT	typedef ptr ADPCMEWAVEFORMAT
LPADPCMEWAVEFORMAT	typedef ptr ADPCMEWAVEFORMAT

CONTRESVQLPCWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wSamplesPerBlock	dw ?
CONTRESVQLPCWAVEFORMAT	ENDS
PCONTRESVQLPCWAVEFORMAT typedef ptr CONTRESVQLPCWAVEFORMAT
LPCONTRESVQLPCWAVEFORMAT typedef ptr CONTRESVQLPCWAVEFORMAT

DIGIREALWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wSamplesPerBlock	dw ?
DIGIREALWAVEFORMAT	ENDS
PDIGIREALWAVEFORMAT	typedef ptr DIGIREALWAVEFORMAT
LPDIGIREALWAVEFORMAT	typedef ptr DIGIREALWAVEFORMAT

DIGIADPCMWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wSamplesPerBlock	dw ?
DIGIADPCMWAVEFORMAT	ENDS
PDIGIADPCMWAVEFORMAT	typedef ptr DIGIADPCMWAVEFORMAT
LPDIGIADPCMWAVEFORMAT	typedef ptr DIGIADPCMWAVEFORMAT

CONTRESCR10WAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wSamplesPerBlock	dw ?
CONTRESCR10WAVEFORMAT	ENDS
PCONTRESCR10WAVEFORMAT	typedef ptr CONTRESCR10WAVEFORMAT
LPCONTRESCR10WAVEFORMAT typedef ptr CONTRESCR10WAVEFORMAT

NMS_VBXADPCMWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wSamplesPerBlock	dw ?
NMS_VBXADPCMWAVEFORMAT	ENDS
PNMS_VBXADPCMWAVEFORMAT typedef ptr NMS_VBXADPCMWAVEFORMAT
LPNMS_VBXADPCMWAVEFORMAT typedef ptr NMS_VBXADPCMWAVEFORMAT

G721_ADPCMWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
nAuxBlockSize		dw ?
G721_ADPCMWAVEFORMAT	ENDS
PG721_ADPCMWAVEFORMAT	typedef ptr G721_ADPCMWAVEFORMAT
LPG721_ADPCMWAVEFORMAT	typedef ptr G721_ADPCMWAVEFORMAT

MPEG1WAVEFORMAT		STRUC
wfx			WAVEFORMATEX <>
fwHeadLayer		dw ?
dwHeadBitrate		dd ?
fwHeadMode		dw ?
fwHeadModeExt		dw ?
wHeadEmphasis		dw ?
fwHeadFlags		dw ?
dwPTSLow		dd ?
dwPTSHigh		dd ?
MPEG1WAVEFORMAT		ENDS
PMPEG1WAVEFORMAT	typedef ptr MPEG1WAVEFORMAT
LPMPEG1WAVEFORMAT	typedef ptr MPEG1WAVEFORMAT

ACM_MPEG_LAYER1		equ (0x0001)
ACM_MPEG_LAYER2		equ (0x0002)
ACM_MPEG_LAYER3		equ (0x0004)
ACM_MPEG_STEREO		equ (0x0001)
ACM_MPEG_JOINTSTEREO	equ (0x0002)
ACM_MPEG_DUALCHANNEL	equ (0x0004)
ACM_MPEG_SINGLECHANNEL	equ (0x0008)
ACM_MPEG_PRIVATEBIT	equ (0x0001)
ACM_MPEG_COPYRIGHT	equ (0x0002)
ACM_MPEG_ORIGINALHOME	equ (0x0004)
ACM_MPEG_PROTECTIONBIT	equ (0x0008)
ACM_MPEG_ID_MPEG1	equ (0x0010)

MPEGLAYER3_WFX_EXTRA_BYTES equ 12

MPEGLAYER3WAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wID			dw ?
fdwFlags		dd ?
nBlockSize		dw ?
nFramesPerBlock		dw ?
nCodecDelay		dw ?
MPEGLAYER3WAVEFORMAT	ENDS
PMPEGLAYER3WAVEFORMAT	typedef ptr MPEGLAYER3WAVEFORMAT
LPMPEGLAYER3WAVEFORMAT	typedef ptr MPEGLAYER3WAVEFORMAT

MPEGLAYER3_ID_UNKNOWN	equ 0
MPEGLAYER3_ID_MPEG	equ 1
MPEGLAYER3_ID_CONSTANTFRAMESIZE equ 2

MPEGLAYER3_FLAG_PADDING_ISO equ 0x00000000
MPEGLAYER3_FLAG_PADDING_ON equ 0x00000001
MPEGLAYER3_FLAG_PADDING_OFF equ 0x00000002

HEAACWAVEINFO		STRUC
wfx			WAVEFORMATEX <>
wPayloadType		dw ?
wAudioProfileLevelIndication dw ?
wStructType		dw ?
wReserved1		dw ?
dwReserved2		dd ?
HEAACWAVEINFO		ENDS
PHEAACWAVEINFO		typedef ptr HEAACWAVEINFO
LPHEAACWAVEINFO		typedef ptr HEAACWAVEINFO

HEAACWAVEFORMAT		STRUC
wfInfo			HEAACWAVEINFO <>
pbAudioSpecificConfig	db 1 dup(?)
HEAACWAVEFORMAT		ENDS
PHEAACWAVEFORMAT	typedef ptr HEAACWAVEFORMAT
LPHEAACWAVEFORMAT	typedef ptr HEAACWAVEFORMAT

MM_MSFT_ACM_WMAUDIO	equ 39
WMAUDIO_BITS_PER_SAMPLE equ 16
WMAUDIO_MAX_CHANNELS	equ 2
MM_MSFT_ACM_MSAUDIO1	equ 39

MSAUDIO1WAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wSamplesPerBlock	dw ?
wEncodeOptions		dw ?
MSAUDIO1WAVEFORMAT	ENDS
LPMSAUDIO1WAVEFORMAT	typedef ptr MSAUDIO1WAVEFORMAT

MSAUDIO1_BITS_PER_SAMPLE equ WMAUDIO_BITS_PER_SAMPLE
MSAUDIO1_MAX_CHANNELS	equ WMAUDIO_MAX_CHANNELS
MSAUDIO1_WFX_EXTRA_BYTES equ (MSAUDIO1WAVEFORMAT - WAVEFORMATEX)


MM_MSFT_ACM_WMAUDIO2	equ 101

WMAUDIO2WAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
dwSamplesPerBlock	dd ?
wEncodeOptions		dw ?
dwSuperBlockAlign	dd ?
WMAUDIO2WAVEFORMAT	ENDS
LPWMAUDIO2WAVEFORMAT	typedef ptr WMAUDIO2WAVEFORMAT

WMAUDIO2_BITS_PER_SAMPLE equ WMAUDIO_BITS_PER_SAMPLE
WMAUDIO2_MAX_CHANNELS	equ WMAUDIO_MAX_CHANNELS
WMAUDIO2_WFX_EXTRA_BYTES equ (WMAUDIO2WAVEFORMAT - WAVEFORMATEX)

WMAUDIO3WAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wValidBitsPerSample	dw ?
dwChannelMask		dd ?
dwReserved1		dd ?
dwReserved2		dd ?
wEncodeOptions		dw ?
wReserved3		dw ?
WMAUDIO3WAVEFORMAT	ENDS
LPWMAUDIO3WAVEFORMAT	typedef ptr WMAUDIO3WAVEFORMAT
WMAUDIO3_WFX_EXTRA_BYTES equ (WMAUDIO3WAVEFORMAT - WAVEFORMATEX)

CREATIVEADPCMWAVEFORMAT STRUC
wfx			WAVEFORMATEX <>
wRevision		dw ?
CREATIVEADPCMWAVEFORMAT ENDS
PCREATIVEADPCMWAVEFORMAT typedef ptr CREATIVEADPCMWAVEFORMAT
LPCREATIVEADPCMWAVEFORMAT typedef ptr CREATIVEADPCMWAVEFORMAT

CREATIVEFASTSPEECH8WAVEFORMAT STRUC
wfx			WAVEFORMATEX <>
wRevision		dw ?
CREATIVEFASTSPEECH8WAVEFORMAT ENDS
PCREATIVEFASTSPEECH8WAVEFORMAT typedef ptr CREATIVEFASTSPEECH8WAVEFORMAT
LPCREATIVEFASTSPEECH8WAVEFORMAT typedef ptr CREATIVEFASTSPEECH8WAVEFORMAT

CREATIVEFASTSPEECH10WAVEFORMAT STRUC
wfx			WAVEFORMATEX <>
wRevision		dw ?
CREATIVEFASTSPEECH10WAVEFORMAT ENDS
PCREATIVEFASTSPEECH10WAVEFORMAT typedef ptr CREATIVEFASTSPEECH10WAVEFORMAT
LPCREATIVEFASTSPEECH10WAVEFORMAT typedef ptr CREATIVEFASTSPEECH10WAVEFORMAT

FMTOWNS_SND_WAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
wRevision		dw ?
FMTOWNS_SND_WAVEFORMAT	ENDS
PFMTOWNS_SND_WAVEFORMAT typedef ptr FMTOWNS_SND_WAVEFORMAT
LPFMTOWNS_SND_WAVEFORMAT typedef ptr FMTOWNS_SND_WAVEFORMAT

OLIGSMWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
OLIGSMWAVEFORMAT	ENDS
POLIGSMWAVEFORMAT	typedef ptr OLIGSMWAVEFORMAT
LPOLIGSMWAVEFORMAT	typedef ptr OLIGSMWAVEFORMAT

OLIADPCMWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
OLIADPCMWAVEFORMAT	ENDS
POLIADPCMWAVEFORMAT	typedef ptr OLIADPCMWAVEFORMAT
LPOLIADPCMWAVEFORMAT	typedef ptr OLIADPCMWAVEFORMAT

OLICELPWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
OLICELPWAVEFORMAT	ENDS
POLICELPWAVEFORMAT	typedef ptr OLICELPWAVEFORMAT
LPOLICELPWAVEFORMAT	typedef ptr OLICELPWAVEFORMAT

OLISBCWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
OLISBCWAVEFORMAT	ENDS
POLISBCWAVEFORMAT	typedef ptr OLISBCWAVEFORMAT
LPOLISBCWAVEFORMAT	typedef ptr OLISBCWAVEFORMAT

OLIOPRWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
OLIOPRWAVEFORMAT	ENDS
POLIOPRWAVEFORMAT	typedef ptr OLIOPRWAVEFORMAT
LPOLIOPRWAVEFORMAT	typedef ptr OLIOPRWAVEFORMAT

CSIMAADPCMWAVEFORMAT	STRUC
wfx			WAVEFORMATEX <>
CSIMAADPCMWAVEFORMAT	ENDS
PCSIMAADPCMWAVEFORMAT	typedef ptr CSIMAADPCMWAVEFORMAT
LPCSIMAADPCMWAVEFORMAT	typedef ptr CSIMAADPCMWAVEFORMAT


ifndef _ACM_WAVEFILTER
define _ACM_WAVEFILTER

WAVE_FILTER_UNKNOWN	equ 0x0000
WAVE_FILTER_DEVELOPMENT equ (0xFFFF)

WAVEFILTER		STRUC
cbStruct		dd ?
dwFilterTag		dd ?
fdwFilter		dd ?
dwReserved		dd 5 dup(?)
WAVEFILTER		ENDS
PWAVEFILTER		typedef ptr WAVEFILTER
LPWAVEFILTER		typedef ptr WAVEFILTER
endif

ifndef WAVE_FILTER_VOLUME
WAVE_FILTER_VOLUME	equ 0x0001

VOLUMEWAVEFILTER	STRUC
wfltr			WAVEFILTER <>
dwVolume		dd ?
VOLUMEWAVEFILTER	ENDS
PVOLUMEWAVEFILTER	typedef ptr VOLUMEWAVEFILTER
LPVOLUMEWAVEFILTER	typedef ptr VOLUMEWAVEFILTER
endif

ifndef WAVE_FILTER_ECHO
WAVE_FILTER_ECHO	equ 0x0002

ECHOWAVEFILTER		STRUC
wfltr			WAVEFILTER <>
dwVolume		dd ?
dwDelay			dd ?
ECHOWAVEFILTER		ENDS
PECHOWAVEFILTER		typedef ptr ECHOWAVEFILTER
LPECHOWAVEFILTER	typedef ptr ECHOWAVEFILTER
endif

RIFFWAVE_inst		equ mmioFOURCC('i','n','s','t')

_s_RIFFWAVE_INST	STRUC
bUnshiftedNote		db ?
chFineTune		sbyte ?
chGain			sbyte ?
bLowNote		db ?
bHighNote		db ?
bLowVelocity		db ?
bHighVelocity		db ?
_s_RIFFWAVE_INST	ENDS

s_RIFFWAVE_inst		typedef _s_RIFFWAVE_INST

endif ;; NONEWWAVE


ifndef NONEWRIFF

RIFFCPPO		equ mmioFOURCC('C','P','P','O')
RIFFCPPO_objr		equ mmioFOURCC('o','b','j','r')
RIFFCPPO_obji		equ mmioFOURCC('o','b','j','i')
RIFFCPPO_clsr		equ mmioFOURCC('c','l','s','r')
RIFFCPPO_clsi		equ mmioFOURCC('c','l','s','i')
RIFFCPPO_mbr		equ mmioFOURCC('m','b','r',' ')
RIFFCPPO_char		equ mmioFOURCC('c','h','a','r')
RIFFCPPO_byte		equ mmioFOURCC('b','y','t','e')
RIFFCPPO_int		equ mmioFOURCC('i','n','t',' ')
RIFFCPPO_word		equ mmioFOURCC('w','o','r','d')
RIFFCPPO_long		equ mmioFOURCC('l','o','n','g')
RIFFCPPO_dwrd		equ mmioFOURCC('d','w','r','d')
RIFFCPPO_flt		equ mmioFOURCC('f','l','t',' ')
RIFFCPPO_dbl		equ mmioFOURCC('d','b','l',' ')
RIFFCPPO_str		equ mmioFOURCC('s','t','r',' ')
endif


ifndef BI_BITFIELDS
BI_BITFIELDS		equ 3
endif

ifndef QUERYDIBSUPPORT

QUERYDIBSUPPORT		equ 3073
QDI_SETDIBITS		equ 0x0001
QDI_GETDIBITS		equ 0x0002
QDI_DIBTOSCREEN		equ 0x0004
QDI_STRETCHDIB		equ 0x0008

endif

ifndef NOBITMAP

EXBMINFOHEADER		STRUC
bmi			BITMAPINFOHEADER <>
biExtDataOffset		dd ?
EXBMINFOHEADER		ENDS

endif

BICOMP_IBMULTIMOTION	equ mmioFOURCC('U', 'L', 'T', 'I')
BICOMP_IBMPHOTOMOTION	equ mmioFOURCC('P', 'H', 'M', 'O')
BICOMP_CREATIVEYUV	equ mmioFOURCC('c', 'y', 'u', 'v')

ifndef NOJPEGDIB

JPEG_DIB		equ mmioFOURCC('J','P','E','G')
MJPG_DIB		equ mmioFOURCC('M','J','P','G')

JPEG_PROCESS_BASELINE	equ 0

AVIIF_CONTROLFRAME	equ 0x00000200

JIFMK_SOF0		equ 0xFFC0
JIFMK_SOF1		equ 0xFFC1
JIFMK_SOF2		equ 0xFFC2
JIFMK_SOF3		equ 0xFFC3
JIFMK_SOF5		equ 0xFFC5
JIFMK_SOF6		equ 0xFFC6
JIFMK_SOF7		equ 0xFFC7
JIFMK_JPG		equ 0xFFC8
JIFMK_SOF9		equ 0xFFC9
JIFMK_SOF10		equ 0xFFCA
JIFMK_SOF11		equ 0xFFCB
JIFMK_SOF13		equ 0xFFCD
JIFMK_SOF14		equ 0xFFCE
JIFMK_SOF15		equ 0xFFCF
JIFMK_DHT		equ 0xFFC4
JIFMK_DAC		equ 0xFFCC
JIFMK_RST0		equ 0xFFD0
JIFMK_RST1		equ 0xFFD1
JIFMK_RST2		equ 0xFFD2
JIFMK_RST3		equ 0xFFD3
JIFMK_RST4		equ 0xFFD4
JIFMK_RST5		equ 0xFFD5
JIFMK_RST6		equ 0xFFD6
JIFMK_RST7		equ 0xFFD7
JIFMK_SOI		equ 0xFFD8
JIFMK_EOI		equ 0xFFD9
JIFMK_SOS		equ 0xFFDA
JIFMK_DQT		equ 0xFFDB
JIFMK_DNL		equ 0xFFDC
JIFMK_DRI		equ 0xFFDD
JIFMK_DHP		equ 0xFFDE
JIFMK_EXP		equ 0xFFDF
JIFMK_APP0		equ 0xFFE0
JIFMK_APP1		equ 0xFFE1
JIFMK_APP2		equ 0xFFE2
JIFMK_APP3		equ 0xFFE3
JIFMK_APP4		equ 0xFFE4
JIFMK_APP5		equ 0xFFE5
JIFMK_APP6		equ 0xFFE6
JIFMK_APP7		equ 0xFFE7
JIFMK_JPG0		equ 0xFFF0
JIFMK_JPG1		equ 0xFFF1
JIFMK_JPG2		equ 0xFFF2
JIFMK_JPG3		equ 0xFFF3
JIFMK_JPG4		equ 0xFFF4
JIFMK_JPG5		equ 0xFFF5
JIFMK_JPG6		equ 0xFFF6
JIFMK_JPG7		equ 0xFFF7
JIFMK_JPG8		equ 0xFFF8
JIFMK_JPG9		equ 0xFFF9
JIFMK_JPG10		equ 0xFFFA
JIFMK_JPG11		equ 0xFFFB
JIFMK_JPG12		equ 0xFFFC
JIFMK_JPG13		equ 0xFFFD
JIFMK_COM		equ 0xFFFE
JIFMK_TEM		equ 0xFF01
JIFMK_RES		equ 0xFF02
JIFMK_00		equ 0xFF00
JIFMK_FF		equ 0xFFFF

JPEG_Y			equ 1
JPEG_YCbCr		equ 2
JPEG_RGB		equ 3


JPEGINFOHEADER		STRUC
JPEGSize		dd ?
JPEGProcess		dd ?
JPEGColorSpaceID	dd ?
JPEGBitsPerSample	dd ?
JPEGHSubSampling	dd ?
JPEGVSubSampling	dd ?
JPEGINFOHEADER		ENDS

ifdef MJPGDHTSEG_STORAGE

MJPGDHTSEG_STORAGE MACRO
MJPGDHTSeg label byte ; [0x1A4]
	db 0xFF,0xC4,0x01,0xA2
	db 0x00,0x00,0x01,0x05,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
	db 0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x01,0x00,0x03,0x01,0x01,0x01,0x01
	db 0x01,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07
	db 0x08,0x09,0x0A,0x0B,0x10,0x00,0x02,0x01,0x03,0x03,0x02,0x04,0x03,0x05,0x05,0x04,0x04,0x00
	db 0x00,0x01,0x7D,0x01,0x02,0x03,0x00,0x04,0x11,0x05,0x12,0x21,0x31,0x41,0x06,0x13,0x51,0x61
	db 0x07,0x22,0x71,0x14,0x32,0x81,0x91,0xA1,0x08,0x23,0x42,0xB1,0xC1,0x15,0x52,0xD1,0xF0,0x24
	db 0x33,0x62,0x72,0x82,0x09,0x0A,0x16,0x17,0x18,0x19,0x1A,0x25,0x26,0x27,0x28,0x29,0x2A,0x34
	db 0x35,0x36,0x37,0x38,0x39,0x3A,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x53,0x54,0x55,0x56
	db 0x57,0x58,0x59,0x5A,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x73,0x74,0x75,0x76,0x77,0x78
	db 0x79,0x7A,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99
	db 0x9A,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9
	db 0xBA,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9
	db 0xDA,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7
	db 0xF8,0xF9,0xFA,0x11,0x00,0x02,0x01,0x02,0x04,0x04,0x03,0x04,0x07,0x05,0x04,0x04,0x00,0x01
	db 0x02,0x77,0x00,0x01,0x02,0x03,0x11,0x04,0x05,0x21,0x31,0x06,0x12,0x41,0x51,0x07,0x61,0x71
	db 0x13,0x22,0x32,0x81,0x08,0x14,0x42,0x91,0xA1,0xB1,0xC1,0x09,0x23,0x33,0x52,0xF0,0x15,0x62
	db 0x72,0xD1,0x0A,0x16,0x24,0x34,0xE1,0x25,0xF1,0x17,0x18,0x19,0x1A,0x26,0x27,0x28,0x29,0x2A
	db 0x35,0x36,0x37,0x38,0x39,0x3A,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x53,0x54,0x55,0x56
	db 0x57,0x58,0x59,0x5A,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x73,0x74,0x75,0x76,0x77,0x78
	db 0x79,0x7A,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x92,0x93,0x94,0x95,0x96,0x97,0x98
	db 0x99,0x9A,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8
	db 0xB9,0xBA,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8
	db 0xD9,0xDA,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8
	db 0xF9,0xFA
	ENDM

endif ;; MJPGDHTSEG_STORAGE
endif ;; NOJPEGDIB

ifndef NONEWIC
ifndef ICTYPE_VIDEO
ICTYPE_VIDEO		equ mmioFOURCC('v', 'i', 'd', 'c')
ICTYPE_AUDIO		equ mmioFOURCC('a', 'u', 'd', 'c')
endif
endif

FOURCC_RDSP		equ mmioFOURCC('R', 'D', 'S', 'P')

ifndef MMNOMIXER
MIXERCONTROL_CONTROLTYPE_SRS_MTS equ (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 6)
MIXERCONTROL_CONTROLTYPE_SRS_ONOFF equ (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 7)
MIXERCONTROL_CONTROLTYPE_SRS_SYNTHSELECT equ (MIXERCONTROL_CONTROLTYPE_BOOLEAN + 8)
endif

.pragma pack(pop)

endif ;; _INC_MMREG

else

.pragma pack(push, 1)

WAVEFORMATEX		STRUC
wFormatTag		dw ?
nChannels		dw ?
nSamplesPerSec		dd ?
nAvgBytesPerSec		dd ?
nBlockAlign		dw ?
wBitsPerSample		dw ?
cbSize			dw ?
pExtraBytes		db 1 dup(?) ; size_is(cbSize)
WAVEFORMATEX		ENDS
PWAVEFORMATEX		typedef ptr WAVEFORMATEX
LPWAVEFORMATEX		typedef ptr WAVEFORMATEX

WAVEFORMATEXTENSIBLE	STRUC
wFormatTag		dw ?
nChannels		dw ?
nSamplesPerSec		dd ?
nAvgBytesPerSec		dd ?
nBlockAlign		dw ?
wBitsPerSample		dw ?
cbSize			dw ?
wValidBitsPerSample	dw ?
dwChannelMask		dd ?
SubFormat		GUID <>
WAVEFORMATEXTENSIBLE	ENDS
PWAVEFORMATEXTENSIBLE	typedef ptr WAVEFORMATEXTENSIBLE

.pragma pack(pop)

endif ;; __midl
