1 | /*
|
---|
2 | * MMSYSTEM - Multimedia Wine Extension ... :-)
|
---|
3 | *
|
---|
4 | * Copyright (C) the Wine project
|
---|
5 | *
|
---|
6 | * This library is free software; you can redistribute it and/or
|
---|
7 | * modify it under the terms of the GNU Lesser General Public
|
---|
8 | * License as published by the Free Software Foundation; either
|
---|
9 | * version 2.1 of the License, or (at your option) any later version.
|
---|
10 | *
|
---|
11 | * This library is distributed in the hope that it will be useful,
|
---|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
14 | * Lesser General Public License for more details.
|
---|
15 | *
|
---|
16 | * You should have received a copy of the GNU Lesser General Public
|
---|
17 | * License along with this library; if not, write to the Free Software
|
---|
18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
19 | */
|
---|
20 |
|
---|
21 | /*
|
---|
22 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
23 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
24 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
25 | * a choice of LGPL license versions is made available with the language indicating
|
---|
26 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
27 | * of the LGPL is applied is otherwise unspecified.
|
---|
28 | */
|
---|
29 |
|
---|
30 | #ifndef __WINE_WINE_MMSYSTEM16_H
|
---|
31 | #define __WINE_WINE_MMSYSTEM16_H
|
---|
32 |
|
---|
33 | #include <windef.h>
|
---|
34 | #include <wine/windef16.h>
|
---|
35 | #include <mmddk.h>
|
---|
36 |
|
---|
37 | #include <pshpack1.h>
|
---|
38 |
|
---|
39 | typedef UINT16 MMVERSION16;
|
---|
40 | typedef UINT16 MCIDEVICEID16;
|
---|
41 | typedef UINT16 MMRESULT16;
|
---|
42 |
|
---|
43 | typedef struct {
|
---|
44 | UINT16 wType; /* indicates the contents of the union */
|
---|
45 | union {
|
---|
46 | DWORD ms; /* milliseconds */
|
---|
47 | DWORD sample; /* samples */
|
---|
48 | DWORD cb; /* byte count */
|
---|
49 | struct { /* SMPTE */
|
---|
50 | BYTE hour; /* hours */
|
---|
51 | BYTE min; /* minutes */
|
---|
52 | BYTE sec; /* seconds */
|
---|
53 | BYTE frame; /* frames */
|
---|
54 | BYTE fps; /* frames per second */
|
---|
55 | BYTE dummy; /* pad */
|
---|
56 | } smpte;
|
---|
57 | struct { /* MIDI */
|
---|
58 | DWORD songptrpos; /* song pointer position */
|
---|
59 | } midi;
|
---|
60 | } u;
|
---|
61 | } MMTIME16, *LPMMTIME16;
|
---|
62 |
|
---|
63 | typedef struct {
|
---|
64 | DWORD dwDCISize;
|
---|
65 | SEGPTR lpszDCISectionName;
|
---|
66 | SEGPTR lpszDCIAliasName;
|
---|
67 | } DRVCONFIGINFO16, *LPDRVCONFIGINFO16;
|
---|
68 |
|
---|
69 | /* GetDriverInfo16 references this structure, so this a struct defined
|
---|
70 | * in the Win16 API.
|
---|
71 | * GetDriverInfo has been deprecated in Win32.
|
---|
72 | */
|
---|
73 | typedef struct
|
---|
74 | {
|
---|
75 | UINT16 length;
|
---|
76 | HDRVR16 hDriver;
|
---|
77 | HINSTANCE16 hModule;
|
---|
78 | CHAR szAliasName[128];
|
---|
79 | } DRIVERINFOSTRUCT16, *LPDRIVERINFOSTRUCT16;
|
---|
80 |
|
---|
81 | LRESULT WINAPI DefDriverProc16(DWORD,HDRVR16,UINT16,LPARAM,LPARAM);
|
---|
82 | HDRVR16 WINAPI OpenDriver16(LPCSTR,LPCSTR,LPARAM);
|
---|
83 | LRESULT WINAPI CloseDriver16(HDRVR16,LPARAM,LPARAM);
|
---|
84 | LRESULT WINAPI SendDriverMessage16(HDRVR16,UINT16,LPARAM,LPARAM);
|
---|
85 | HMODULE16 WINAPI GetDriverModuleHandle16(HDRVR16);
|
---|
86 | HDRVR16 WINAPI GetNextDriver16(HDRVR16,DWORD);
|
---|
87 | BOOL16 WINAPI GetDriverInfo16(HDRVR16,DRIVERINFOSTRUCT16 *);
|
---|
88 |
|
---|
89 | typedef void (CALLBACK *LPDRVCALLBACK16) (HDRVR16,UINT16,DWORD,DWORD,DWORD);
|
---|
90 | typedef LPDRVCALLBACK16 LPWAVECALLBACK16;
|
---|
91 |
|
---|
92 | UINT16 WINAPI mmsystemGetVersion16(void);
|
---|
93 | BOOL16 WINAPI sndPlaySound16(LPCSTR,UINT16);
|
---|
94 |
|
---|
95 | typedef struct {
|
---|
96 | WORD wMid; /* manufacturer ID */
|
---|
97 | WORD wPid; /* product ID */
|
---|
98 | MMVERSION16 vDriverVersion; /* version of the driver */
|
---|
99 | CHAR szPname[MAXPNAMELEN]; /* product name (0 terminated string) */
|
---|
100 | DWORD dwFormats; /* formats supported */
|
---|
101 | WORD wChannels; /* number of sources supported */
|
---|
102 | DWORD dwSupport; /* functionality supported by driver */
|
---|
103 | } WAVEOUTCAPS16, *LPWAVEOUTCAPS16;
|
---|
104 |
|
---|
105 | typedef struct {
|
---|
106 | WORD wMid; /* manufacturer ID */
|
---|
107 | WORD wPid; /* product ID */
|
---|
108 | MMVERSION16 vDriverVersion; /* version of the driver */
|
---|
109 | CHAR szPname[MAXPNAMELEN]; /* product name (0 terminated string) */
|
---|
110 | DWORD dwFormats; /* formats supported */
|
---|
111 | WORD wChannels; /* number of channels supported */
|
---|
112 | } WAVEINCAPS16, *LPWAVEINCAPS16;
|
---|
113 |
|
---|
114 | typedef struct {
|
---|
115 | HWAVE16 hWave;
|
---|
116 | LPWAVEFORMATEX lpFormat;
|
---|
117 | DWORD dwCallback;
|
---|
118 | DWORD dwInstance;
|
---|
119 | UINT16 uMappedDeviceID;
|
---|
120 | DWORD dnDevNode;
|
---|
121 | } WAVEOPENDESC16, *LPWAVEOPENDESC16;
|
---|
122 |
|
---|
123 | UINT16 WINAPI waveOutGetNumDevs16(void);
|
---|
124 | UINT16 WINAPI waveOutGetDevCaps16(UINT16,LPWAVEOUTCAPS16,UINT16);
|
---|
125 | UINT16 WINAPI waveOutGetVolume16(UINT16,DWORD*);
|
---|
126 | UINT16 WINAPI waveOutSetVolume16(UINT16,DWORD);
|
---|
127 | UINT16 WINAPI waveOutGetErrorText16(UINT16,LPSTR,UINT16);
|
---|
128 | UINT16 WINAPI waveOutOpen16(HWAVEOUT16*,UINT16,const WAVEFORMATEX *,DWORD,DWORD,DWORD);
|
---|
129 | UINT16 WINAPI waveOutClose16(HWAVEOUT16);
|
---|
130 | UINT16 WINAPI waveOutPrepareHeader16(HWAVEOUT16,SEGPTR,UINT16);
|
---|
131 | UINT16 WINAPI waveOutUnprepareHeader16(HWAVEOUT16,SEGPTR,UINT16);
|
---|
132 | UINT16 WINAPI waveOutWrite16(HWAVEOUT16,WAVEHDR*,UINT16);
|
---|
133 | UINT16 WINAPI waveOutPause16(HWAVEOUT16);
|
---|
134 | UINT16 WINAPI waveOutRestart16(HWAVEOUT16);
|
---|
135 | UINT16 WINAPI waveOutReset16(HWAVEOUT16);
|
---|
136 | UINT16 WINAPI waveOutBreakLoop16(HWAVEOUT16);
|
---|
137 | UINT16 WINAPI waveOutGetPosition16(HWAVEOUT16,LPMMTIME16,UINT16);
|
---|
138 | UINT16 WINAPI waveOutGetPitch16(HWAVEOUT16,DWORD*);
|
---|
139 | UINT16 WINAPI waveOutSetPitch16(HWAVEOUT16,DWORD);
|
---|
140 | UINT16 WINAPI waveOutGetPlaybackRate16(HWAVEOUT16,DWORD*);
|
---|
141 | UINT16 WINAPI waveOutSetPlaybackRate16(HWAVEOUT16,DWORD);
|
---|
142 | UINT16 WINAPI waveOutGetID16(HWAVEOUT16,UINT16*);
|
---|
143 | DWORD WINAPI waveOutMessage16(HWAVEOUT16,UINT16,DWORD,DWORD);
|
---|
144 | UINT16 WINAPI waveInGetNumDevs16(void);
|
---|
145 | UINT16 WINAPI waveInGetDevCaps16(UINT16,LPWAVEINCAPS16,UINT16);
|
---|
146 | UINT16 WINAPI waveInGetErrorText16(UINT16,LPSTR,UINT16);
|
---|
147 | UINT16 WINAPI waveInOpen16(HWAVEIN16*,UINT16,const WAVEFORMATEX *,DWORD,DWORD,DWORD);
|
---|
148 | UINT16 WINAPI waveInClose16(HWAVEIN16);
|
---|
149 | UINT16 WINAPI waveInPrepareHeader16(HWAVEIN16,SEGPTR,UINT16);
|
---|
150 | UINT16 WINAPI waveInUnprepareHeader16(HWAVEIN16,SEGPTR,UINT16);
|
---|
151 | UINT16 WINAPI waveInAddBuffer16(HWAVEIN16,WAVEHDR*,UINT16);
|
---|
152 | UINT16 WINAPI waveInStart16(HWAVEIN16);
|
---|
153 | UINT16 WINAPI waveInStop16(HWAVEIN16);
|
---|
154 | UINT16 WINAPI waveInReset16(HWAVEIN16);
|
---|
155 | UINT16 WINAPI waveInGetPosition16(HWAVEIN16,LPMMTIME16,UINT16);
|
---|
156 | UINT16 WINAPI waveInGetID16(HWAVEIN16,UINT16*);
|
---|
157 | DWORD WINAPI waveInMessage16(HWAVEIN16,UINT16,DWORD,DWORD);
|
---|
158 |
|
---|
159 | typedef LPDRVCALLBACK16 LPMIDICALLBACK16;
|
---|
160 |
|
---|
161 | typedef struct {
|
---|
162 | WORD wMid; /* manufacturer ID */
|
---|
163 | WORD wPid; /* product ID */
|
---|
164 | MMVERSION16 vDriverVersion; /* version of the driver */
|
---|
165 | CHAR szPname[MAXPNAMELEN];/* product name (NULL terminated string) */
|
---|
166 | WORD wTechnology; /* type of device */
|
---|
167 | WORD wVoices; /* # of voices (internal synth only) */
|
---|
168 | WORD wNotes; /* max # of notes (internal synth only) */
|
---|
169 | WORD wChannelMask; /* channels used (internal synth only) */
|
---|
170 | DWORD dwSupport; /* functionality supported by driver */
|
---|
171 | } MIDIOUTCAPS16, *LPMIDIOUTCAPS16;
|
---|
172 |
|
---|
173 | typedef struct {
|
---|
174 | WORD wMid; /* manufacturer ID */
|
---|
175 | WORD wPid; /* product ID */
|
---|
176 | MMVERSION16 vDriverVersion; /* version of the driver */
|
---|
177 | CHAR szPname[MAXPNAMELEN];/* product name (NULL terminated string) */
|
---|
178 | DWORD dwSupport; /* included in win95 and higher */
|
---|
179 | } MIDIINCAPS16, *LPMIDIINCAPS16;
|
---|
180 |
|
---|
181 | typedef struct midihdr16_tag {
|
---|
182 | LPSTR lpData; /* pointer to locked data block */
|
---|
183 | DWORD dwBufferLength; /* length of data in data block */
|
---|
184 | DWORD dwBytesRecorded;/* used for input only */
|
---|
185 | DWORD dwUser; /* for client's use */
|
---|
186 | DWORD dwFlags; /* assorted flags (see defines) */
|
---|
187 | struct midihdr16_tag *lpNext; /* reserved for driver */
|
---|
188 | DWORD reserved; /* reserved for driver */
|
---|
189 | } MIDIHDR16, *LPMIDIHDR16;
|
---|
190 |
|
---|
191 | typedef struct {
|
---|
192 | HMIDI16 hMidi;
|
---|
193 | DWORD dwCallback;
|
---|
194 | DWORD dwInstance;
|
---|
195 | UINT16 reserved;
|
---|
196 | DWORD dnDevNode;
|
---|
197 | DWORD cIds;
|
---|
198 | MIDIOPENSTRMID rgIds;
|
---|
199 | } MIDIOPENDESC16, *LPMIDIOPENDESC16;
|
---|
200 |
|
---|
201 | UINT16 WINAPI midiOutGetNumDevs16(void);
|
---|
202 | UINT16 WINAPI midiOutGetDevCaps16(UINT16,LPMIDIOUTCAPS16,UINT16);
|
---|
203 | UINT16 WINAPI midiOutGetVolume16(UINT16,DWORD*);
|
---|
204 | UINT16 WINAPI midiOutSetVolume16(UINT16,DWORD);
|
---|
205 | UINT16 WINAPI midiOutGetErrorText16(UINT16,LPSTR,UINT16);
|
---|
206 | UINT16 WINAPI midiOutOpen16(HMIDIOUT16*,UINT16,DWORD,DWORD,DWORD);
|
---|
207 | UINT16 WINAPI midiOutClose16(HMIDIOUT16);
|
---|
208 | UINT16 WINAPI midiOutPrepareHeader16(HMIDIOUT16,SEGPTR,UINT16);
|
---|
209 | UINT16 WINAPI midiOutUnprepareHeader16(HMIDIOUT16,SEGPTR,UINT16);
|
---|
210 | UINT16 WINAPI midiOutShortMsg16(HMIDIOUT16,DWORD);
|
---|
211 | UINT16 WINAPI midiOutLongMsg16(HMIDIOUT16,MIDIHDR16*,UINT16);
|
---|
212 | UINT16 WINAPI midiOutReset16(HMIDIOUT16);
|
---|
213 | UINT16 WINAPI midiOutCachePatches16(HMIDIOUT16,UINT16,WORD*,UINT16);
|
---|
214 | UINT16 WINAPI midiOutCacheDrumPatches16(HMIDIOUT16,UINT16,WORD*,UINT16);
|
---|
215 | UINT16 WINAPI midiOutGetID16(HMIDIOUT16,UINT16*);
|
---|
216 | DWORD WINAPI midiOutMessage16(HMIDIOUT16,UINT16,DWORD,DWORD);
|
---|
217 | UINT16 WINAPI midiInGetNumDevs16(void);
|
---|
218 | UINT16 WINAPI midiInGetDevCaps16(UINT16,LPMIDIINCAPS16,UINT16);
|
---|
219 | UINT16 WINAPI midiInGetErrorText16(UINT16,LPSTR,UINT16);
|
---|
220 | UINT16 WINAPI midiInOpen16(HMIDIIN16*,UINT16,DWORD,DWORD,DWORD);
|
---|
221 | UINT16 WINAPI midiInClose16(HMIDIIN16);
|
---|
222 | UINT16 WINAPI midiInPrepareHeader16(HMIDIIN16,SEGPTR,UINT16);
|
---|
223 | UINT16 WINAPI midiInUnprepareHeader16(HMIDIIN16,SEGPTR,UINT16);
|
---|
224 | UINT16 WINAPI midiInAddBuffer16(HMIDIIN16,MIDIHDR16*,UINT16);
|
---|
225 | UINT16 WINAPI midiInStart16(HMIDIIN16);
|
---|
226 | UINT16 WINAPI midiInStop16(HMIDIIN16);
|
---|
227 | UINT16 WINAPI midiInReset16(HMIDIIN16);
|
---|
228 | UINT16 WINAPI midiInGetID16(HMIDIIN16,UINT16*);
|
---|
229 | DWORD WINAPI midiInMessage16(HMIDIIN16,UINT16,DWORD,DWORD);
|
---|
230 | MMRESULT16 WINAPI midiStreamClose16(HMIDISTRM16 hms);
|
---|
231 | MMRESULT16 WINAPI midiStreamOpen16(HMIDISTRM16*,LPUINT16,DWORD,DWORD,DWORD,DWORD);
|
---|
232 | MMRESULT16 WINAPI midiStreamOut16(HMIDISTRM16,LPMIDIHDR16,UINT16);
|
---|
233 | MMRESULT16 WINAPI midiStreamPause16(HMIDISTRM16);
|
---|
234 | MMRESULT16 WINAPI midiStreamPosition16(HMIDISTRM16,LPMMTIME16,UINT16);
|
---|
235 | MMRESULT16 WINAPI midiStreamProperty16(HMIDISTRM16,LPBYTE,DWORD);
|
---|
236 | MMRESULT16 WINAPI midiStreamRestart16(HMIDISTRM16);
|
---|
237 | MMRESULT16 WINAPI midiStreamStop16(HMIDISTRM16);
|
---|
238 |
|
---|
239 | typedef struct {
|
---|
240 | WORD wMid; /* manufacturer ID */
|
---|
241 | WORD wPid; /* product ID */
|
---|
242 | MMVERSION16 vDriverVersion; /* version of the driver */
|
---|
243 | CHAR szPname[MAXPNAMELEN]; /* product name (NULL terminated string) */
|
---|
244 | WORD wTechnology; /* type of device */
|
---|
245 | DWORD dwSupport; /* functionality supported by driver */
|
---|
246 | } AUXCAPS16, *LPAUXCAPS16;
|
---|
247 |
|
---|
248 | typedef void (CALLBACK *LPTIMECALLBACK16)(UINT16,UINT16,DWORD,DWORD,DWORD);
|
---|
249 |
|
---|
250 | typedef struct {
|
---|
251 | UINT16 wPeriodMin; /* minimum period supported */
|
---|
252 | UINT16 wPeriodMax; /* maximum period supported */
|
---|
253 | } TIMECAPS16,*LPTIMECAPS16;
|
---|
254 |
|
---|
255 | typedef struct {
|
---|
256 | WORD wMid; /* manufacturer ID */
|
---|
257 | WORD wPid; /* product ID */
|
---|
258 | char szPname[MAXPNAMELEN]; /* product name (NULL terminated string) */
|
---|
259 | UINT16 wXmin; /* minimum x position value */
|
---|
260 | UINT16 wXmax; /* maximum x position value */
|
---|
261 | UINT16 wYmin; /* minimum y position value */
|
---|
262 | UINT16 wYmax; /* maximum y position value */
|
---|
263 | UINT16 wZmin; /* minimum z position value */
|
---|
264 | UINT16 wZmax; /* maximum z position value */
|
---|
265 | UINT16 wNumButtons; /* number of buttons */
|
---|
266 | UINT16 wPeriodMin; /* minimum message period when captured */
|
---|
267 | UINT16 wPeriodMax; /* maximum message period when captured */
|
---|
268 | /* win95,nt4 additions: */
|
---|
269 | UINT16 wRmin; /* minimum r position value */
|
---|
270 | UINT16 wRmax; /* maximum r position value */
|
---|
271 | UINT16 wUmin; /* minimum u (5th axis) position value */
|
---|
272 | UINT16 wUmax; /* maximum u (5th axis) position value */
|
---|
273 | UINT16 wVmin; /* minimum v (6th axis) position value */
|
---|
274 | UINT16 wVmax; /* maximum v (6th axis) position value */
|
---|
275 | UINT16 wCaps; /* joystick capabilities */
|
---|
276 | UINT16 wMaxAxes; /* maximum number of axes supported */
|
---|
277 | UINT16 wNumAxes; /* number of axes in use */
|
---|
278 | UINT16 wMaxButtons; /* maximum number of buttons supported */
|
---|
279 | CHAR szRegKey[MAXPNAMELEN]; /* registry key */
|
---|
280 | CHAR szOEMVxD[MAX_JOYSTICKOEMVXDNAME]; /* OEM VxD in use */
|
---|
281 | } JOYCAPS16, *LPJOYCAPS16;
|
---|
282 |
|
---|
283 | typedef struct {
|
---|
284 | UINT16 wXpos; /* x position */
|
---|
285 | UINT16 wYpos; /* y position */
|
---|
286 | UINT16 wZpos; /* z position */
|
---|
287 | UINT16 wButtons; /* button states */
|
---|
288 | } JOYINFO16, *LPJOYINFO16;
|
---|
289 |
|
---|
290 | typedef struct {
|
---|
291 | WORD wMid; /* manufacturer id */
|
---|
292 | WORD wPid; /* product id */
|
---|
293 | MMVERSION16 vDriverVersion; /* version of the driver */
|
---|
294 | CHAR szPname[MAXPNAMELEN]; /* product name */
|
---|
295 | DWORD fdwSupport; /* misc. support bits */
|
---|
296 | DWORD cDestinations; /* count of destinations */
|
---|
297 | } MIXERCAPS16,*LPMIXERCAPS16;
|
---|
298 |
|
---|
299 | typedef struct tMIXEROPENDESC16
|
---|
300 | {
|
---|
301 | HMIXEROBJ16 hmx;
|
---|
302 | LPVOID pReserved0;
|
---|
303 | DWORD dwCallback;
|
---|
304 | DWORD dwInstance;
|
---|
305 | } MIXEROPENDESC16, *LPMIXEROPENDESC16;
|
---|
306 |
|
---|
307 | typedef struct {
|
---|
308 | DWORD cbStruct; /* size of MIXERLINE structure */
|
---|
309 | DWORD dwDestination; /* zero based destination index */
|
---|
310 | DWORD dwSource; /* zero based source index (if source) */
|
---|
311 | DWORD dwLineID; /* unique line id for mixer device */
|
---|
312 | DWORD fdwLine; /* state/information about line */
|
---|
313 | DWORD dwUser; /* driver specific information */
|
---|
314 | DWORD dwComponentType; /* component type line connects to */
|
---|
315 | DWORD cChannels; /* number of channels line supports */
|
---|
316 | DWORD cConnections; /* number of connections [possible] */
|
---|
317 | DWORD cControls; /* number of controls at this line */
|
---|
318 | CHAR szShortName[MIXER_SHORT_NAME_CHARS];
|
---|
319 | CHAR szName[MIXER_LONG_NAME_CHARS];
|
---|
320 | struct {
|
---|
321 | DWORD dwType; /* MIXERLINE_TARGETTYPE_xxxx */
|
---|
322 | DWORD dwDeviceID; /* target device ID of device type */
|
---|
323 | WORD wMid; /* of target device */
|
---|
324 | WORD wPid; /* " */
|
---|
325 | MMVERSION16 vDriverVersion; /* " */
|
---|
326 | CHAR szPname[MAXPNAMELEN]; /* " */
|
---|
327 | } Target;
|
---|
328 | } MIXERLINE16, *LPMIXERLINE16;
|
---|
329 |
|
---|
330 | typedef struct {
|
---|
331 | DWORD cbStruct; /* size in bytes of MIXERCONTROL */
|
---|
332 | DWORD dwControlID; /* unique control id for mixer device */
|
---|
333 | DWORD dwControlType; /* MIXERCONTROL_CONTROLTYPE_xxx */
|
---|
334 | DWORD fdwControl; /* MIXERCONTROL_CONTROLF_xxx */
|
---|
335 | DWORD cMultipleItems; /* if MIXERCONTROL_CONTROLF_MULTIPLE set */
|
---|
336 | CHAR szShortName[MIXER_SHORT_NAME_CHARS];
|
---|
337 | CHAR szName[MIXER_LONG_NAME_CHARS];
|
---|
338 | union {
|
---|
339 | struct {
|
---|
340 | LONG lMinimum; /* signed minimum for this control */
|
---|
341 | LONG lMaximum; /* signed maximum for this control */
|
---|
342 | } s;
|
---|
343 | struct {
|
---|
344 | DWORD dwMinimum; /* unsigned minimum for this control */
|
---|
345 | DWORD dwMaximum; /* unsigned maximum for this control */
|
---|
346 | } s1;
|
---|
347 | DWORD dwReserved[6];
|
---|
348 | } Bounds;
|
---|
349 | union {
|
---|
350 | DWORD cSteps; /* # of steps between min & max */
|
---|
351 | DWORD cbCustomData; /* size in bytes of custom data */
|
---|
352 | DWORD dwReserved[6]; /* !!! needed? we have cbStruct.... */
|
---|
353 | } Metrics;
|
---|
354 | } MIXERCONTROL16, *LPMIXERCONTROL16;
|
---|
355 |
|
---|
356 | typedef struct {
|
---|
357 | DWORD cbStruct; /* size in bytes of MIXERLINECONTROLS */
|
---|
358 | DWORD dwLineID; /* line id (from MIXERLINE.dwLineID) */
|
---|
359 | union {
|
---|
360 | DWORD dwControlID; /* MIXER_GETLINECONTROLSF_ONEBYID */
|
---|
361 | DWORD dwControlType; /* MIXER_GETLINECONTROLSF_ONEBYTYPE */
|
---|
362 | } u;
|
---|
363 | DWORD cControls; /* count of controls pmxctrl points to */
|
---|
364 | DWORD cbmxctrl; /* size in bytes of _one_ MIXERCONTROL */
|
---|
365 | SEGPTR pamxctrl; /* pointer to first MIXERCONTROL array */
|
---|
366 | } MIXERLINECONTROLS16, *LPMIXERLINECONTROLS16;
|
---|
367 |
|
---|
368 | typedef struct {
|
---|
369 | DWORD cbStruct; /* size in bytes of MIXERCONTROLDETAILS */
|
---|
370 | DWORD dwControlID; /* control id to get/set details on */
|
---|
371 | DWORD cChannels; /* number of channels in paDetails array */
|
---|
372 | union {
|
---|
373 | HWND16 hwndOwner; /* for MIXER_SETCONTROLDETAILSF_CUSTOM */
|
---|
374 | DWORD cMultipleItems; /* if _MULTIPLE, the number of items per channel */
|
---|
375 | } u;
|
---|
376 | DWORD cbDetails; /* size of _one_ details_XX struct */
|
---|
377 | LPVOID paDetails; /* pointer to array of details_XX structs */
|
---|
378 | } MIXERCONTROLDETAILS16,*LPMIXERCONTROLDETAILS16;
|
---|
379 |
|
---|
380 | typedef struct {
|
---|
381 | DWORD dwParam1;
|
---|
382 | DWORD dwParam2;
|
---|
383 | CHAR szName[MIXER_LONG_NAME_CHARS];
|
---|
384 | } MIXERCONTROLDETAILS_LISTTEXT16,*LPMIXERCONTROLDETAILS_LISTTEXT16;
|
---|
385 |
|
---|
386 | typedef LRESULT (CALLBACK *LPMMIOPROC16)(LPSTR lpmmioinfo,UINT16 uMessage,
|
---|
387 | LPARAM lParam1,LPARAM lParam2);
|
---|
388 |
|
---|
389 | typedef struct {
|
---|
390 | DWORD dwFlags; /* general status flags */
|
---|
391 | FOURCC fccIOProc; /* pointer to I/O procedure */
|
---|
392 | LPMMIOPROC16 pIOProc; /* pointer to I/O procedure */
|
---|
393 | UINT16 wErrorRet; /* place for error to be returned */
|
---|
394 | HTASK16 hTask; /* alternate local task */
|
---|
395 | /* fields maintained by MMIO functions during buffered I/O */
|
---|
396 | LONG cchBuffer; /* size of I/O buffer (or 0L) */
|
---|
397 | HPSTR pchBuffer; /* start of I/O buffer (or NULL) */
|
---|
398 | HPSTR pchNext; /* pointer to next byte to read/write */
|
---|
399 | HPSTR pchEndRead; /* pointer to last valid byte to read */
|
---|
400 | HPSTR pchEndWrite; /* pointer to last byte to write */
|
---|
401 | LONG lBufOffset; /* disk offset of start of buffer */
|
---|
402 | /* fields maintained by I/O procedure */
|
---|
403 | LONG lDiskOffset; /* disk offset of next read or write */
|
---|
404 | DWORD adwInfo[3]; /* data specific to type of MMIOPROC */
|
---|
405 | /* other fields maintained by MMIO */
|
---|
406 | DWORD dwReserved1; /* reserved for MMIO use */
|
---|
407 | DWORD dwReserved2; /* reserved for MMIO use */
|
---|
408 | HMMIO16 hmmio; /* handle to open file */
|
---|
409 | } MMIOINFO16, *LPMMIOINFO16;
|
---|
410 |
|
---|
411 | typedef UINT16 (CALLBACK *YIELDPROC16)(UINT16,DWORD);
|
---|
412 |
|
---|
413 | UINT16 WINAPI auxGetNumDevs16(void);
|
---|
414 | UINT16 WINAPI auxGetDevCaps16 (UINT16,LPAUXCAPS16,UINT16);
|
---|
415 | UINT16 WINAPI auxSetVolume16(UINT16,DWORD);
|
---|
416 | UINT16 WINAPI auxGetVolume16(UINT16,LPDWORD);
|
---|
417 | DWORD WINAPI auxOutMessage16(UINT16,UINT16,DWORD,DWORD);
|
---|
418 | MMRESULT16 WINAPI timeGetSystemTime16(LPMMTIME16,UINT16);
|
---|
419 | MMRESULT16 WINAPI timeSetEvent16(UINT16,UINT16,LPTIMECALLBACK16,DWORD,UINT16);
|
---|
420 | MMRESULT16 WINAPI timeKillEvent16(UINT16);
|
---|
421 | MMRESULT16 WINAPI timeGetDevCaps16(LPTIMECAPS16,UINT16);
|
---|
422 | MMRESULT16 WINAPI timeBeginPeriod16(UINT16);
|
---|
423 | MMRESULT16 WINAPI timeEndPeriod16(UINT16);
|
---|
424 | MMRESULT16 WINAPI joyGetDevCaps16 (UINT16,LPJOYCAPS16,UINT16);
|
---|
425 | UINT16 WINAPI joyGetNumDevs16(void);
|
---|
426 | MMRESULT16 WINAPI joyGetPos16(UINT16,LPJOYINFO16);
|
---|
427 | MMRESULT16 WINAPI joyGetPosEx16(UINT16,LPJOYINFOEX);
|
---|
428 | MMRESULT16 WINAPI joyGetThreshold16(UINT16,UINT16*);
|
---|
429 | MMRESULT16 WINAPI joyReleaseCapture16(UINT16);
|
---|
430 | MMRESULT16 WINAPI joySetCapture16(HWND16,UINT16,UINT16,BOOL16);
|
---|
431 | MMRESULT16 WINAPI joySetThreshold16(UINT16,UINT16);
|
---|
432 | UINT16 WINAPI mixerGetNumDevs16(void);
|
---|
433 | UINT16 WINAPI mixerOpen16(LPHMIXER16,UINT16,DWORD,DWORD,DWORD);
|
---|
434 | UINT16 WINAPI mixerClose16(HMIXER16);
|
---|
435 | DWORD WINAPI mixerMessage16(HMIXER16,UINT16,DWORD,DWORD);
|
---|
436 | UINT16 WINAPI mixerGetDevCaps16(UINT16,LPMIXERCAPS16,UINT16);
|
---|
437 | UINT16 WINAPI mixerGetLineInfo16(HMIXEROBJ16,LPMIXERLINE16,DWORD);
|
---|
438 | UINT16 WINAPI mixerGetID16(HMIXEROBJ16,LPUINT16,DWORD);
|
---|
439 | UINT16 WINAPI mixerGetLineControls16(HMIXEROBJ16,LPMIXERLINECONTROLS16,DWORD);
|
---|
440 | UINT16 WINAPI mixerGetControlDetails16(HMIXEROBJ16,LPMIXERCONTROLDETAILS16,DWORD);
|
---|
441 | UINT16 WINAPI mixerSetControlDetails16(HMIXEROBJ16,LPMIXERCONTROLDETAILS16,DWORD);
|
---|
442 | LPMMIOPROC16 WINAPI mmioInstallIOProc16(FOURCC,LPMMIOPROC16,DWORD);
|
---|
443 | FOURCC WINAPI mmioStringToFOURCC16(LPCSTR,UINT16);
|
---|
444 | HMMIO16 WINAPI mmioOpen16(LPSTR,MMIOINFO16*,DWORD);
|
---|
445 | UINT16 WINAPI mmioRename16(LPCSTR,LPCSTR,MMIOINFO16*,DWORD);
|
---|
446 | MMRESULT16 WINAPI mmioClose16(HMMIO16,UINT16);
|
---|
447 | LONG WINAPI mmioRead16(HMMIO16,HPSTR,LONG);
|
---|
448 | LONG WINAPI mmioWrite16(HMMIO16,HPCSTR,LONG);
|
---|
449 | LONG WINAPI mmioSeek16(HMMIO16,LONG,INT16);
|
---|
450 | MMRESULT16 WINAPI mmioGetInfo16(HMMIO16,MMIOINFO16*,UINT16);
|
---|
451 | MMRESULT16 WINAPI mmioSetInfo16(HMMIO16,const MMIOINFO16*,UINT16);
|
---|
452 | UINT16 WINAPI mmioSetBuffer16(HMMIO16,LPSTR,LONG,UINT16);
|
---|
453 | UINT16 WINAPI mmioFlush16(HMMIO16,UINT16);
|
---|
454 | UINT16 WINAPI mmioAdvance16(HMMIO16,MMIOINFO16*,UINT16);
|
---|
455 | LRESULT WINAPI mmioSendMessage16(HMMIO16,UINT16,LPARAM,LPARAM);
|
---|
456 | UINT16 WINAPI mmioDescend16(HMMIO16,MMCKINFO*,const MMCKINFO*,UINT16);
|
---|
457 | UINT16 WINAPI mmioAscend16(HMMIO16,MMCKINFO*,UINT16);
|
---|
458 | UINT16 WINAPI mmioCreateChunk16(HMMIO16,MMCKINFO*,UINT16);
|
---|
459 | DWORD WINAPI mciSendCommand16(UINT16,UINT16,DWORD,DWORD);
|
---|
460 | DWORD WINAPI mciSendString16(LPCSTR,LPSTR,UINT16,HWND16);
|
---|
461 | UINT16 WINAPI mciGetDeviceID16(LPCSTR);
|
---|
462 | UINT16 WINAPI mciGetDeviceIDFromElementID16(DWORD,LPCSTR);
|
---|
463 | BOOL16 WINAPI mciGetErrorString16 (DWORD,LPSTR,UINT16);
|
---|
464 | BOOL16 WINAPI mciSetYieldProc16(UINT16,YIELDPROC16,DWORD);
|
---|
465 | HTASK16 WINAPI mciGetCreatorTask16(UINT16);
|
---|
466 | YIELDPROC16 WINAPI mciGetYieldProc16(UINT16,DWORD*);
|
---|
467 | DWORD WINAPI mciGetDriverData16(UINT16 uDeviceID);
|
---|
468 | BOOL16 WINAPI mciSetDriverData16(UINT16 uDeviceID, DWORD dwData);
|
---|
469 | UINT16 WINAPI mciDriverYield16(UINT16 uDeviceID);
|
---|
470 | BOOL16 WINAPI mciDriverNotify16(HWND16 hwndCallback, UINT16 uDeviceID,
|
---|
471 | UINT16 uStatus);
|
---|
472 | UINT16 WINAPI mciLoadCommandResource16(HINSTANCE16 hInstance,
|
---|
473 | LPCSTR lpResName, UINT16 uType);
|
---|
474 | BOOL16 WINAPI mciFreeCommandResource16(UINT16 uTable);
|
---|
475 |
|
---|
476 | HINSTANCE16 WINAPI mmTaskCreate16(SEGPTR spProc, HINSTANCE16 *lphMmTask, DWORD dwPmt);
|
---|
477 | void WINAPI mmTaskBlock16(HINSTANCE16 hInst);
|
---|
478 | LRESULT WINAPI mmTaskSignal16(HTASK16 ht);
|
---|
479 | void WINAPI mmTaskYield16(void);
|
---|
480 | LRESULT WINAPI mmThreadCreate16(FARPROC16 fpThreadAddr, LPHANDLE16 lpHndl,
|
---|
481 | DWORD dwPmt, DWORD dwFlags);
|
---|
482 | void WINAPI mmThreadSignal16(HANDLE16 hndl);
|
---|
483 | void WINAPI mmThreadBlock16(HANDLE16 hndl);
|
---|
484 | HANDLE16 WINAPI mmThreadGetTask16(HANDLE16 hndl);
|
---|
485 | BOOL16 WINAPI mmThreadIsValid16(HANDLE16 hndl);
|
---|
486 | BOOL16 WINAPI mmThreadIsCurrent16(HANDLE16 hndl);
|
---|
487 |
|
---|
488 | BOOL16 WINAPI DriverCallback16(DWORD dwCallBack, UINT16 uFlags, HANDLE16 hDev,
|
---|
489 | WORD wMsg, DWORD dwUser, DWORD dwParam1, DWORD dwParam2);
|
---|
490 |
|
---|
491 | typedef struct {
|
---|
492 | DWORD dwCallback;
|
---|
493 | WORD wDeviceID;
|
---|
494 | WORD wReserved0;
|
---|
495 | SEGPTR lpstrDeviceType;
|
---|
496 | SEGPTR lpstrElementName;
|
---|
497 | SEGPTR lpstrAlias;
|
---|
498 | } MCI_OPEN_PARMS16, *LPMCI_OPEN_PARMS16;
|
---|
499 |
|
---|
500 | typedef struct {
|
---|
501 | DWORD dwCallback;
|
---|
502 | SEGPTR lpstrReturn;
|
---|
503 | DWORD dwRetSize;
|
---|
504 | } MCI_INFO_PARMS16, *LPMCI_INFO_PARMS16;
|
---|
505 |
|
---|
506 | typedef struct {
|
---|
507 | DWORD dwCallback;
|
---|
508 | SEGPTR lpstrReturn;
|
---|
509 | DWORD dwRetSize;
|
---|
510 | DWORD dwNumber;
|
---|
511 | WORD wDeviceType;
|
---|
512 | WORD wReserved0;
|
---|
513 | } MCI_SYSINFO_PARMS16, *LPMCI_SYSINFO_PARMS16;
|
---|
514 |
|
---|
515 | typedef struct {
|
---|
516 | DWORD dwCallback;
|
---|
517 | UINT16 nVirtKey;
|
---|
518 | WORD wReserved0;
|
---|
519 | HWND16 hwndBreak;
|
---|
520 | WORD wReserved1;
|
---|
521 | } MCI_BREAK_PARMS16, *LPMCI_BREAK_PARMS16;
|
---|
522 |
|
---|
523 | typedef struct {
|
---|
524 | DWORD dwCallback;
|
---|
525 | LPCSTR lpfilename;
|
---|
526 | } MCI_LOAD_PARMS16, *LPMCI_LOAD_PARMS16;
|
---|
527 |
|
---|
528 | typedef struct {
|
---|
529 | DWORD dwCallback;
|
---|
530 | SEGPTR lpstrSoundName;
|
---|
531 | } MCI_SOUND_PARMS16, *LPMCI_SOUND_PARMS16;
|
---|
532 |
|
---|
533 | typedef struct {
|
---|
534 | DWORD dwCallback;
|
---|
535 | SEGPTR lpstrCommand;
|
---|
536 | } MCI_VD_ESCAPE_PARMS16, *LPMCI_VD_ESCAPE_PARMS16;
|
---|
537 |
|
---|
538 | typedef struct {
|
---|
539 | UINT16 wDeviceID; /* device ID */
|
---|
540 | SEGPTR lpstrParams; /* parameter string for entry in SYSTEM.INI */
|
---|
541 | UINT16 wCustomCommandTable; /* custom command table (0xFFFF if none)
|
---|
542 | * filled in by the driver */
|
---|
543 | UINT16 wType; /* driver type (filled in by the driver) */
|
---|
544 | } MCI_OPEN_DRIVER_PARMS16, *LPMCI_OPEN_DRIVER_PARMS16;
|
---|
545 |
|
---|
546 | typedef struct {
|
---|
547 | DWORD dwCallback;
|
---|
548 | MCIDEVICEID16 wDeviceID;
|
---|
549 | WORD wReserved0;
|
---|
550 | SEGPTR lpstrDeviceType;
|
---|
551 | SEGPTR lpstrElementName;
|
---|
552 | SEGPTR lpstrAlias;
|
---|
553 | DWORD dwBufferSeconds;
|
---|
554 | } MCI_WAVE_OPEN_PARMS16, *LPMCI_WAVE_OPEN_PARMS16;
|
---|
555 |
|
---|
556 | typedef struct {
|
---|
557 | DWORD dwCallback;
|
---|
558 | DWORD dwTimeFormat;
|
---|
559 | DWORD dwAudio;
|
---|
560 | UINT16 wInput;
|
---|
561 | UINT16 wReserved0;
|
---|
562 | UINT16 wOutput;
|
---|
563 | UINT16 wReserved1;
|
---|
564 | UINT16 wFormatTag;
|
---|
565 | UINT16 wReserved2;
|
---|
566 | UINT16 nChannels;
|
---|
567 | UINT16 wReserved3;
|
---|
568 | DWORD nSamplesPerSec;
|
---|
569 | DWORD nAvgBytesPerSec;
|
---|
570 | UINT16 nBlockAlign;
|
---|
571 | UINT16 wReserved4;
|
---|
572 | UINT16 wBitsPerSample;
|
---|
573 | UINT16 wReserved5;
|
---|
574 | } MCI_WAVE_SET_PARMS16, * LPMCI_WAVE_SET_PARMS16;
|
---|
575 |
|
---|
576 | typedef struct {
|
---|
577 | DWORD dwCallback;
|
---|
578 | UINT16 wDeviceID;
|
---|
579 | UINT16 wReserved0;
|
---|
580 | SEGPTR lpstrDeviceType;
|
---|
581 | SEGPTR lpstrElementName;
|
---|
582 | SEGPTR lpstrAlias;
|
---|
583 | DWORD dwStyle;
|
---|
584 | HWND16 hWndParent;
|
---|
585 | UINT16 wReserved1;
|
---|
586 | } MCI_ANIM_OPEN_PARMS16, *LPMCI_ANIM_OPEN_PARMS16;
|
---|
587 |
|
---|
588 | typedef struct {
|
---|
589 | DWORD dwCallback;
|
---|
590 | HWND16 hWnd;
|
---|
591 | WORD wReserved1;
|
---|
592 | WORD nCmdShow;
|
---|
593 | WORD wReserved2;
|
---|
594 | LPCSTR lpstrText;
|
---|
595 | } MCI_ANIM_WINDOW_PARMS16, *LPMCI_ANIM_WINDOW_PARMS16;
|
---|
596 |
|
---|
597 | typedef struct {
|
---|
598 | DWORD dwCallback;
|
---|
599 | #ifdef MCI_USE_OFFEXT
|
---|
600 | POINT16 ptOffset;
|
---|
601 | POINT16 ptExtent;
|
---|
602 | #else /* ifdef MCI_USE_OFFEXT */
|
---|
603 | RECT16 rc;
|
---|
604 | #endif /* ifdef MCI_USE_OFFEXT */
|
---|
605 | } MCI_ANIM_RECT_PARMS16, *LPMCI_ANIM_RECT_PARMS16;
|
---|
606 |
|
---|
607 | typedef struct {
|
---|
608 | DWORD dwCallback;
|
---|
609 | RECT16 rc;
|
---|
610 | HDC16 hDC;
|
---|
611 | } MCI_ANIM_UPDATE_PARMS16, *LPMCI_ANIM_UPDATE_PARMS16;
|
---|
612 |
|
---|
613 | typedef struct {
|
---|
614 | DWORD dwCallback;
|
---|
615 | MCIDEVICEID16 wDeviceID;
|
---|
616 | WORD wReserved0;
|
---|
617 | LPCSTR lpstrDeviceType;
|
---|
618 | LPCSTR lpstrElementName;
|
---|
619 | LPCSTR lpstrAlias;
|
---|
620 | DWORD dwStyle;
|
---|
621 | HWND16 hWndParent;
|
---|
622 | WORD wReserved1;
|
---|
623 | } MCI_OVLY_OPEN_PARMS16, *LPMCI_OVLY_OPEN_PARMS16;
|
---|
624 |
|
---|
625 | typedef struct {
|
---|
626 | DWORD dwCallback;
|
---|
627 | HWND16 hWnd;
|
---|
628 | WORD wReserved1;
|
---|
629 | UINT16 nCmdShow;
|
---|
630 | WORD wReserved2;
|
---|
631 | LPCSTR lpstrText;
|
---|
632 | } MCI_OVLY_WINDOW_PARMS16, *LPMCI_OVLY_WINDOW_PARMS16;
|
---|
633 |
|
---|
634 | typedef struct {
|
---|
635 | DWORD dwCallback;
|
---|
636 | #ifdef MCI_USE_OFFEXT
|
---|
637 | POINT16 ptOffset;
|
---|
638 | POINT16 ptExtent;
|
---|
639 | #else /* ifdef MCI_USE_OFFEXT */
|
---|
640 | RECT16 rc;
|
---|
641 | #endif /* ifdef MCI_USE_OFFEXT */
|
---|
642 | } MCI_OVLY_RECT_PARMS16, *LPMCI_OVLY_RECT_PARMS16;
|
---|
643 |
|
---|
644 | typedef struct {
|
---|
645 | DWORD dwCallback;
|
---|
646 | LPCSTR lpfilename;
|
---|
647 | RECT16 rc;
|
---|
648 | } MCI_OVLY_SAVE_PARMS16, *LPMCI_OVLY_SAVE_PARMS16;
|
---|
649 |
|
---|
650 | typedef struct {
|
---|
651 | DWORD dwCallback;
|
---|
652 | LPCSTR lpfilename;
|
---|
653 | RECT16 rc;
|
---|
654 | } MCI_OVLY_LOAD_PARMS16, *LPMCI_OVLY_LOAD_PARMS16;
|
---|
655 |
|
---|
656 | /* from digitalv / 16 bit */
|
---|
657 | typedef struct {
|
---|
658 | DWORD dwCallback;
|
---|
659 | RECT16 rc;
|
---|
660 | } MCI_DGV_RECT_PARMS16, *LPMCI_DGV_RECT_PARMS16;
|
---|
661 |
|
---|
662 | typedef struct {
|
---|
663 | DWORD dwCallback;
|
---|
664 | LPSTR lpstrFileName;
|
---|
665 | RECT16 rc;
|
---|
666 | } MCI_DGV_CAPTURE_PARMS16, *LPMCI_DGV_CAPTURE_PARMS16;
|
---|
667 |
|
---|
668 | typedef struct {
|
---|
669 | DWORD dwCallback;
|
---|
670 | DWORD dwFrom;
|
---|
671 | DWORD dwTo;
|
---|
672 | RECT16 rc;
|
---|
673 | DWORD dwAudioStream;
|
---|
674 | DWORD dwVideoStream;
|
---|
675 | } MCI_DGV_COPY_PARMS16, *LPMCI_DGV_COPY_PARMS16;
|
---|
676 |
|
---|
677 | typedef struct {
|
---|
678 | DWORD dwCallback;
|
---|
679 | DWORD dwFrom;
|
---|
680 | DWORD dwTo;
|
---|
681 | RECT16 rc;
|
---|
682 | DWORD dwAudioStream;
|
---|
683 | DWORD dwVideoStream;
|
---|
684 | } MCI_DGV_CUT_PARMS16, * LPMCI_DGV_CUT_PARMS16;
|
---|
685 |
|
---|
686 | typedef struct {
|
---|
687 | DWORD dwCallback;
|
---|
688 | DWORD dwFrom;
|
---|
689 | DWORD dwTo;
|
---|
690 | RECT16 rc;
|
---|
691 | DWORD dwAudioStream;
|
---|
692 | DWORD dwVideoStream;
|
---|
693 | } MCI_DGV_DELETE_PARMS16, * LPMCI_DGV_DELETE_PARMS16;
|
---|
694 |
|
---|
695 | typedef MCI_DGV_RECT_PARMS16 MCI_DGV_FREEZE_PARMS16, * LPMCI_DGV_FREEZE_PARMS16;
|
---|
696 |
|
---|
697 | typedef struct {
|
---|
698 | DWORD dwCallback;
|
---|
699 | LPSTR lpstrReturn;
|
---|
700 | DWORD dwRetSize;
|
---|
701 | DWORD dwItem;
|
---|
702 | } MCI_DGV_INFO_PARMS16, * LPMCI_DGV_INFO_PARMS16;
|
---|
703 |
|
---|
704 | typedef struct {
|
---|
705 | DWORD dwCallback;
|
---|
706 | LPSTR lpstrReturn;
|
---|
707 | DWORD dwLength;
|
---|
708 | DWORD dwNumber;
|
---|
709 | DWORD dwItem;
|
---|
710 | LPSTR lpstrAlgorithm;
|
---|
711 | } MCI_DGV_LIST_PARMS16, *LPMCI_DGV_LIST_PARMS16;
|
---|
712 |
|
---|
713 | typedef MCI_LOAD_PARMS16 MCI_DGV_LOAD_PARMS16 , * LPMCI_DGV_LOAD_PARMS16;
|
---|
714 |
|
---|
715 | typedef struct {
|
---|
716 | DWORD dwCallback;
|
---|
717 | UINT16 wDeviceID;
|
---|
718 | UINT16 wReserved0;
|
---|
719 | LPSTR lpstrDeviceType;
|
---|
720 | LPSTR lpstrElementName;
|
---|
721 | LPSTR lpstrAlias;
|
---|
722 | DWORD dwStyle;
|
---|
723 | HWND16 hWndParent;
|
---|
724 | UINT16 wReserved1;
|
---|
725 | } MCI_DGV_OPEN_PARMS16, *LPMCI_DGV_OPEN_PARMS16;
|
---|
726 |
|
---|
727 | typedef struct {
|
---|
728 | DWORD dwCallback;
|
---|
729 | DWORD dwTo;
|
---|
730 | RECT16 rc;
|
---|
731 | DWORD dwAudioStream;
|
---|
732 | DWORD dwVideoStream;
|
---|
733 | } MCI_DGV_PASTE_PARMS16, * LPMCI_DGV_PASTE_PARMS16;
|
---|
734 |
|
---|
735 | typedef MCI_DGV_RECT_PARMS16 MCI_DGV_PUT_PARMS16, * LPMCI_DGV_PUT_PARMS16;
|
---|
736 |
|
---|
737 | typedef struct {
|
---|
738 | DWORD dwCallback;
|
---|
739 | DWORD dwItem;
|
---|
740 | LPSTR lpstrName;
|
---|
741 | DWORD lpstrAlgorithm;
|
---|
742 | DWORD dwHandle;
|
---|
743 | } MCI_DGV_QUALITY_PARMS16, *LPMCI_DGV_QUALITY_PARMS16;
|
---|
744 |
|
---|
745 | typedef struct {
|
---|
746 | DWORD dwCallback;
|
---|
747 | DWORD dwFrom;
|
---|
748 | DWORD dwTo;
|
---|
749 | RECT16 rc;
|
---|
750 | DWORD dwAudioStream;
|
---|
751 | DWORD dwVideoStream;
|
---|
752 | } MCI_DGV_RECORD_PARMS16, * LPMCI_DGV_RECORD_PARMS16;
|
---|
753 |
|
---|
754 | typedef struct {
|
---|
755 | DWORD dwCallback;
|
---|
756 | LPSTR lpstrPath;
|
---|
757 | DWORD dwSize;
|
---|
758 | } MCI_DGV_RESERVE_PARMS16, *LPMCI_DGV_RESERVE_PARMS16A;
|
---|
759 |
|
---|
760 | typedef struct {
|
---|
761 | DWORD dwCallback;
|
---|
762 | LPSTR lpstrFileName;
|
---|
763 | RECT16 rc;
|
---|
764 | } MCI_DGV_RESTORE_PARMS16, *LPMCI_DGV_RESTORE_PARMS16;
|
---|
765 |
|
---|
766 | typedef struct {
|
---|
767 | DWORD dwCallback;
|
---|
768 | LPSTR lpstrFileName;
|
---|
769 | RECT16 rc;
|
---|
770 | } MCI_DGV_SAVE_PARMS16, *LPMCI_DGV_SAVE_PARMS16;
|
---|
771 |
|
---|
772 | typedef struct {
|
---|
773 | DWORD dwCallback;
|
---|
774 | DWORD dwItem;
|
---|
775 | DWORD dwValue;
|
---|
776 | DWORD dwOver;
|
---|
777 | LPSTR lpstrAlgorithm;
|
---|
778 | LPSTR lpstrQuality;
|
---|
779 | } MCI_DGV_SETAUDIO_PARMS16, *LPMCI_DGV_SETAUDIO_PARMS16;
|
---|
780 |
|
---|
781 | typedef struct {
|
---|
782 | DWORD dwCallback;
|
---|
783 | DWORD dwItem;
|
---|
784 | DWORD dwValue;
|
---|
785 | DWORD dwOver;
|
---|
786 | LPSTR lpstrAlgorithm;
|
---|
787 | LPSTR lpstrQuality;
|
---|
788 | DWORD dwSourceNumber;
|
---|
789 | } MCI_DGV_SETVIDEO_PARMS16, *LPMCI_DGV_SETVIDEO_PARMS16;
|
---|
790 |
|
---|
791 | typedef struct {
|
---|
792 | DWORD dwCallback;
|
---|
793 | DWORD dwReturn;
|
---|
794 | DWORD dwItem;
|
---|
795 | DWORD dwTrack;
|
---|
796 | SEGPTR lpstrDrive;
|
---|
797 | DWORD dwReference;
|
---|
798 | } MCI_DGV_STATUS_PARMS16, *LPMCI_DGV_STATUS_PARMS16;
|
---|
799 |
|
---|
800 | typedef struct {
|
---|
801 | DWORD dwCallback;
|
---|
802 | RECT16 rc;
|
---|
803 | HDC16 hDC;
|
---|
804 | UINT16 wReserved0;
|
---|
805 | } MCI_DGV_UPDATE_PARMS16, * LPMCI_DGV_UPDATE_PARMS16;
|
---|
806 |
|
---|
807 | typedef MCI_DGV_RECT_PARMS16 MCI_DGV_UNFREEZE_PARMS16, * LPMCI_DGV_UNFREEZE_PARMS16;
|
---|
808 |
|
---|
809 | typedef MCI_DGV_RECT_PARMS16 MCI_DGV_WHERE_PARMS16, * LPMCI_DGV_WHERE_PARMS16;
|
---|
810 |
|
---|
811 | typedef struct {
|
---|
812 | DWORD dwCallback;
|
---|
813 | HWND16 hWnd;
|
---|
814 | UINT16 wReserved1;
|
---|
815 | UINT16 nCmdShow;
|
---|
816 | UINT16 wReserved2;
|
---|
817 | LPSTR lpstrText;
|
---|
818 | } MCI_DGV_WINDOW_PARMS16, *LPMCI_DGV_WINDOW_PARMS16;
|
---|
819 |
|
---|
820 | #include <poppack.h>
|
---|
821 |
|
---|
822 | #endif /* __WINE_WINE_MMSYSTEM16_H */
|
---|