]> git.sesse.net Git - vlc/blob - projects/activex/axvlc.idl
Merge branch 'master' of git@git.videolan.org:vlc
[vlc] / projects / activex / axvlc.idl
1 /*****************************************************************************\r
2  * axvlc.idl: ActiveX control for VLC\r
3  *****************************************************************************\r
4  * Copyright (C) 2006 the VideoLAN team\r
5  *\r
6  * Authors: Damien Fouilleul <Damien.Fouilleul@laposte.net>\r
7  *          Jean-Paul Saman <jpsaman _at_ m2x _dot_ nl>\r
8  *\r
9  * This program is free software; you can redistribute it and/or modify\r
10  * it under the terms of the GNU General Public License as published by\r
11  * the Free Software Foundation; either version 2 of the License, or\r
12  * (at your option) any later version.\r
13  *\r
14  * This program is distributed in the hope that it will be useful,\r
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
17  * GNU General Public License for more details.\r
18  *\r
19  * You should have received a copy of the GNU General Public License\r
20  * along with this program; if not, write to the Free Software\r
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.\r
22  *****************************************************************************/\r
23 \r
24 //comments terminated by [t] are by tonsofpcs, regarding the string review.  April 02, 2006. [t]\r
25 //Possibly change all instances of "the current playlist" to "the playlist" and "current playlist" to "the playlist" [t]\r
26 \r
27 import "ocidl.idl";\r
28 \r
29 [\r
30   uuid(DF2BBE39-40A8-433b-A279-073F48DA94B6),\r
31   version(1.0),\r
32   helpstring("VideoLAN VLC ActiveX Plugin")\r
33 ]\r
34 library AXVLC\r
35 {\r
36     // Forward declare all types defined in this typelib\r
37     interface IVLCControl;\r
38     interface IVLCAudio;\r
39     interface IVLCInput;\r
40     interface IVLCLog;\r
41     interface IVLCMessage;\r
42     interface IVLCMessageIterator;\r
43     interface IVLCMessages;\r
44     interface IVLCPlaylist;\r
45     interface IVLCVideo;\r
46     interface IVLCControl2;\r
47     dispinterface DVLCEvents;\r
48 \r
49     importlib("stdole2.tlb");\r
50 \r
51     typedef [public] enum VLCPlaylistMode\r
52     {\r
53         VLCPlayListInsert       =  1,\r
54         VLCPlayListInsertAndGo  =  9,\r
55         VLCPlayListReplace      =  2,\r
56         VLCPlayListReplaceAndGo = 10,\r
57         VLCPlayListAppend       =  4,\r
58         VLCPlayListAppendAndGo  = 12,\r
59         VLCPlayListCheckInsert  = 16\r
60     } eVLCPlaylistMode;\r
61 \r
62     // playlist target position\r
63     const int VLCPlayListEnd    = -666;\r
64 \r
65     // DISPID definitions\r
66     const int DISPID_BackColor  = -501;\r
67 \r
68     const int DISPID_Visible    = 100;\r
69     const int DISPID_Playing    = 101;\r
70     const int DISPID_Position   = 102;\r
71     const int DISPID_Time       = 103;\r
72     const int DISPID_Length     = 104;\r
73     const int DISPID_Volume     = 105;\r
74     const int DISPID_MRL        = 106;\r
75     const int DISPID_AutoPlay   = 107;\r
76     const int DISPID_AutoLoop   = 108;\r
77     const int DISPID_StartTime  = 109;\r
78     const int DISPID_BaseURL    = 110;\r
79     const int DISPID_Toolbar     = 111;\r
80 \r
81     [\r
82       odl,\r
83       uuid(C2FA41D0-B113-476e-AC8C-9BD14999C1C1),\r
84       helpstring("VLC Control (deprecated)"),\r
85       dual,\r
86       oleautomation\r
87     ]\r
88     interface IVLCControl : IDispatch\r
89     {\r
90         [id(DISPID_Visible), propget, bindable, helpstring("Returns/sets a value that determines whether viewing area is visible or hidden.")]\r
91         HRESULT Visible([out, retval] VARIANT_BOOL* visible);\r
92         [id(DISPID_Visible), propput, bindable, helpstring("Returns/sets a value that determines whether viewing area is visible or hidden.")]\r
93         HRESULT Visible([in] VARIANT_BOOL visible);\r
94         [helpstring("Play current target in playlist.")]\r
95         HRESULT play();\r
96         [helpstring("Pause playback.")]\r
97         HRESULT pause();\r
98         [helpstring("Stop playback.")]\r
99         HRESULT stop();\r
100         [id(DISPID_Playing), hidden, propget, helpstring("Returns a value that determines whether VLC is currently playing.")]\r
101         HRESULT Playing([out, retval] VARIANT_BOOL* isPlaying);\r
102         [id(DISPID_Position), propget, helpstring("Returns/sets playback position within the current item. Position is a relative value ranging from 0.0 to 1.0.")]\r
103         HRESULT Position([out, retval] float* position);\r
104         [id(DISPID_Position), propput, helpstring("Returns/sets playback position within the current item. Position is a relative value ranging from 0.0 to 1.0.")]\r
105         HRESULT Position([in] float position);\r
106         [id(DISPID_Time), propget, helpstring("Returns/sets playback time relative to the start of the current item.")]\r
107         HRESULT Time([out, retval] int* seconds);\r
108         [id(DISPID_Time), propput, helpstring("Returns/sets playback time relative to the start of the current item.")]\r
109         HRESULT Time([in] int seconds);\r
110         [helpstring("Advance or backtrack playback time, relative to current time.")]  //possibly find a better word to replace 'backtrack' [t]\r
111         HRESULT shuttle([in] int seconds);\r
112         [helpstring("Switch video between normal and fullscreen view modes.")]\r
113         HRESULT fullscreen();\r
114         [id(DISPID_Length), propget, hidden, helpstring("Returns the total length, in seconds, of the current item, may be unknown.")]\r
115         HRESULT Length([out, retval] int* seconds);\r
116         [helpstring("Increases playback speed. Possible speeds are: 1x, 2x, 4x, 8x.")]\r
117         HRESULT playFaster();\r
118         [helpstring("Decreases playback speed. Possible speeds are: 1x, 2x, 4x, 8x.")]\r
119         HRESULT playSlower();\r
120         [id(DISPID_Volume), propget, helpstring("Returns/sets playback volume, ranges from 0 to 200%.")]  //possibly remove % from 'ranges', change to 'values', and specify that 200 is equivilant to 200% (remember, 200% == 2.0, but this gets an int not a float) [t]\r
121         HRESULT Volume([out, retval] int* volume);\r
122         [id(DISPID_Volume), propput, helpstring("Returns/sets playback volume, ranges from 0 to 200%.")]\r
123         HRESULT Volume([in] int volume);\r
124         [helpstring("Mute/unmute playback audio.")]\r
125         HRESULT toggleMute();\r
126         [helpstring("Sets the value of a VLC variable.")]\r
127         HRESULT setVariable([in] BSTR name, [in] VARIANT value);\r
128         [helpstring("Returns the value of a VLC variable.")]\r
129         HRESULT getVariable([in] BSTR name, [out, retval] VARIANT *value);\r
130         [helpstring("Add an item to the playlist.")]\r
131 \r
132 /*\r
133 ** use VARIANT rather than a SAFEARRAY as argument type\r
134 ** for compatibility with some scripting language (JScript)\r
135 */\r
136 \r
137         /*\r
138          * caution: vlcobject.toolbar:bool does not yet exists in Firefox\r
139          * plugin. Official usage is through "toolbar" property for now,\r
140          * which is compatibile with Firefox.\r
141          */\r
142         [id(DISPID_Toolbar), propget, helpstring("Returns/sets visibility of the toolbar")]\r
143         HRESULT Toolbar([out, retval] VARIANT_BOOL* visible);\r
144         [id(DISPID_Toolbar), propput, helpstring("Returns/sets visibility of the toolbar")]\r
145         HRESULT Toolbar([in] VARIANT_BOOL visible);\r
146         HRESULT addTarget([in] BSTR uri, [in] VARIANT options, [in] enum VLCPlaylistMode mode, [in] int position);\r
147         [propget, helpstring("Returns index of current item in playlist.")]\r
148         HRESULT PlaylistIndex([out, retval] int* index);\r
149         [propget, helpstring("Returns number of items in playlist.")]\r
150         HRESULT PlaylistCount([out, retval] int* index);\r
151         [helpstring("Advance to next item in playlist.")]\r
152         HRESULT playlistNext();\r
153         [helpstring("Advance to previous item in playlist.")]\r
154         HRESULT playlistPrev();\r
155         [helpstring("Remove all items from playlist.")]\r
156         HRESULT playlistClear();\r
157         [propget, hidden, helpstring("Returns VLC Version.")]\r
158         HRESULT VersionInfo([out, retval] BSTR* version);\r
159         [id(DISPID_MRL), propget, helpstring("Returns/sets the first MRL in playlist, used for AutoPlay")]\r
160         HRESULT MRL([out, retval] BSTR* mrl);\r
161         [id(DISPID_MRL), propput, helpstring("Returns/sets the first MRL in playlist, used for AutoPlay")]\r
162         HRESULT MRL([in] BSTR mrl);\r
163         [id(DISPID_AutoPlay), propget, helpstring("Returns/sets a value that determines whether the playlist is played on startup")]\r
164         HRESULT AutoPlay([out, retval] VARIANT_BOOL* autoplay);\r
165         [id(DISPID_AutoPlay), propput, helpstring("Returns/Sets a value that determines whether the playlist is played on startup")]\r
166         HRESULT AutoPlay([in] VARIANT_BOOL autoplay);\r
167         [id(DISPID_AutoLoop), propget, helpstring("Returns/sets a value that determines whether the playlist is looped")]\r
168         HRESULT AutoLoop([out, retval] VARIANT_BOOL* autoloop);\r
169         [id(DISPID_AutoLoop), propput, helpstring("Returns/sets a value that determines whether the playlist is looped")]\r
170         HRESULT AutoLoop([in] VARIANT_BOOL autoloop);\r
171     };\r
172 \r
173     const int DISPID_PlayEvent  = 100;\r
174     const int DISPID_PauseEvent = 101;\r
175     const int DISPID_StopEvent  = 102;\r
176 \r
177     [\r
178       uuid(DF48072F-5EF8-434e-9B40-E2F3AE759B5F),\r
179       helpstring("Event interface for VLC control"),\r
180     ]\r
181     dispinterface DVLCEvents\r
182     {\r
183         properties:\r
184         methods:\r
185             [id(DISPID_PlayEvent), helpstring("Playing")]\r
186             void play();\r
187             [id(DISPID_PauseEvent), helpstring("Paused")]\r
188             void pause();\r
189             [id(DISPID_StopEvent), helpstring("Stopped")]\r
190             void stop();\r
191     };\r
192 \r
193     [\r
194       odl,\r
195       uuid(9E0BD17B-2D3C-4656-B94D-03084F3FD9D4),\r
196       helpstring("VLC Audio APIs"),\r
197       dual,\r
198       oleautomation\r
199     ]\r
200     interface IVLCAudio : IDispatch\r
201     {\r
202         [propget, helpstring("Returns/sets the audio mute state.")]\r
203         HRESULT mute([out, retval] VARIANT_BOOL* muted);\r
204         [propput, helpstring("Returns/sets the audio mute state.")]\r
205         HRESULT mute([in] VARIANT_BOOL muted);\r
206 \r
207         [propget, helpstring("Returns/sets audio volume as a percent value.")]\r
208         HRESULT volume([out, retval] long* volume);\r
209         [propput, helpstring("Returns/sets audio volume as a percent value.")]\r
210         HRESULT volume([in] long volume);\r
211 \r
212         [helpstring("Mute/unmute audio playback.")]\r
213         HRESULT toggleMute();\r
214 \r
215         [propget, helpstring("Returns/sets audio track used/to use.")]\r
216         HRESULT track([out, retval] long* track);\r
217         [propput, helpstring("Returns/sets audio track used/to use.")]\r
218         HRESULT track([in] long track);\r
219 \r
220         [propget, helpstring("Returns audio channel [1-5] indicating; stereo, reverse stereo, left, right, dolby.")]\r
221         HRESULT channel([out, retval] long* channel);\r
222         [propput, helpstring("Sets audio channel to [1-5] indicating; stereo, reverse stereo, left, right, dolby.")]\r
223         HRESULT channel([in] long channel);\r
224     };\r
225 \r
226     [\r
227       odl,\r
228       uuid(49E0DBD1-9440-466C-9C97-95C67190C603),\r
229       helpstring("VLC Input APIs"),\r
230       dual,\r
231       oleautomation\r
232     ]\r
233     interface IVLCInput : IDispatch\r
234     {\r
235         [propget, helpstring("Returns the clip length, in milliseconds.")]\r
236         HRESULT length([out, retval] double* length);\r
237 \r
238         [propget, helpstring("Returns/sets playback position in current clip.  Position is ranging from 0.0 to 1.0.")]\r
239         HRESULT position([out, retval] double* position);\r
240         [propput, helpstring("Returns/sets playback position in the current clip.  Position ranging from 0.0 to 1.0.")]\r
241         HRESULT position([in] double position);\r
242 \r
243         [propget, helpstring("Returns/sets playback time in current clip, in milliseconds.")]\r
244         HRESULT time([out, retval] double* time);\r
245         [propput, helpstring("Returns/sets playback time in the current clip, in milliseconds.")]\r
246         HRESULT time([in] double time);\r
247 \r
248         [propget, helpstring("Returns current playback state.")]\r
249         HRESULT state([out, retval] long* state);\r
250 \r
251         [propget, helpstring("Returns/sets current playback rate, normal rate is 1.0 ")]\r
252         HRESULT rate([out, retval] double* rate);\r
253         [propput, helpstring("Returns/sets current playback rate, normal rate is 1.0.")]\r
254         HRESULT rate([in] double rate);\r
255 \r
256         [propget, helpstring("Returns current playback frames per seconds if available.")]\r
257         HRESULT fps([out, retval] double* fps);\r
258 \r
259         [propget, helpstring("Returns whether current playback displays video.")]\r
260         HRESULT hasVout([out, retval] VARIANT_BOOL* hasVout);\r
261     };\r
262 \r
263     [\r
264       odl,\r
265       uuid(9ED00AFA-7BCD-4FFF-8D48-7DD4DB2C800D),\r
266       helpstring("VLC Log Message"),\r
267       dual,\r
268       oleautomation\r
269     ]\r
270     interface IVLCMessage: IDispatch\r
271     {\r
272         [id(DISPID_VALUE), propget]\r
273         HRESULT _Value([out, retval] VARIANT* message);\r
274 \r
275         [propget, helpstring("Returns message severity.")]\r
276         HRESULT severity([out, retval] long* level);\r
277 \r
278         [propget, helpstring("Returns message issuer type.")]\r
279         HRESULT type([out, retval] BSTR* type);\r
280 \r
281         [propget, helpstring("Returns message issuer name.")]\r
282         HRESULT name([out, retval] BSTR* name);\r
283 \r
284         [propget, helpstring("Returns message header.")]\r
285         HRESULT header([out, retval] BSTR* header);\r
286 \r
287         [propget, helpstring("Returns message content.")]\r
288         HRESULT message([out, retval] BSTR* message);\r
289     };\r
290 \r
291     [\r
292       odl,\r
293       uuid(15179CD8-CC12-4242-A58E-E412217FF343),\r
294       helpstring("VLC Log iterator"),\r
295       dual,\r
296       oleautomation\r
297     ]\r
298     interface IVLCMessageIterator : IDispatch\r
299     {\r
300         [propget, helpstring("Returns whether a message is available.")]\r
301         HRESULT hasNext([out, retval] VARIANT_BOOL* hasNext);\r
302 \r
303         [helpstring("Returns next message.")]\r
304         HRESULT next([out, retval] IVLCMessage** msg);\r
305     };\r
306 \r
307     [\r
308       odl,\r
309       uuid(6C5CE55D-2D6C-4AAD-8299-C62D2371F106),\r
310       helpstring("VLC Log Messages Collection."),\r
311       dual,\r
312       oleautomation\r
313     ]\r
314     interface IVLCMessages : IDispatch\r
315     {\r
316         [id(DISPID_NEWENUM), propget]\r
317         HRESULT _NewEnum([out, retval] IUnknown** _NewEnum);\r
318 \r
319         [helpstring("Clear all messages from log.")]\r
320         HRESULT clear();\r
321 \r
322         [propget, helpstring("Returns the number of messages.")]\r
323         HRESULT count([out, retval] long* count);\r
324 \r
325         [helpstring("Returns an iterator for messages in log")]\r
326         HRESULT iterator([out, retval] IVLCMessageIterator** iter);\r
327     };\r
328 \r
329     [\r
330       odl,\r
331       uuid(8E3BC3D9-62E9-48FB-8A6D-993F9ABC4A0A),\r
332       helpstring("VLC Log APIs"),\r
333       dual,\r
334       oleautomation\r
335     ]\r
336     interface IVLCLog : IDispatch\r
337     {\r
338         [propget, helpstring("Returns messages in log")]\r
339         HRESULT messages([out, retval] IVLCMessages** iter);\r
340 \r
341         [propget, helpstring("Returns/Sets the log versbosity level.")]\r
342         HRESULT verbosity([out, retval] long* level);\r
343         [propput, helpstring("Returns/Sets the log versbosity level.")]\r
344         HRESULT verbosity([in] long level);\r
345     };\r
346 \r
347     [\r
348       odl,\r
349       uuid(FD37FE32-82BC-4A25-B056-315F4DBB194D),\r
350       helpstring("VLC Playlist Items collection"),\r
351       dual,\r
352       oleautomation\r
353     ]\r
354     interface IVLCPlaylistItems : IDispatch\r
355     {\r
356         [propget, helpstring("Returns number of items in playlist.")]\r
357         HRESULT count([out, retval] long* count);\r
358 \r
359         [helpstring("Remove all items from playlist.")]\r
360         HRESULT clear();\r
361 \r
362         [helpstring("remove item from playlist.")]\r
363         HRESULT remove([in] long itemId);\r
364     };\r
365 \r
366     [\r
367       odl,\r
368       uuid(54613049-40BF-4035-9E70-0A9312C0188D),\r
369       helpstring("VLC Playlist APIs"),\r
370       dual,\r
371       oleautomation\r
372     ]\r
373     interface IVLCPlaylist : IDispatch\r
374     {\r
375         [hidden, propget, helpstring("Returns number of items in playlist. (deprecated)")]\r
376         HRESULT itemCount([out, retval] long* count);\r
377 \r
378         [propget, helpstring("Returns whether playback displays video.")]\r
379         HRESULT isPlaying([out, retval] VARIANT_BOOL* playing);\r
380 \r
381         [helpstring("Add a playlist item.")]\r
382         HRESULT add([in] BSTR uri, [in, optional] VARIANT name, [in, optional] VARIANT options, [out, retval] long* itemId);\r
383 \r
384         [helpstring("Play/Resume the playlist.")]\r
385         HRESULT play();\r
386 \r
387         [helpstring("Play item in playlist.")]\r
388         HRESULT playItem([in] long itemId);\r
389 \r
390         [helpstring("Play/Pause current clip.")]\r
391         HRESULT togglePause();\r
392 \r
393         [helpstring("Stop current clip.")]\r
394         HRESULT stop();\r
395 \r
396         [helpstring("Advance to next item in playlist.")]\r
397         HRESULT next();\r
398 \r
399         [helpstring("Advance to previous item in playlist.")]\r
400         HRESULT prev();\r
401 \r
402         [hidden, helpstring("Remove all items from playlist. (deprecated)")]\r
403         HRESULT clear();\r
404 \r
405         [hidden, helpstring("Remove item from playlist. (deprecated)")]\r
406         HRESULT removeItem([in] long item);\r
407 \r
408         [propget, helpstring("Returns the playlist items collection object.")]\r
409         HRESULT items([out, retval] IVLCPlaylistItems** obj);\r
410     };\r
411 \r
412     [\r
413       odl,\r
414       uuid(0AAEDF0B-D333-4B27-A0C6-BBF31413A42E),\r
415       helpstring("VLC Video APIs"),\r
416       dual,\r
417       oleautomation\r
418     ]\r
419     interface IVLCVideo : IDispatch\r
420     {\r
421         [propget, helpstring("Returns/sets the fullscreen state.")]\r
422         HRESULT fullscreen([out, retval] VARIANT_BOOL* fullscreen);\r
423         [propput, helpstring("Returns/sets the fullscreen state.")]\r
424         HRESULT fullscreen([in] VARIANT_BOOL fullscreen);\r
425 \r
426         [propget, helpstring("Returns video original width.")]\r
427         HRESULT width([out, retval] long* width);\r
428 \r
429         [propget, helpstring("Returns video original height.")]\r
430         HRESULT height([out, retval] long* height);\r
431 \r
432         [propget, helpstring("Returns video aspect ratio.")]\r
433         HRESULT aspectRatio([out, retval] BSTR* aspect);\r
434         [propput, helpstring("Sets video aspect ratio.")]\r
435         HRESULT aspectRatio([in] BSTR aspect);\r
436 \r
437         [propget, helpstring("Returns video subtitle used.")]\r
438         HRESULT subtitle([out, retval] long* spu);\r
439         [propput, helpstring("Sets video subtitle to use.")]\r
440         HRESULT subtitle([in] long spu);\r
441 \r
442         [propget, helpstring("Returns crop filter geometry.")]\r
443         HRESULT crop([out, retval] BSTR* geometry);\r
444         [propput, helpstring("Sets crop filter geometry.")]\r
445         HRESULT crop([in] BSTR geometry);\r
446 \r
447         [propget, helpstring("Returns teletext page used.")]\r
448         HRESULT teletext([out, retval] long* page);\r
449         [propput, helpstring("Sets teletext page to use.")]\r
450         HRESULT teletext([in] long page);\r
451 \r
452         [helpstring("toggle fullscreen/windowed state.")]\r
453         HRESULT toggleFullscreen();\r
454 \r
455         [helpstring("take video snapshot and save it into picture object.")]\r
456         HRESULT takeSnapshot([out, retval] IPictureDisp** picture);\r
457 \r
458         [helpstring("toggle teletext transparent state.")]\r
459         HRESULT toggleTeletext();\r
460     };\r
461 \r
462     [\r
463       odl,\r
464       uuid(2D719729-5333-406C-BF12-8DE787FD65E3),\r
465       helpstring("VLC Control"),\r
466       dual,\r
467       oleautomation\r
468     ]\r
469     interface IVLCControl2 : IDispatch\r
470     {\r
471         [id(DISPID_AutoLoop), propget, helpstring("Returns/sets a value that determines whether the playlist is looped")]\r
472         HRESULT AutoLoop([out, retval] VARIANT_BOOL* autoloop);\r
473         [id(DISPID_AutoLoop), propput, helpstring("Returns/sets a value that determines whether the playlist is looped")]\r
474         HRESULT AutoLoop([in] VARIANT_BOOL autoloop);\r
475 \r
476         [id(DISPID_AutoPlay), propget, helpstring("Returns/sets a value that determines whether the playlist is played on startup")]\r
477         HRESULT AutoPlay([out, retval] VARIANT_BOOL* autoplay);\r
478         [id(DISPID_AutoPlay), propput, helpstring("Returns/Sets a value that determines whether the playlist is played on startup")]\r
479         HRESULT AutoPlay([in] VARIANT_BOOL autoplay);\r
480 \r
481         [id(DISPID_BaseURL), propget, helpstring("Returns/sets the base URL for relative paths")]\r
482         HRESULT BaseURL([out, retval] BSTR* url);\r
483         [id(DISPID_BaseURL), propput, helpstring("Returns/sets the base URL for relative paths")]\r
484         HRESULT BaseURL([in] BSTR url);\r
485 \r
486         [id(DISPID_StartTime), propget, helpstring("Returns/sets playback start time of URL.")]\r
487         HRESULT StartTime([out, retval] long* seconds);\r
488         [id(DISPID_StartTime), propput, helpstring("Returns/sets playback start time of URL.")]\r
489         HRESULT StartTime([in] long seconds);\r
490 \r
491         [id(DISPID_MRL), propget, helpstring("Returns/sets the default MRL in playlist")]\r
492         HRESULT MRL([out, retval] BSTR* mrl);\r
493         [id(DISPID_MRL), propput, helpstring("Returns/sets the default MRL in playlist")]\r
494         HRESULT MRL([in] BSTR mrl);\r
495 \r
496         [propget, helpstring("Returns VLC Version.")]\r
497         HRESULT VersionInfo([out, retval] BSTR* version);\r
498 \r
499         [id(DISPID_Visible), propget, helpstring("Returns/sets a value that determines whether viewing area is visible or hidden.")]\r
500         HRESULT Visible([out, retval] VARIANT_BOOL* visible);\r
501         [id(DISPID_Visible), propput, helpstring("Returns/sets a value that determines whether viewing area is visible or hidden.")]\r
502         HRESULT Visible([in] VARIANT_BOOL visible);\r
503 \r
504         [id(DISPID_Volume), propget, helpstring("Returns/sets default audio volume.")]\r
505         HRESULT Volume([out, retval] long* volume);\r
506         [id(DISPID_Volume), propput, helpstring("Returns/sets default audio volume.")]\r
507         HRESULT Volume([in] long volume);\r
508 \r
509         [id(DISPID_BackColor), propget, helpstring("Returns/sets background color.")]\r
510         HRESULT BackColor([out, retval] OLE_COLOR* backcolor);\r
511         [id(DISPID_BackColor), propput, helpstring("Returns/sets background color.")]\r
512         HRESULT BackColor([in] OLE_COLOR backcolor);\r
513 \r
514         [propget, helpstring("Returns the audio object.")]\r
515         HRESULT audio([out, retval] IVLCAudio** obj);\r
516 \r
517         [propget, helpstring("Returns the audio object.")]\r
518         HRESULT input([out, retval] IVLCInput** obj);\r
519 \r
520         [propget, helpstring("Returns the log object.")]\r
521         HRESULT log([out, retval] IVLCLog** obj);\r
522 \r
523         [propget, helpstring("Returns the playlist object.")]\r
524         HRESULT playlist([out, retval] IVLCPlaylist** obj);\r
525 \r
526         [propget, helpstring("Returns the audio object.")]\r
527         HRESULT video([out, retval] IVLCVideo** obj);\r
528     };\r
529 \r
530     [\r
531       uuid(E23FE9C6-778E-49D4-B537-38FCDE4887D8),\r
532       helpstring("VLC control (deprecated)"),\r
533       control\r
534     ]\r
535     coclass VLCPlugin\r
536     {\r
537         [default] interface IVLCControl;\r
538         interface IVLCControl2;\r
539         [default, source] dispinterface DVLCEvents;\r
540     };\r
541 \r
542     [\r
543       uuid(9BE31822-FDAD-461B-AD51-BE1D1C159921),\r
544       helpstring("VLC control"),\r
545       control\r
546     ]\r
547     coclass VLCPlugin2\r
548     {\r
549         [default] interface IVLCControl2;\r
550         interface IVLCControl;\r
551     };\r
552 };\r