VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/digitalv.h@ 33282

Last change on this file since 33282 was 16477, checked in by vboxsync, 16 years ago

LGPL disclaimer by filemuncher

  • Property svn:eol-style set to native
File size: 29.4 KB
Line 
1/*
2 * Copyright (C) 1999 Eric Pouech
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef __WINE_DIGITALV_H
29#define __WINE_DIGITALV_H
30
31/*
32 * Wine Digital Video extensions
33 */
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39#define MCI_TEST 0x00000020L
40
41/* Message values */
42
43#define MCI_CAPTURE 0x0870
44#define MCI_MONITOR 0x0871
45#define MCI_RESERVE 0x0872
46#define MCI_SETAUDIO 0x0873
47#define MCI_SIGNAL 0x0875
48#define MCI_SETVIDEO 0x0876
49#define MCI_QUALITY 0x0877
50#define MCI_LIST 0x0878
51#define MCI_UNDO 0x0879
52#define MCI_CONFIGURE 0x087A
53#define MCI_RESTORE 0x087B
54
55/* Return and string constant values */
56
57#define MCI_ON 1
58#define MCI_OFF 0
59
60#define MCI_DGV_FILE_MODE_SAVING 0x0001
61#define MCI_DGV_FILE_MODE_LOADING 0x0002
62#define MCI_DGV_FILE_MODE_EDITING 0x0003
63#define MCI_DGV_FILE_MODE_IDLE 0x0004
64
65/* These identifiers are used only by device drivers */
66
67#define MCI_ON_S 0x00008000L
68#define MCI_OFF_S 0x00008001L
69#define MCI_DGV_FILE_S 0x00008002L
70#define MCI_DGV_INPUT_S 0x00008003L
71
72#define MCI_DGV_FILE_MODE_SAVING_S 0x00008004L
73#define MCI_DGV_FILE_MODE_LOADING_S 0x00008005L
74#define MCI_DGV_FILE_MODE_EDITING_S 0x00008006L
75#define MCI_DGV_FILE_MODE_IDLE_S 0x00008007L
76
77#define MCI_DGV_SETVIDEO_SRC_NTSC_S 0x00008010L
78#define MCI_DGV_SETVIDEO_SRC_RGB_S 0x00008011L
79#define MCI_DGV_SETVIDEO_SRC_SVIDEO_S 0x00008012L
80#define MCI_DGV_SETVIDEO_SRC_PAL_S 0x00008013L
81#define MCI_DGV_SETVIDEO_SRC_SECAM_S 0x00008014L
82#define MCI_DGV_SETVIDEO_SRC_GENERIC_S 0x00008015L
83
84#define MCI_DGV_SETAUDIO_SRC_LEFT_S 0x00008020L
85#define MCI_DGV_SETAUDIO_SRC_RIGHT_S 0x00008021L
86#define MCI_DGV_SETAUDIO_SRC_AVERAGE_S 0x00008022L
87#define MCI_DGV_SETAUDIO_SRC_STEREO_S 0x00008023L
88
89/* Window message for signal notification */
90
91#ifndef MM_MCISIGNAL
92#define MM_MCISIGNAL 0x3CB
93#endif
94
95/* error values */
96
97#define MCIERR_DGV_DEVICE_LIMIT (MCIERR_CUSTOM_DRIVER_BASE+0)
98#define MCIERR_DGV_IOERR (MCIERR_CUSTOM_DRIVER_BASE+1)
99#define MCIERR_DGV_WORKSPACE_EMPTY (MCIERR_CUSTOM_DRIVER_BASE+2)
100#define MCIERR_DGV_DISK_FULL (MCIERR_CUSTOM_DRIVER_BASE+3)
101#define MCIERR_DGV_DEVICE_MEMORY_FULL (MCIERR_CUSTOM_DRIVER_BASE+4)
102#define MCIERR_DGV_BAD_CLIPBOARD_RANGE (MCIERR_CUSTOM_DRIVER_BASE+5)
103
104/* defines for monitor methods */
105
106#define MCI_DGV_METHOD_PRE 0x0000a000L
107#define MCI_DGV_METHOD_POST 0x0000a001L
108#define MCI_DGV_METHOD_DIRECT 0x0000a002L
109
110/* defines for known file formats */
111
112#define MCI_DGV_FF_AVSS 0x00004000L
113#define MCI_DGV_FF_AVI 0x00004001L
114#define MCI_DGV_FF_DIB 0x00004002L
115#define MCI_DGV_FF_RDIB 0x00004003L
116#define MCI_DGV_FF_JPEG 0x00004004L
117#define MCI_DGV_FF_RJPEG 0x00004005L
118#define MCI_DGV_FF_JFIF 0x00004006L
119#define MCI_DGV_FF_MPEG 0x00004007L
120
121/* values for dwItem field of MCI_CAPABILITY_PARMS structure */
122
123#define MCI_DGV_GETDEVCAPS_CAN_LOCK 0x00004000L
124#define MCI_DGV_GETDEVCAPS_CAN_STRETCH 0x00004001L
125#define MCI_DGV_GETDEVCAPS_CAN_FREEZE 0x00004002L
126#define MCI_DGV_GETDEVCAPS_MAX_WINDOWS 0x00004003L
127#define MCI_DGV_GETDEVCAPS_CAN_REVERSE 0x00004004L
128#define MCI_DGV_GETDEVCAPS_HAS_STILL 0x00004005L
129#define MCI_DGV_GETDEVCAPS_PALETTES 0x00004006L
130#define MCI_DGV_GETDEVCAPS_CAN_STR_IN 0x00004008L
131#define MCI_DGV_GETDEVCAPS_CAN_TEST 0x00004009L
132#define MCI_DGV_GETDEVCAPS_MAXIMUM_RATE 0x0000400aL
133#define MCI_DGV_GETDEVCAPS_MINIMUM_RATE 0x0000400bL
134
135/* flags for dwFlags parameter of MCI_CAPTURE command message */
136
137#define MCI_DGV_CAPTURE_AS 0x00010000L
138#define MCI_DGV_CAPTURE_AT 0x00020000L
139
140/* flags for dwFlags parameter of MCI_COPY command message */
141
142#define MCI_DGV_COPY_AT 0x00010000L
143#define MCI_DGV_COPY_AUDIO_STREAM 0x00020000L
144#define MCI_DGV_COPY_VIDEO_STREAM 0x00040000L
145
146/* flags for dwFlags parameter of MCI_CUE command message */
147
148#define MCI_DGV_CUE_INPUT 0x00010000L
149#define MCI_DGV_CUE_OUTPUT 0x00020000L
150#define MCI_DGV_CUE_NOSHOW 0x00040000L
151
152/* flags for dwFlags parameter of MCI_CUT command message */
153
154#define MCI_DGV_CUT_AT 0x00010000L
155#define MCI_DGV_CUT_AUDIO_STREAM 0x00020000L
156#define MCI_DGV_CUT_VIDEO_STREAM 0x00040000L
157
158/* flags for dwFlags parameter of MCI_DELETE command message */
159
160#define MCI_DGV_DELETE_AT 0x00010000L
161#define MCI_DGV_DELETE_AUDIO_STREAM 0x00020000L
162#define MCI_DGV_DELETE_VIDEO_STREAM 0x00040000L
163
164/* flags for dwFlags parameter of MCI_FREEZE command message */
165
166#define MCI_DGV_FREEZE_AT 0x00010000L
167#define MCI_DGV_FREEZE_OUTSIDE 0x00020000L
168
169/* flags for dwFlags parameter of MCI_INFO command message */
170
171#define MCI_DGV_INFO_TEXT 0x00010000L
172#define MCI_DGV_INFO_ITEM 0X00020000L
173
174/* values for dwItem field of MCI_DGV_INFO_PARMS structure */
175
176#define MCI_INFO_VERSION 0x00000400L
177
178#define MCI_DGV_INFO_USAGE 0x00004000L
179#define MCI_DGV_INFO_AUDIO_QUALITY 0x00004001L
180#define MCI_DGV_INFO_STILL_QUALITY 0x00004002L
181#define MCI_DGV_INFO_VIDEO_QUALITY 0x00004003L
182#define MCI_DGV_INFO_AUDIO_ALG 0x00004004L
183#define MCI_DGV_INFO_STILL_ALG 0x00004005L
184#define MCI_DGV_INFO_VIDEO_ALG 0x00004006L
185
186/* flags for dwFlags parameter of MCI_LIST command message */
187
188#define MCI_DGV_LIST_ITEM 0x00010000L
189#define MCI_DGV_LIST_COUNT 0x00020000L
190#define MCI_DGV_LIST_NUMBER 0x00040000L
191#define MCI_DGV_LIST_ALG 0x00080000L
192
193/* values for dwItem field of MCI_DGV_LIST_PARMS structure */
194
195#define MCI_DGV_LIST_AUDIO_ALG 0x00004000L
196#define MCI_DGV_LIST_AUDIO_QUALITY 0x00004001L
197#define MCI_DGV_LIST_AUDIO_STREAM 0x00004002L
198#define MCI_DGV_LIST_STILL_ALG 0x00004003L
199#define MCI_DGV_LIST_STILL_QUALITY 0x00004004L
200#define MCI_DGV_LIST_VIDEO_ALG 0x00004005L
201#define MCI_DGV_LIST_VIDEO_QUALITY 0x00004006L
202#define MCI_DGV_LIST_VIDEO_STREAM 0x00004007L
203#define MCI_DGV_LIST_VIDEO_SOURCE 0x00004008L
204
205
206/* flags for dwFlags parameter of MCI_MONITOR command message */
207
208#define MCI_DGV_MONITOR_METHOD 0x00010000L
209#define MCI_DGV_MONITOR_SOURCE 0x00020000L
210
211/* values for dwSource parameter of the MCI_DGV_MONITOR_PARMS structure */
212
213#define MCI_DGV_MONITOR_INPUT 0x00004000L
214#define MCI_DGV_MONITOR_FILE 0x00004001L
215
216/* flags for dwFlags parameter of MCI_OPEN command message */
217
218#define MCI_DGV_OPEN_WS 0x00010000L
219#define MCI_DGV_OPEN_PARENT 0x00020000L
220#define MCI_DGV_OPEN_NOSTATIC 0x00040000L
221#define MCI_DGV_OPEN_16BIT 0x00080000L
222#define MCI_DGV_OPEN_32BIT 0x00100000L
223
224/* flags for dwFlags parameter of MCI_PASTE command message */
225
226#define MCI_DGV_PASTE_AT 0x00010000L
227#define MCI_DGV_PASTE_AUDIO_STREAM 0x00020000L
228#define MCI_DGV_PASTE_VIDEO_STREAM 0x00040000L
229#define MCI_DGV_PASTE_INSERT 0x00080000L
230#define MCI_DGV_PASTE_OVERWRITE 0x00100000L
231
232/* flags for dwFlags parameter of MCI_PLAY command message */
233
234#define MCI_DGV_PLAY_REPEAT 0x00010000L
235#define MCI_DGV_PLAY_REVERSE 0x00020000L
236
237/* flags for dwFlags parameter of MCI_PUT command message */
238
239#define MCI_DGV_RECT 0x00010000L
240#define MCI_DGV_PUT_SOURCE 0x00020000L
241#define MCI_DGV_PUT_DESTINATION 0x00040000L
242#define MCI_DGV_PUT_FRAME 0x00080000L
243#define MCI_DGV_PUT_VIDEO 0x00100000L
244#define MCI_DGV_PUT_WINDOW 0x00200000L
245#define MCI_DGV_PUT_CLIENT 0x00400000L
246
247/* flags for dwFlags parameter of MCI_QUALITY command message */
248
249#define MCI_QUALITY_ITEM 0x00010000L
250#define MCI_QUALITY_NAME 0x00020000L
251#define MCI_QUALITY_ALG 0x00040000L
252#define MCI_QUALITY_DIALOG 0x00080000L
253#define MCI_QUALITY_HANDLE 0x00100000L
254
255/* values for dwItem field of MCI_QUALITY_PARMS structure */
256
257#define MCI_QUALITY_ITEM_AUDIO 0x00004000L
258#define MCI_QUALITY_ITEM_STILL 0x00004001L
259#define MCI_QUALITY_ITEM_VIDEO 0x00004002L
260
261/* flags for dwFlags parameter of MCI_REALIZE command message */
262
263#define MCI_DGV_REALIZE_NORM 0x00010000L
264#define MCI_DGV_REALIZE_BKGD 0x00020000L
265
266/* flags for dwFlags parameter of MCI_RECORD command message */
267
268#define MCI_DGV_RECORD_HOLD 0x00020000L
269#define MCI_DGV_RECORD_AUDIO_STREAM 0x00040000L
270#define MCI_DGV_RECORD_VIDEO_STREAM 0x00080000L
271
272/* flags for dwFlags parameters of MCI_RESERVE command message */
273
274#define MCI_DGV_RESERVE_IN 0x00010000L
275#define MCI_DGV_RESERVE_SIZE 0x00020000L
276
277/* flags for dwFlags parameter of MCI_RESTORE command message */
278
279#define MCI_DGV_RESTORE_FROM 0x00010000L
280#define MCI_DGV_RESTORE_AT 0x00020000L
281
282/* flags for dwFlags parameters of MCI_SAVE command message */
283
284#define MCI_DGV_SAVE_ABORT 0x00020000L
285#define MCI_DGV_SAVE_KEEPRESERVE 0x00040000L
286
287/* flags for dwFlags parameters of MCI_SET command message */
288
289#define MCI_DGV_SET_SEEK_EXACTLY 0x00010000L
290#define MCI_DGV_SET_SPEED 0x00020000L
291#define MCI_DGV_SET_STILL 0x00040000L
292#define MCI_DGV_SET_FILEFORMAT 0x00080000L
293
294/* flags for the dwFlags parameter of MCI_SETAUDIO command message */
295
296#define MCI_DGV_SETAUDIO_OVER 0x00010000L
297#define MCI_DGV_SETAUDIO_CLOCKTIME 0x00020000L
298#define MCI_DGV_SETAUDIO_ALG 0x00040000L
299#define MCI_DGV_SETAUDIO_QUALITY 0x00080000L
300#define MCI_DGV_SETAUDIO_RECORD 0x00100000L
301#define MCI_DGV_SETAUDIO_LEFT 0x00200000L
302#define MCI_DGV_SETAUDIO_RIGHT 0x00400000L
303#define MCI_DGV_SETAUDIO_ITEM 0x00800000L
304#define MCI_DGV_SETAUDIO_VALUE 0x01000000L
305#define MCI_DGV_SETAUDIO_INPUT 0x02000000L
306#define MCI_DGV_SETAUDIO_OUTPUT 0x04000000L
307
308/* values for the dwItem parameter of MCI_DGV_SETAUDIO_PARMS */
309
310#define MCI_DGV_SETAUDIO_TREBLE 0x00004000L
311#define MCI_DGV_SETAUDIO_BASS 0x00004001L
312#define MCI_DGV_SETAUDIO_VOLUME 0x00004002L
313#define MCI_DGV_SETAUDIO_STREAM 0x00004003L
314#define MCI_DGV_SETAUDIO_SOURCE 0x00004004L
315#define MCI_DGV_SETAUDIO_SAMPLESPERSEC 0x00004005L
316#define MCI_DGV_SETAUDIO_AVGBYTESPERSEC 0x00004006L
317#define MCI_DGV_SETAUDIO_BLOCKALIGN 0x00004007L
318#define MCI_DGV_SETAUDIO_BITSPERSAMPLE 0x00004008L
319
320/* values for the dwValue parameter of MCI_DGV_SETAUDIO_PARMS
321 used with MCI_DGV_SETAUDIO_SOURCE */
322
323#define MCI_DGV_SETAUDIO_SOURCE_STEREO 0x00000000L
324#define MCI_DGV_SETAUDIO_SOURCE_LEFT 0x00000001L
325#define MCI_DGV_SETAUDIO_SOURCE_RIGHT 0x00000002L
326#define MCI_DGV_SETAUDIO_SOURCE_AVERAGE 0x00004000L
327
328/* flags for the dwFlags parameter of MCI_SETVIDEO command */
329
330#define MCI_DGV_SETVIDEO_QUALITY 0x00010000L
331#define MCI_DGV_SETVIDEO_ALG 0x00020000L
332#define MCI_DGV_SETVIDEO_CLOCKTIME 0x00040000L
333#define MCI_DGV_SETVIDEO_SRC_NUMBER 0x00080000L
334#define MCI_DGV_SETVIDEO_ITEM 0x00100000L
335#define MCI_DGV_SETVIDEO_OVER 0x00200000L
336#define MCI_DGV_SETVIDEO_RECORD 0x00400000L
337#define MCI_DGV_SETVIDEO_STILL 0x00800000L
338#define MCI_DGV_SETVIDEO_VALUE 0x01000000L
339#define MCI_DGV_SETVIDEO_INPUT 0x02000000L
340#define MCI_DGV_SETVIDEO_OUTPUT 0x04000000L
341
342/* values for the dwTo field of MCI_SETVIDEO_PARMS
343 used with MCI_DGV_SETVIDEO_SOURCE */
344
345#define MCI_DGV_SETVIDEO_SRC_NTSC 0x00004000L
346#define MCI_DGV_SETVIDEO_SRC_RGB 0x00004001L
347#define MCI_DGV_SETVIDEO_SRC_SVIDEO 0x00004002L
348#define MCI_DGV_SETVIDEO_SRC_PAL 0x00004003L
349#define MCI_DGV_SETVIDEO_SRC_SECAM 0x00004004L
350#define MCI_DGV_SETVIDEO_SRC_GENERIC 0x00004005L
351
352/* values for the dwItem field of MCI_SETVIDEO_PARMS */
353
354#define MCI_DGV_SETVIDEO_BRIGHTNESS 0x00004000L
355#define MCI_DGV_SETVIDEO_COLOR 0x00004001L
356#define MCI_DGV_SETVIDEO_CONTRAST 0x00004002L
357#define MCI_DGV_SETVIDEO_TINT 0x00004003L
358#define MCI_DGV_SETVIDEO_SHARPNESS 0x00004004L
359#define MCI_DGV_SETVIDEO_GAMMA 0x00004005L
360#define MCI_DGV_SETVIDEO_STREAM 0x00004006L
361#define MCI_DGV_SETVIDEO_PALHANDLE 0x00004007L
362#define MCI_DGV_SETVIDEO_FRAME_RATE 0x00004008L
363#define MCI_DGV_SETVIDEO_SOURCE 0x00004009L
364#define MCI_DGV_SETVIDEO_KEY_INDEX 0x0000400aL
365#define MCI_DGV_SETVIDEO_KEY_COLOR 0x0000400bL
366#define MCI_DGV_SETVIDEO_BITSPERPEL 0x0000400cL
367
368/* flags for the dwFlags parameter of MCI_SIGNAL */
369
370#define MCI_DGV_SIGNAL_AT 0x00010000L
371#define MCI_DGV_SIGNAL_EVERY 0x00020000L
372#define MCI_DGV_SIGNAL_USERVAL 0x00040000L
373#define MCI_DGV_SIGNAL_CANCEL 0x00080000L
374#define MCI_DGV_SIGNAL_POSITION 0x00100000L
375
376/* flags for the dwFlags parameter of MCI_STATUS command */
377
378#define MCI_DGV_STATUS_NOMINAL 0x00020000L
379#define MCI_DGV_STATUS_REFERENCE 0x00040000L
380#define MCI_DGV_STATUS_LEFT 0x00080000L
381#define MCI_DGV_STATUS_RIGHT 0x00100000L
382#define MCI_DGV_STATUS_DISKSPACE 0x00200000L
383#define MCI_DGV_STATUS_INPUT 0x00400000L
384#define MCI_DGV_STATUS_OUTPUT 0x00800000L
385#define MCI_DGV_STATUS_RECORD 0x01000000L
386
387/* values for dwItem field of MCI_STATUS_PARMS structure */
388
389#define MCI_DGV_STATUS_AUDIO_INPUT 0x00004000L
390#define MCI_DGV_STATUS_HWND 0x00004001L
391#define MCI_DGV_STATUS_SPEED 0x00004003L
392#define MCI_DGV_STATUS_HPAL 0x00004004L
393#define MCI_DGV_STATUS_BRIGHTNESS 0x00004005L
394#define MCI_DGV_STATUS_COLOR 0x00004006L
395#define MCI_DGV_STATUS_CONTRAST 0x00004007L
396#define MCI_DGV_STATUS_FILEFORMAT 0x00004008L
397#define MCI_DGV_STATUS_AUDIO_SOURCE 0x00004009L
398#define MCI_DGV_STATUS_GAMMA 0x0000400aL
399#define MCI_DGV_STATUS_MONITOR 0x0000400bL
400#define MCI_DGV_STATUS_MONITOR_METHOD 0x0000400cL
401#define MCI_DGV_STATUS_FRAME_RATE 0x0000400eL
402#define MCI_DGV_STATUS_BASS 0x0000400fL
403#define MCI_DGV_STATUS_SIZE 0x00004010L
404#define MCI_DGV_STATUS_SEEK_EXACTLY 0x00004011L
405#define MCI_DGV_STATUS_SHARPNESS 0x00004012L
406#define MCI_DGV_STATUS_SMPTE 0x00004013L
407#define MCI_DGV_STATUS_AUDIO 0x00004014L
408#define MCI_DGV_STATUS_TINT 0x00004015L
409#define MCI_DGV_STATUS_TREBLE 0x00004016L
410#define MCI_DGV_STATUS_UNSAVED 0x00004017L
411#define MCI_DGV_STATUS_VIDEO 0x00004018L
412#define MCI_DGV_STATUS_VOLUME 0x00004019L
413#define MCI_DGV_STATUS_AUDIO_RECORD 0x0000401aL
414#define MCI_DGV_STATUS_VIDEO_SOURCE 0x0000401bL
415#define MCI_DGV_STATUS_VIDEO_RECORD 0x0000401cL
416#define MCI_DGV_STATUS_STILL_FILEFORMAT 0x0000401dL
417#define MCI_DGV_STATUS_VIDEO_SRC_NUM 0x0000401eL
418#define MCI_DGV_STATUS_FILE_MODE 0x0000401fL
419#define MCI_DGV_STATUS_FILE_COMPLETION 0x00004020L
420#define MCI_DGV_STATUS_WINDOW_VISIBLE 0x00004021L
421#define MCI_DGV_STATUS_WINDOW_MINIMIZED 0x00004022L
422#define MCI_DGV_STATUS_WINDOW_MAXIMIZED 0x00004023L
423#define MCI_DGV_STATUS_KEY_INDEX 0x00004024L
424#define MCI_DGV_STATUS_KEY_COLOR 0x00004025L
425#define MCI_DGV_STATUS_PAUSE_MODE 0x00004026L
426#define MCI_DGV_STATUS_SAMPLESPERSEC 0x00004027L
427#define MCI_DGV_STATUS_AVGBYTESPERSEC 0x00004028L
428#define MCI_DGV_STATUS_BLOCKALIGN 0x00004029L
429#define MCI_DGV_STATUS_BITSPERSAMPLE 0x0000402aL
430#define MCI_DGV_STATUS_BITSPERPEL 0x0000402bL
431#define MCI_DGV_STATUS_FORWARD 0x0000402cL
432#define MCI_DGV_STATUS_AUDIO_STREAM 0x0000402dL
433#define MCI_DGV_STATUS_VIDEO_STREAM 0x0000402eL
434
435/* flags for dwFlags parameter of MCI_STEP command message */
436
437#define MCI_DGV_STEP_REVERSE 0x00010000L
438#define MCI_DGV_STEP_FRAMES 0x00020000L
439
440/* flags for dwFlags parameter of MCI_STOP command message */
441
442#define MCI_DGV_STOP_HOLD 0x00010000L
443
444/* flags for dwFlags parameter of MCI_UPDATE command message */
445
446#define MCI_DGV_UPDATE_HDC 0x00020000L
447#define MCI_DGV_UPDATE_PAINT 0x00040000L
448
449/* flags for dwFlags parameter of MCI_WHERE command message */
450
451#define MCI_DGV_WHERE_SOURCE 0x00020000L
452#define MCI_DGV_WHERE_DESTINATION 0x00040000L
453#define MCI_DGV_WHERE_FRAME 0x00080000L
454#define MCI_DGV_WHERE_VIDEO 0x00100000L
455#define MCI_DGV_WHERE_WINDOW 0x00200000L
456#define MCI_DGV_WHERE_MAX 0x00400000L
457
458/* flags for dwFlags parameter of MCI_WINDOW command message */
459
460#define MCI_DGV_WINDOW_HWND 0x00010000L
461#define MCI_DGV_WINDOW_STATE 0x00040000L
462#define MCI_DGV_WINDOW_TEXT 0x00080000L
463
464/* flags for hWnd parameter of MCI_DGV_WINDOW_PARMS parameter block */
465
466#define MCI_DGV_WINDOW_DEFAULT 0x00000000L
467
468/* parameter block for MCI_WHERE, MCI_PUT, MCI_FREEZE, MCI_UNFREEZE cmds */
469
470typedef struct {
471 DWORD_PTR dwCallback;
472 RECT rc;
473} MCI_DGV_RECT_PARMS, *LPMCI_DGV_RECT_PARMS;
474
475/* parameter block for MCI_CAPTURE command message */
476
477typedef struct {
478 DWORD_PTR dwCallback;
479 LPSTR lpstrFileName;
480 RECT rc;
481} MCI_DGV_CAPTURE_PARMSA, *LPMCI_DGV_CAPTURE_PARMSA;
482
483typedef struct {
484 DWORD_PTR dwCallback;
485 LPWSTR lpstrFileName;
486 RECT rc;
487} MCI_DGV_CAPTURE_PARMSW, *LPMCI_DGV_CAPTURE_PARMSW;
488
489DECL_WINELIB_TYPE_AW(MCI_DGV_CAPTURE_PARMS)
490DECL_WINELIB_TYPE_AW(LPMCI_DGV_CAPTURE_PARMS)
491
492/* parameter block for MCI_CLOSE command message */
493
494typedef MCI_GENERIC_PARMS MCI_CLOSE_PARMS, *LPMCI_CLOSE_PARMS;
495
496/* parameter block for MCI_COPY command message */
497
498typedef struct {
499 DWORD_PTR dwCallback;
500 DWORD dwFrom;
501 DWORD dwTo;
502 RECT rc;
503 DWORD dwAudioStream;
504 DWORD dwVideoStream;
505} MCI_DGV_COPY_PARMS, *LPMCI_DGV_COPY_PARMS;
506
507/* parameter block for MCI_CUE command message */
508
509typedef struct {
510 DWORD_PTR dwCallback;
511 DWORD dwTo;
512} MCI_DGV_CUE_PARMS, *LPMCI_DGV_CUE_PARMS;
513
514/* parameter block for MCI_CUT command message */
515
516typedef struct {
517 DWORD_PTR dwCallback;
518 DWORD dwFrom;
519 DWORD dwTo;
520 RECT rc;
521 DWORD dwAudioStream;
522 DWORD dwVideoStream;
523} MCI_DGV_CUT_PARMS, * LPMCI_DGV_CUT_PARMS;
524
525/* parameter block for MCI_DELETE command message */
526
527typedef struct {
528 DWORD_PTR dwCallback;
529 DWORD dwFrom;
530 DWORD dwTo;
531 RECT rc;
532 DWORD dwAudioStream;
533 DWORD dwVideoStream;
534} MCI_DGV_DELETE_PARMS, * LPMCI_DGV_DELETE_PARMS;
535
536/* parameter block for MCI_FREEZE command message */
537
538typedef MCI_DGV_RECT_PARMS MCI_DGV_FREEZE_PARMS, * LPMCI_DGV_FREEZE_PARMS;
539
540/* parameter block for MCI_INFO command message */
541
542typedef struct {
543 DWORD_PTR dwCallback;
544 LPSTR lpstrReturn;
545 DWORD dwRetSize;
546 DWORD dwItem;
547} MCI_DGV_INFO_PARMSA, * LPMCI_DGV_INFO_PARMSA;
548
549typedef struct {
550 DWORD_PTR dwCallback;
551 LPWSTR lpstrReturn;
552 DWORD dwRetSize;
553 DWORD dwItem;
554} MCI_DGV_INFO_PARMSW, *LPMCI_DGV_INFO_PARMSW;
555
556DECL_WINELIB_TYPE_AW(MCI_DGV_INFO_PARMS)
557DECL_WINELIB_TYPE_AW(LPMCI_DGV_INFO_PARMS)
558
559/* parameter block for MCI_LIST command message */
560
561typedef struct {
562 DWORD_PTR dwCallback;
563 LPSTR lpstrReturn;
564 DWORD dwLength;
565 DWORD dwNumber;
566 DWORD dwItem;
567 LPSTR lpstrAlgorithm;
568} MCI_DGV_LIST_PARMSA, *LPMCI_DGV_LIST_PARMSA;
569
570typedef struct {
571 DWORD_PTR dwCallback;
572 LPWSTR lpstrReturn;
573 DWORD dwLength;
574 DWORD dwNumber;
575 DWORD dwItem;
576 LPWSTR lpstrAlgorithm;
577} MCI_DGV_LIST_PARMSW, *LPMCI_DGV_LIST_PARMSW;
578
579DECL_WINELIB_TYPE_AW(MCI_DGV_LIST_PARMS)
580DECL_WINELIB_TYPE_AW(LPMCI_DGV_LIST_PARMS)
581
582/* parameter block for MCI_LOAD command message */
583
584typedef MCI_LOAD_PARMSA MCI_DGV_LOAD_PARMSA, * LPMCI_DGV_LOAD_PARMSA;
585typedef MCI_LOAD_PARMSW MCI_DGV_LOAD_PARMSW, * LPMCI_DGV_LOAD_PARMSW;
586
587DECL_WINELIB_TYPE_AW(MCI_DGV_LOAD_PARMS)
588DECL_WINELIB_TYPE_AW(LPMCI_DGV_LOAD_PARMS)
589
590/* parameter block for MCI_MONITOR command message */
591
592typedef struct {
593 DWORD_PTR dwCallback;
594 DWORD dwSource;
595 DWORD dwMethod;
596} MCI_DGV_MONITOR_PARMS, * LPMCI_DGV_MONITOR_PARMS;
597
598/* parameter block for MCI_OPEN command message */
599
600typedef struct {
601 DWORD_PTR dwCallback;
602 UINT wDeviceID;
603 LPSTR lpstrDeviceType;
604 LPSTR lpstrElementName;
605 LPSTR lpstrAlias;
606 DWORD dwStyle;
607 HWND hWndParent;
608} MCI_DGV_OPEN_PARMSA, *LPMCI_DGV_OPEN_PARMSA;
609
610typedef struct {
611 DWORD_PTR dwCallback;
612 UINT wDeviceID;
613 LPWSTR lpstrDeviceType;
614 LPWSTR lpstrElementName;
615 LPWSTR lpstrAlias;
616 DWORD dwStyle;
617 HWND hWndParent;
618} MCI_DGV_OPEN_PARMSW, *LPMCI_DGV_OPEN_PARMSW;
619
620DECL_WINELIB_TYPE_AW(MCI_DGV_OPEN_PARMS)
621DECL_WINELIB_TYPE_AW(LPMCI_DGV_OPEN_PARMS)
622
623/* parameter block for MCI_PAUSE command message */
624
625typedef MCI_GENERIC_PARMS MCI_DGV_PAUSE_PARMS, * LPMCI_DGV_PAUSE_PARMS;
626
627/* parameter block for MCI_PASTE command message */
628
629typedef struct {
630 DWORD_PTR dwCallback;
631 DWORD dwTo;
632 RECT rc;
633 DWORD dwAudioStream;
634 DWORD dwVideoStream;
635} MCI_DGV_PASTE_PARMS, * LPMCI_DGV_PASTE_PARMS;
636
637/* parameter block for MCI_PLAY command message */
638
639typedef MCI_PLAY_PARMS MCI_DGV_PLAY_PARMS, * LPMCI_DGV_PLAY_PARMS;
640
641/* parameter block for MCI_PUT command message */
642
643typedef MCI_DGV_RECT_PARMS MCI_DGV_PUT_PARMS, * LPMCI_DGV_PUT_PARMS;
644
645/* parameter block for MCI_QUALITY command message */
646
647typedef struct {
648 DWORD_PTR dwCallback;
649 DWORD dwItem;
650 LPSTR lpstrName;
651 DWORD lpstrAlgorithm;
652 DWORD dwHandle;
653} MCI_DGV_QUALITY_PARMSA, *LPMCI_DGV_QUALITY_PARMSA;
654
655typedef struct {
656 DWORD_PTR dwCallback;
657 DWORD dwItem;
658 LPWSTR lpstrName;
659 DWORD lpstrAlgorithm;
660 DWORD dwHandle;
661} MCI_DGV_QUALITY_PARMSW, *LPMCI_DGV_QUALITY_PARMSW;
662
663DECL_WINELIB_TYPE_AW(MCI_DGV_QUALITY_PARMS)
664DECL_WINELIB_TYPE_AW(LPMCI_DGV_QUALITY_PARMS)
665
666/* parameter block for MCI_REALIZE command message */
667
668typedef MCI_GENERIC_PARMS MCI_REALIZE_PARMS, * LPMCI_REALIZE_PARMS;
669
670/* parameter block for MCI_RECORD command message */
671
672typedef struct {
673 DWORD_PTR dwCallback;
674 DWORD dwFrom;
675 DWORD dwTo;
676 RECT rc;
677 DWORD dwAudioStream;
678 DWORD dwVideoStream;
679} MCI_DGV_RECORD_PARMS, * LPMCI_DGV_RECORD_PARMS;
680
681/* parameter block for MCI_RESERVE command message */
682
683typedef struct {
684 DWORD_PTR dwCallback;
685 LPSTR lpstrPath;
686 DWORD dwSize;
687} MCI_DGV_RESERVE_PARMSA, *LPMCI_DGV_RESERVE_PARMSA;
688
689typedef struct {
690 DWORD_PTR dwCallback;
691 LPWSTR lpstrPath;
692 DWORD dwSize;
693} MCI_DGV_RESERVE_PARMSW, *LPMCI_DGV_RESERVE_PARMSW;
694
695DECL_WINELIB_TYPE_AW(MCI_DGV_RESERVE_PARMS)
696DECL_WINELIB_TYPE_AW(LPMCI_DGV_RESERVE_PARMS)
697
698/* parameter block for MCI_RESTORE command message */
699
700typedef struct {
701 DWORD_PTR dwCallback;
702 LPSTR lpstrFileName;
703 RECT rc;
704} MCI_DGV_RESTORE_PARMSA, *LPMCI_DGV_RESTORE_PARMSA;
705
706typedef struct {
707 DWORD_PTR dwCallback;
708 LPWSTR lpstrFileName;
709 RECT rc;
710} MCI_DGV_RESTORE_PARMSW, *LPMCI_DGV_RESTORE_PARMSW;
711
712DECL_WINELIB_TYPE_AW(MCI_DGV_RESTORE_PARMS)
713DECL_WINELIB_TYPE_AW(LPMCI_DGV_RESTORE_PARMS)
714
715/* parameter block for MCI_RESUME command message */
716
717typedef MCI_GENERIC_PARMS MCI_DGV_RESUME_PARMS, * LPMCI_DGV_RESUME_PARMS;
718
719/* parameter block for MCI_SAVE command message */
720
721typedef struct {
722 DWORD_PTR dwCallback;
723 LPSTR lpstrFileName;
724 RECT rc;
725} MCI_DGV_SAVE_PARMSA, *LPMCI_DGV_SAVE_PARMSA;
726
727typedef struct {
728 DWORD_PTR dwCallback;
729 LPWSTR lpstrFileName;
730 RECT rc;
731} MCI_DGV_SAVE_PARMSW, *LPMCI_DGV_SAVE_PARMSW;
732
733DECL_WINELIB_TYPE_AW(MCI_DGV_SAVE_PARMS)
734DECL_WINELIB_TYPE_AW(LPMCI_DGV_SAVE_PARMS)
735
736/* parameter block for MCI_SET command message */
737
738typedef struct {
739 DWORD_PTR dwCallback;
740 DWORD dwTimeFormat;
741 DWORD dwAudio;
742 DWORD dwFileFormat;
743 DWORD dwSpeed;
744} MCI_DGV_SET_PARMS, *LPMCI_DGV_SET_PARMS;
745
746/* parameter block for MCI_SETAUDIO command message */
747
748typedef struct {
749 DWORD_PTR dwCallback;
750 DWORD dwItem;
751 DWORD dwValue;
752 DWORD dwOver;
753 LPSTR lpstrAlgorithm;
754 LPSTR lpstrQuality;
755} MCI_DGV_SETAUDIO_PARMSA, *LPMCI_DGV_SETAUDIO_PARMSA;
756
757typedef struct {
758 DWORD_PTR dwCallback;
759 DWORD dwItem;
760 DWORD dwValue;
761 DWORD dwOver;
762 LPWSTR lpstrAlgorithm;
763 LPWSTR lpstrQuality;
764} MCI_DGV_SETAUDIO_PARMSW, *LPMCI_DGV_SETAUDIO_PARMSW;
765
766DECL_WINELIB_TYPE_AW(MCI_DGV_SETAUDIO_PARMS)
767DECL_WINELIB_TYPE_AW(LPMCI_DGV_SETAUDIO_PARMS)
768
769/* parameter block for MCI_SIGNAL command message */
770
771typedef struct {
772 DWORD_PTR dwCallback;
773 DWORD dwPosition;
774 DWORD dwPeriod;
775 DWORD dwUserParm;
776} MCI_DGV_SIGNAL_PARMS, * LPMCI_DGV_SIGNAL_PARMS;
777
778/* parameter block for MCI_SETVIDEO command message */
779
780typedef struct {
781 DWORD_PTR dwCallback;
782 DWORD dwItem;
783 DWORD dwValue;
784 DWORD dwOver;
785 LPSTR lpstrAlgorithm;
786 LPSTR lpstrQuality;
787 DWORD dwSourceNumber;
788} MCI_DGV_SETVIDEO_PARMSA, *LPMCI_DGV_SETVIDEO_PARMSA;
789
790typedef struct {
791 DWORD_PTR dwCallback;
792 DWORD dwItem;
793 DWORD dwValue;
794 DWORD dwOver;
795 LPWSTR lpstrAlgorithm;
796 LPWSTR lpstrQuality;
797 DWORD dwSourceNumber;
798} MCI_DGV_SETVIDEO_PARMSW, *LPMCI_DGV_SETVIDEO_PARMSW;
799
800DECL_WINELIB_TYPE_AW(MCI_DGV_SETVIDEO_PARMS)
801DECL_WINELIB_TYPE_AW(LPMCI_DGV_SETVIDEO_PARMS)
802
803/* parameter block for MCI_STATUS command message */
804
805typedef struct {
806 DWORD_PTR dwCallback;
807 DWORD_PTR dwReturn;
808 DWORD dwItem;
809 DWORD dwTrack;
810 LPSTR lpstrDrive;
811 DWORD dwReference;
812} MCI_DGV_STATUS_PARMSA, *LPMCI_DGV_STATUS_PARMSA;
813
814typedef struct {
815 DWORD_PTR dwCallback;
816 DWORD_PTR dwReturn;
817 DWORD dwItem;
818 DWORD dwTrack;
819 LPWSTR lpstrDrive;
820 DWORD dwReference;
821} MCI_DGV_STATUS_PARMSW, *LPMCI_DGV_STATUS_PARMSW;
822
823DECL_WINELIB_TYPE_AW(MCI_DGV_STATUS_PARMS)
824DECL_WINELIB_TYPE_AW(LPMCI_DGV_STATUS_PARMS)
825
826/* parameter block for MCI_STEP command message */
827
828typedef struct {
829 DWORD_PTR dwCallback;
830 DWORD dwFrames;
831} MCI_DGV_STEP_PARMS, *LPMCI_DGV_STEP_PARMS;
832
833/* parameter block for MCI_STOP command message */
834
835typedef MCI_GENERIC_PARMS MCI_DGV_STOP_PARMS, * LPMCI_DGV_STOP_PARMS;
836
837/* parameter block for MCI_UNFREEZE command message */
838
839typedef MCI_DGV_RECT_PARMS MCI_DGV_UNFREEZE_PARMS, * LPMCI_DGV_UNFREEZE_PARMS;
840
841/* parameter block for MCI_UPDATE command message */
842
843typedef struct {
844 DWORD_PTR dwCallback;
845 RECT rc;
846 HDC hDC;
847} MCI_DGV_UPDATE_PARMS, * LPMCI_DGV_UPDATE_PARMS;
848
849/* parameter block for MCI_WHERE command message */
850
851typedef MCI_DGV_RECT_PARMS MCI_DGV_WHERE_PARMS, * LPMCI_DGV_WHERE_PARMS;
852
853/* parameter block for MCI_WINDOW command message */
854
855typedef struct {
856 DWORD_PTR dwCallback;
857 HWND hWnd;
858 UINT nCmdShow;
859 LPSTR lpstrText;
860} MCI_DGV_WINDOW_PARMSA, *LPMCI_DGV_WINDOW_PARMSA;
861
862typedef struct {
863 DWORD_PTR dwCallback;
864 HWND hWnd;
865 UINT nCmdShow;
866 LPWSTR lpstrText;
867} MCI_DGV_WINDOW_PARMSW, *LPMCI_DGV_WINDOW_PARMSW;
868
869DECL_WINELIB_TYPE_AW(MCI_DGV_WINDOW_PARMS)
870
871#ifdef __cplusplus
872}
873#endif
874
875#endif /* __WINE_DIGITALV_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette