295 lines
10 KiB
Modula-2
295 lines
10 KiB
Modula-2
|
LIBRARY WINMM
|
||
|
|
||
|
EXPORTS
|
||
|
|
||
|
PlaySound=PlaySoundA
|
||
|
NT4PlaySound=PlaySoundA @2 NONAME PRIVATE ; Must stay like this for NT4 compatability.
|
||
|
|
||
|
PlaySoundA
|
||
|
sndPlaySoundA ;@3
|
||
|
PlaySoundW ;@4
|
||
|
|
||
|
winmmDbgOut ; Internal
|
||
|
winmmSetDebugLevel ; Internal
|
||
|
|
||
|
mmsystemGetVersion
|
||
|
sndPlaySoundW ;@28
|
||
|
;
|
||
|
; MCI
|
||
|
;
|
||
|
mciSendCommandA ;@7
|
||
|
mciSendStringA ;@8
|
||
|
mciGetDriverData ;@9
|
||
|
mciDriverNotify ;@10
|
||
|
mciDriverYield ;@11
|
||
|
mciExecute ;@12
|
||
|
mciGetErrorStringA ;@13
|
||
|
mciGetDeviceIDA ;@14
|
||
|
mciLoadCommandResource ;@15
|
||
|
mciFreeCommandResource ;@16
|
||
|
mciSetDriverData ;@17
|
||
|
mciGetCreatorTask ;@18
|
||
|
mciGetDeviceIDFromElementIDA ; Obsolete
|
||
|
|
||
|
mciSendCommandW ;@21
|
||
|
mciSendStringW ;@22
|
||
|
|
||
|
mciGetErrorStringW ;@24
|
||
|
mciGetDeviceIDW ;@25
|
||
|
mciGetDeviceIDFromElementIDW ;@26
|
||
|
;sd mciEatCommandEntry TO BE DELETED
|
||
|
;sd FindCommandItem TO BE DELETED
|
||
|
;sd mciGetParamSize TO BE DELETED
|
||
|
;sd mciUnlockCommandTable TO BE DELETED
|
||
|
mciGetYieldProc ;@36
|
||
|
mciSetYieldProc ;@35
|
||
|
;
|
||
|
; driver helper functions
|
||
|
;
|
||
|
;; OutputDebugStr ; Replaced by OutputDebugString
|
||
|
DriverCallback ;@31
|
||
|
mmDrvInstall ;Internal
|
||
|
;
|
||
|
; MMIO
|
||
|
;
|
||
|
mmioOpenA ;@40
|
||
|
mmioOpenW ;@94
|
||
|
|
||
|
mmioClose ;@41
|
||
|
mmioRead ;@42
|
||
|
mmioWrite ;@43
|
||
|
mmioSeek ;@44
|
||
|
|
||
|
mmioRenameA ;@45
|
||
|
mmioRenameW ;@95
|
||
|
|
||
|
mmioGetInfo ;@46
|
||
|
mmioSetInfo ;@47
|
||
|
mmioSetBuffer ;@48
|
||
|
mmioFlush ;@49
|
||
|
mmioAdvance ;@50
|
||
|
|
||
|
mmioStringToFOURCCA ;@51
|
||
|
mmioInstallIOProcA ;@52
|
||
|
|
||
|
mmioSendMessage ;@53
|
||
|
|
||
|
mmioDescend ;@54
|
||
|
mmioAscend ;@55
|
||
|
mmioCreateChunk ;@56
|
||
|
|
||
|
mmioStringToFOURCCW ;@57
|
||
|
mmioInstallIOProcW ;@58
|
||
|
;
|
||
|
; JOY stick API
|
||
|
;
|
||
|
joyGetDevCapsA ;@100
|
||
|
joyGetDevCapsW ;@101
|
||
|
joyGetNumDevs ;@102
|
||
|
joyGetPos ;@103
|
||
|
joyGetThreshold ;@104
|
||
|
joyReleaseCapture ;@105
|
||
|
joySetCapture ;@106
|
||
|
joySetThreshold ;@107
|
||
|
; joySetCalibration ;@108
|
||
|
joyGetPosEx
|
||
|
joyConfigChanged
|
||
|
|
||
|
;
|
||
|
; MIDI out interface
|
||
|
;
|
||
|
midiOutGetNumDevs ;@201
|
||
|
midiOutGetDevCapsA ;@202
|
||
|
midiOutGetDevCapsW ;@72
|
||
|
midiOutGetErrorTextA ;@203
|
||
|
midiOutGetErrorTextW ;@73
|
||
|
midiOutOpen ;@204
|
||
|
midiOutClose ;@205
|
||
|
midiOutPrepareHeader ;@206
|
||
|
midiOutUnprepareHeader ;@207
|
||
|
midiOutShortMsg ;@208
|
||
|
midiOutLongMsg ;@209
|
||
|
midiOutReset ;@210
|
||
|
midiOutGetVolume ;@211
|
||
|
midiOutSetVolume ;@212
|
||
|
midiOutCachePatches ;@213
|
||
|
midiOutCacheDrumPatches ;@214
|
||
|
midiOutGetID ;@215
|
||
|
midiOutMessage ;@216
|
||
|
;
|
||
|
; MIDI streams (polymessage)
|
||
|
;
|
||
|
midiStreamProperty ; ???
|
||
|
midiStreamPosition ; ???
|
||
|
midiStreamOpen ; ???
|
||
|
midiStreamClose ; ???
|
||
|
midiStreamOut ; ???
|
||
|
midiStreamPause ; ???
|
||
|
midiStreamRestart ; ???
|
||
|
midiStreamStop ; ???
|
||
|
|
||
|
;
|
||
|
; MIDI thruing support
|
||
|
;
|
||
|
midiConnect ; ???
|
||
|
midiDisconnect ; ???
|
||
|
;
|
||
|
; MIDI in interface
|
||
|
;
|
||
|
midiInGetNumDevs ;@301
|
||
|
midiInGetDevCapsA ;@302
|
||
|
midiInGetDevCapsW ;@70
|
||
|
midiInGetErrorTextA ;@303
|
||
|
midiInGetErrorTextW ;@71
|
||
|
midiInOpen ;@304
|
||
|
midiInClose ;@305
|
||
|
midiInPrepareHeader ;@306
|
||
|
midiInUnprepareHeader ;@307
|
||
|
midiInAddBuffer ;@308
|
||
|
midiInStart ;@309
|
||
|
midiInStop ;@310
|
||
|
midiInReset ;@311
|
||
|
midiInGetID ;@312
|
||
|
midiInMessage ;@313
|
||
|
;
|
||
|
; AUX interface
|
||
|
;
|
||
|
auxGetNumDevs ;@350
|
||
|
auxGetDevCapsA ;@351
|
||
|
auxGetDevCapsW ;@63
|
||
|
auxGetVolume ;@352
|
||
|
auxSetVolume ;@353
|
||
|
auxOutMessage ;@354
|
||
|
;
|
||
|
; WAVE out interface
|
||
|
;
|
||
|
waveOutGetNumDevs ;@401
|
||
|
waveOutGetDevCapsA ;@402
|
||
|
waveOutGetErrorTextA ;@403
|
||
|
waveOutGetDevCapsW ;@110
|
||
|
waveOutGetErrorTextW ;@111
|
||
|
waveOutOpen ;@404
|
||
|
waveOutClose ;@405
|
||
|
waveOutPrepareHeader ;@406
|
||
|
waveOutUnprepareHeader ;@407
|
||
|
waveOutWrite ;@408
|
||
|
waveOutPause ;@409
|
||
|
waveOutRestart ;@410
|
||
|
waveOutReset ;@411
|
||
|
waveOutGetPosition ;@412
|
||
|
waveOutGetPitch ;@413
|
||
|
waveOutSetPitch ;@414
|
||
|
waveOutGetVolume ;@415
|
||
|
waveOutSetVolume ;@416
|
||
|
waveOutGetPlaybackRate ;@417
|
||
|
waveOutSetPlaybackRate ;@418
|
||
|
waveOutBreakLoop ;@419
|
||
|
waveOutGetID ;@420
|
||
|
waveOutMessage ;@421
|
||
|
|
||
|
;
|
||
|
; WAVE in interface
|
||
|
;
|
||
|
waveInGetNumDevs ;@501
|
||
|
waveInGetDevCapsA ;@502
|
||
|
waveInGetErrorTextA ;@503
|
||
|
waveInGetDevCapsW ;@99
|
||
|
waveInGetErrorTextW ;@109
|
||
|
waveInOpen ;@504
|
||
|
waveInClose ;@505
|
||
|
waveInPrepareHeader ;@506
|
||
|
waveInUnprepareHeader ;@507
|
||
|
waveInAddBuffer ;@508
|
||
|
waveInStart ;@509
|
||
|
waveInStop ;@510
|
||
|
waveInReset ;@511
|
||
|
waveInGetPosition ;@512
|
||
|
waveInGetID ;@513
|
||
|
waveInMessage ;@514
|
||
|
;
|
||
|
; TIME interface
|
||
|
;
|
||
|
timeGetSystemTime ;@601
|
||
|
timeGetTime ;@607
|
||
|
timeSetEvent ;@602
|
||
|
timeKillEvent ;@603
|
||
|
timeGetDevCaps ;@604
|
||
|
timeBeginPeriod ;@605
|
||
|
timeEndPeriod ;@606
|
||
|
;
|
||
|
; MIXER interface
|
||
|
;
|
||
|
mixerGetNumDevs ;@74
|
||
|
mixerGetDevCapsA ;@75
|
||
|
mixerGetDevCapsW ;@76
|
||
|
mixerOpen ;@77
|
||
|
mixerClose ;@78
|
||
|
mixerMessage ;@79
|
||
|
mixerGetLineInfoA ;@80
|
||
|
mixerGetLineInfoW ;@81
|
||
|
mixerGetID ;@82
|
||
|
mixerGetLineControlsA ;@83
|
||
|
mixerGetLineControlsW ;@84
|
||
|
mixerGetControlDetailsA ;@85
|
||
|
mixerGetControlDetailsW ;@86
|
||
|
mixerSetControlDetails ;@87
|
||
|
|
||
|
;
|
||
|
; TASK
|
||
|
;
|
||
|
mmTaskCreate ; ???
|
||
|
mmTaskBlock ; ???
|
||
|
mmTaskSignal ; ???
|
||
|
mmTaskYield ; ???
|
||
|
mmGetCurrentTask ; ???
|
||
|
WOWAppExit ; ???
|
||
|
;
|
||
|
; INSTALLABLE DRIVER
|
||
|
;
|
||
|
DefDriverProc ;@23
|
||
|
OpenDriver=DrvOpen ;@37
|
||
|
CloseDriver=DrvClose ;@19
|
||
|
SendDriverMessage=DrvSendMessage ;@39
|
||
|
DrvGetModuleHandle ;@29
|
||
|
GetDriverModuleHandle=DrvGetModuleHandle ;@32
|
||
|
|
||
|
;
|
||
|
; WOW Thunks
|
||
|
;
|
||
|
#ifndef _WIN64
|
||
|
mci32Message ; ???
|
||
|
wod32Message ; ???
|
||
|
wid32Message ; ???
|
||
|
mid32Message ; ???
|
||
|
mod32Message ; ???
|
||
|
aux32Message ; ???
|
||
|
joy32Message ; ???
|
||
|
mxd32Message ; ???
|
||
|
tid32Message ; ???
|
||
|
NotifyCallbackData ; ???
|
||
|
WOW32ResolveMultiMediaHandle ; ???
|
||
|
WOW32DriverCallback ; ???
|
||
|
#endif
|
||
|
|
||
|
;
|
||
|
; Win NT Specific Registry
|
||
|
;
|
||
|
WinmmLogon ; ???
|
||
|
WinmmLogoff ; ???
|
||
|
MigrateSoundEvents ; ???
|
||
|
MigrateAllDrivers ; ???
|
||
|
|
||
|
;
|
||
|
; Audio GFX support
|
||
|
;
|
||
|
gfxAddGfx
|
||
|
gfxBatchChange
|
||
|
gfxCreateGfxFactoriesList
|
||
|
gfxCreateZoneFactoriesList
|
||
|
gfxDestroyDeviceInterfaceList
|
||
|
gfxEnumerateGfxs
|
||
|
gfxModifyGfx
|
||
|
gfxOpenGfx
|
||
|
gfxRemoveGfx
|
||
|
|