Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

225 lines
6.6 KiB

  1. LIBRARY MMSYSTEM
  2. DESCRIPTION 'System APIs for Multimedia'
  3. EXETYPE WINDOWS
  4. PROTMODE
  5. CODE MOVEABLE DISCARDABLE LOADONCALL
  6. DATA MOVEABLE SINGLE PRELOAD
  7. SEGMENTS
  8. FIX FIXED PRELOAD
  9. INTDS CLASS 'DATA' FIXED PRELOAD
  10. INIT MOVEABLE DISCARDABLE PRELOAD
  11. WAVE MOVEABLE DISCARDABLE PRELOAD ;;for startup sound
  12. _TEXT MOVEABLE DISCARDABLE PRELOAD ;; to save memory on 1Mb 286
  13. ;;;;_TEXT MOVEABLE NONDISCARDABLE PRELOAD
  14. MCI MOVEABLE DISCARDABLE LOADONCALL
  15. MIDI MOVEABLE DISCARDABLE LOADONCALL
  16. MMIO MOVEABLE DISCARDABLE LOADONCALL
  17. RARE MOVEABLE DISCARDABLE LOADONCALL
  18. MIXER MOVEABLE DISCARDABLE LOADONCALL
  19. HEAPSIZE 128
  20. IMPORTS
  21. _DebugOutput = KERNEL.328
  22. LSTRCPYN = KERNEL.353
  23. LocalCountFree = KERNEL.161
  24. LocalHeapSize = KERNEL.162
  25. GetLPErrMode = KERNEL.99
  26. EXPORTS
  27. WEP @1 RESIDENTNAME ;Internal
  28. SNDPLAYSOUND @2
  29. MMSYSTEMGETVERSION @5
  30. DRIVERPROC @6 RESIDENTNAME ;Internal
  31. ;
  32. ; driver helper functions
  33. ;
  34. OUTPUTDEBUGSTR @30
  35. DRIVERCALLBACK @31
  36. STACKENTER @32
  37. STACKLEAVE @33
  38. MMDRVINSTALL @34 ;Internal
  39. ;
  40. ; JOYSTICK interface
  41. ;
  42. JOYGETNUMDEVS @101
  43. JOYGETDEVCAPS @102
  44. JOYGETPOS @103
  45. JOYGETTHRESHOLD @104
  46. JOYRELEASECAPTURE @105
  47. JOYSETCAPTURE @106
  48. JOYSETTHRESHOLD @107
  49. JOYSETCALIBRATION @109
  50. ;
  51. ; MIDI interface
  52. ;
  53. MIDIOUTGETNUMDEVS @201
  54. MIDIOUTGETDEVCAPS @202
  55. MIDIOUTGETERRORTEXT @203
  56. MIDIOUTOPEN @204
  57. MIDIOUTCLOSE @205
  58. MIDIOUTPREPAREHEADER @206
  59. MIDIOUTUNPREPAREHEADER @207
  60. MIDIOUTSHORTMSG @208
  61. MIDIOUTLONGMSG @209
  62. MIDIOUTRESET @210
  63. MIDIOUTGETVOLUME @211
  64. MIDIOUTSETVOLUME @212
  65. MIDIOUTCACHEPATCHES @213
  66. MIDIOUTCACHEDRUMPATCHES @214
  67. MIDIOUTGETID @215
  68. MIDIOUTMESSAGE @216
  69. ;
  70. ; MIDI interface
  71. ;
  72. MIDIINGETNUMDEVS @301
  73. MIDIINGETDEVCAPS @302
  74. MIDIINGETERRORTEXT @303
  75. MIDIINOPEN @304
  76. MIDIINCLOSE @305
  77. MIDIINPREPAREHEADER @306
  78. MIDIINUNPREPAREHEADER @307
  79. MIDIINADDBUFFER @308
  80. MIDIINSTART @309
  81. MIDIINSTOP @310
  82. MIDIINRESET @311
  83. MIDIINGETID @312
  84. MIDIINMESSAGE @313
  85. ;
  86. ; AUX interface
  87. ;
  88. AUXGETNUMDEVS @350
  89. AUXGETDEVCAPS @351
  90. AUXGETVOLUME @352
  91. AUXSETVOLUME @353
  92. AUXOUTMESSAGE @354
  93. ;
  94. ; WAVE interface
  95. ;
  96. WAVEOUTGETNUMDEVS @401
  97. WAVEOUTGETDEVCAPS @402
  98. WAVEOUTGETERRORTEXT @403
  99. WAVEOUTOPEN @404
  100. WAVEOUTCLOSE @405
  101. WAVEOUTPREPAREHEADER @406
  102. WAVEOUTUNPREPAREHEADER @407
  103. WAVEOUTWRITE @408
  104. WAVEOUTPAUSE @409
  105. WAVEOUTRESTART @410
  106. WAVEOUTRESET @411
  107. WAVEOUTGETPOSITION @412
  108. WAVEOUTGETPITCH @413
  109. WAVEOUTSETPITCH @414
  110. WAVEOUTGETVOLUME @415
  111. WAVEOUTSETVOLUME @416
  112. WAVEOUTGETPLAYBACKRATE @417
  113. WAVEOUTSETPLAYBACKRATE @418
  114. WAVEOUTBREAKLOOP @419
  115. WAVEOUTGETID @420
  116. WAVEOUTMESSAGE @421
  117. WAVEINGETNUMDEVS @501
  118. WAVEINGETDEVCAPS @502
  119. WAVEINGETERRORTEXT @503
  120. WAVEINOPEN @504
  121. WAVEINCLOSE @505
  122. WAVEINPREPAREHEADER @506
  123. WAVEINUNPREPAREHEADER @507
  124. WAVEINADDBUFFER @508
  125. WAVEINSTART @509
  126. WAVEINSTOP @510
  127. WAVEINRESET @511
  128. WAVEINGETPOSITION @512
  129. WAVEINGETID @513
  130. WAVEINMESSAGE @514
  131. ;
  132. ; TIME interface
  133. ;
  134. TIMEGETSYSTEMTIME @601
  135. TIMEGETTIME @607
  136. TIMESETEVENT @602
  137. TIMEKILLEVENT @603
  138. TIMEGETDEVCAPS @604
  139. TIMEBEGINPERIOD @605
  140. TIMEENDPERIOD @606
  141. ;
  142. ; MCI interface
  143. ;
  144. MCISENDCOMMAND @701
  145. MCISENDSTRING @702
  146. MCIGETDEVICEID @703
  147. MCIPARSECOMMAND @704
  148. MCILOADCOMMANDRESOURCE @705
  149. MCIGETERRORSTRING @706
  150. MCISETDRIVERDATA @707
  151. MCIGETDRIVERDATA @708
  152. MCIDRIVERYIELD @710
  153. MCIDRIVERNOTIFY @711
  154. MCIEXECUTE @712
  155. MCIFREECOMMANDRESOURCE @713
  156. MCISETYIELDPROC @714
  157. MCIGETDEVICEIDFROMELEMENTID @715
  158. MCIGETYIELDPROC @716
  159. MCIGETCREATORTASK @717
  160. ;
  161. ; MIXER interface
  162. ;
  163. MIXERGETNUMDEVS @800
  164. MIXERGETDEVCAPS @801
  165. MIXEROPEN @802
  166. MIXERCLOSE @803
  167. MIXERMESSAGE @804
  168. MIXERGETLINEINFO @805
  169. MIXERGETID @806
  170. MIXERGETLINECONTROLS @807
  171. MIXERGETCONTROLDETAILS @808
  172. MIXERSETCONTROLDETAILS @809
  173. ;
  174. ; MMTASK interface
  175. ;
  176. MMTASKCREATE @900
  177. MMTASKBLOCK @902
  178. MMTASKSIGNAL @903
  179. MMGETCURRENTTASK @904
  180. MMTASKYIELD @905
  181. ;
  182. ; Driver interface
  183. ;
  184. DRVOPEN @1100
  185. DRVCLOSE @1101
  186. DRVSENDMESSAGE @1102
  187. DRVGETMODULEHANDLE @1103
  188. DRVDEFDRIVERPROC @1104
  189. ;
  190. ; MMIO
  191. ;
  192. MMIOOPEN @1210
  193. MMIOCLOSE @1211
  194. MMIOREAD @1212
  195. MMIOWRITE @1213
  196. MMIOSEEK @1214
  197. MMIOGETINFO @1215
  198. MMIOSETINFO @1216
  199. MMIOSETBUFFER @1217
  200. MMIOFLUSH @1218
  201. MMIOADVANCE @1219
  202. MMIOSTRINGTOFOURCC @1220
  203. MMIOINSTALLIOPROC @1221
  204. MMIOSENDMESSAGE @1222
  205. MMIODESCEND @1223
  206. MMIOASCEND @1224
  207. MMIOCREATECHUNK @1225
  208. MMIORENAME @1226