summaryrefslogtreecommitdiffstats
path: root/private/mvdm/wow16/mmsystem/mmsystem.def
blob: 762538f13ea2990c623589ab8e32f83bd533fb62 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
LIBRARY     MMSYSTEM

DESCRIPTION 'System APIs for Multimedia'

EXETYPE     WINDOWS

PROTMODE

CODE        MOVEABLE DISCARDABLE LOADONCALL
DATA        MOVEABLE SINGLE PRELOAD


SEGMENTS
    FIX         FIXED                   PRELOAD
    INTDS  CLASS 'DATA'  FIXED          PRELOAD

    INIT        MOVEABLE DISCARDABLE    PRELOAD
    WAVE        MOVEABLE DISCARDABLE    PRELOAD    ;;for startup sound

    _TEXT       MOVEABLE DISCARDABLE    PRELOAD    ;; to save memory on 1Mb 286
;;;;_TEXT       MOVEABLE NONDISCARDABLE PRELOAD

    MCI         MOVEABLE DISCARDABLE    LOADONCALL
    MIDI        MOVEABLE DISCARDABLE    LOADONCALL
    MMIO        MOVEABLE DISCARDABLE    LOADONCALL
    RARE        MOVEABLE DISCARDABLE    LOADONCALL
    MIXER       MOVEABLE DISCARDABLE    LOADONCALL

HEAPSIZE    128

IMPORTS
        _DebugOutput            = KERNEL.328
;       _HREAD                  = KERNEL.349
;       _HWRITE                 = KERNEL.350
;       HMEMCPY                 = KERNEL.348
        LSTRCPYN                = KERNEL.353
        LocalCountFree          = KERNEL.161
        LocalHeapSize           = KERNEL.162
        GetLPErrMode            = KERNEL.99

EXPORTS
        WEP                     @1      RESIDENTNAME	;Internal
        SNDPLAYSOUND            @2
        MMSYSTEMGETVERSION      @5
        DRIVERPROC              @6      RESIDENTNAME	;Internal
;
;   driver helper functions
;
        OUTPUTDEBUGSTR          @30
        DRIVERCALLBACK          @31
        STACKENTER              @32
        STACKLEAVE              @33
        MMDRVINSTALL            @34                     ;Internal
;
; JOYSTICK interface
;
        JOYGETNUMDEVS           @101
        JOYGETDEVCAPS           @102
        JOYGETPOS               @103
        JOYGETTHRESHOLD         @104
        JOYRELEASECAPTURE       @105
        JOYSETCAPTURE           @106
        JOYSETTHRESHOLD         @107
        JOYSETCALIBRATION       @109
;
; MIDI interface
;
        MIDIOUTGETNUMDEVS       @201
        MIDIOUTGETDEVCAPS       @202
        MIDIOUTGETERRORTEXT     @203
        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 interface
;
        MIDIINGETNUMDEVS        @301
        MIDIINGETDEVCAPS        @302
        MIDIINGETERRORTEXT      @303
        MIDIINOPEN              @304
        MIDIINCLOSE             @305
        MIDIINPREPAREHEADER     @306
        MIDIINUNPREPAREHEADER   @307
        MIDIINADDBUFFER         @308
        MIDIINSTART             @309
        MIDIINSTOP              @310
        MIDIINRESET             @311
        MIDIINGETID             @312
        MIDIINMESSAGE           @313
;
; AUX interface
;
        AUXGETNUMDEVS           @350
        AUXGETDEVCAPS           @351
        AUXGETVOLUME            @352
        AUXSETVOLUME            @353
        AUXOUTMESSAGE           @354
;
; WAVE interface
;
        WAVEOUTGETNUMDEVS       @401
        WAVEOUTGETDEVCAPS       @402
        WAVEOUTGETERRORTEXT     @403
        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

        WAVEINGETNUMDEVS        @501
        WAVEINGETDEVCAPS        @502
        WAVEINGETERRORTEXT      @503
        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
;
; MCI interface
;
        MCISENDCOMMAND          @701
        MCISENDSTRING           @702
        MCIGETDEVICEID          @703
        MCIPARSECOMMAND         @704
        MCILOADCOMMANDRESOURCE  @705
        MCIGETERRORSTRING       @706
        MCISETDRIVERDATA        @707
        MCIGETDRIVERDATA        @708
        MCIDRIVERYIELD          @710
        MCIDRIVERNOTIFY         @711
        MCIEXECUTE              @712
        MCIFREECOMMANDRESOURCE  @713
        MCISETYIELDPROC         @714
        MCIGETDEVICEIDFROMELEMENTID @715
	MCIGETYIELDPROC		@716
	MCIGETCREATORTASK	@717

;
; MIXER interface
;
      MIXERGETNUMDEVS             @800
      MIXERGETDEVCAPS             @801
      MIXEROPEN                   @802
      MIXERCLOSE                  @803
      MIXERMESSAGE                @804
      MIXERGETLINEINFO            @805
      MIXERGETID                  @806
      MIXERGETLINECONTROLS        @807
      MIXERGETCONTROLDETAILS      @808
      MIXERSETCONTROLDETAILS      @809

;
; MMTASK interface
;
        MMTASKCREATE            @900
        MMTASKBLOCK             @902
        MMTASKSIGNAL            @903
        MMGETCURRENTTASK        @904
        MMTASKYIELD             @905

;
; Driver interface
;
        DRVOPEN                 @1100
        DRVCLOSE                @1101
        DRVSENDMESSAGE          @1102
        DRVGETMODULEHANDLE      @1103
        DRVDEFDRIVERPROC        @1104
;
; MMIO
;
        MMIOOPEN                @1210
        MMIOCLOSE               @1211
        MMIOREAD                @1212
        MMIOWRITE               @1213
        MMIOSEEK                @1214
        MMIOGETINFO             @1215
        MMIOSETINFO             @1216
        MMIOSETBUFFER           @1217
        MMIOFLUSH               @1218
        MMIOADVANCE             @1219
        MMIOSTRINGTOFOURCC      @1220
        MMIOINSTALLIOPROC       @1221
        MMIOSENDMESSAGE         @1222

        MMIODESCEND             @1223
        MMIOASCEND              @1224
        MMIOCREATECHUNK         @1225
	MMIORENAME		@1226