X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=activex%2Faxvlc.idl;h=a0edad41e4bdbdc4353a81e7af6797689b59d45a;hb=7c3759c3555bd5bda7b0e15b6e5323abc2e6cc5a;hp=8faef08c2e04fb5b03884a7fe7571e507bfba3b4;hpb=fc9b8e56966b81ebe9852b1e8a1cd4b4842135ee;p=vlc diff --git a/activex/axvlc.idl b/activex/axvlc.idl index 8faef08c2e..a0edad41e4 100644 --- a/activex/axvlc.idl +++ b/activex/axvlc.idl @@ -4,6 +4,7 @@ * Copyright (C) 2006 the VideoLAN team * * Authors: Damien Fouilleul + * Jean-Paul Saman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,7 +24,7 @@ //comments terminated by [t] are by tonsofpcs, regarding the string review. April 02, 2006. [t] //Possibly change all instances of "the current playlist" to "the playlist" and "current playlist" to "the playlist" [t] -import "oaidl.idl"; +import "ocidl.idl"; [ uuid(DF2BBE39-40A8-433b-A279-073F48DA94B6), @@ -62,6 +63,8 @@ library AXVLC const int VLCPlayListEnd = -666; // DISPID definitions + const int DISPID_BackColor = -501; + const int DISPID_Visible = 100; const int DISPID_Playing = 101; const int DISPID_Position = 102; @@ -198,6 +201,16 @@ library AXVLC [helpstring("Mute/unmute audio playback.")] HRESULT toggleMute(); + + [propget, helpstring("Returns/sets audio track used/to use.")] + HRESULT track([out, retval] long* track); + [propput, helpstring("Returns/sets audio track used/to use.")] + HRESULT track([in] long track); + + [propget, helpstring("Returns audio channel [1-5] indicating; stereo, reverse stereo, left, right, dolby.")] + HRESULT channel([out, retval] long* channel); + [propput, helpstring("Sets audio channel to [1-5] indicating; stereo, reverse stereo, left, right, dolby.")] + HRESULT channel([in] long channel); }; [ @@ -411,8 +424,26 @@ library AXVLC [propput, helpstring("Sets video aspect ratio.")] HRESULT aspectRatio([in] BSTR aspect); + [propget, helpstring("Returns video subtitle used.")] + HRESULT subtitle([out, retval] long* spu); + [propput, helpstring("Sets video subtitle to use.")] + HRESULT subtitle([in] long spu); + + [propget, helpstring("Returns crop filter geometry.")] + HRESULT crop([out, retval] BSTR* geometry); + [propput, helpstring("Sets crop filter geometry.")] + HRESULT crop([in] BSTR geometry); + + [propget, helpstring("Returns teletext page used.")] + HRESULT subtitle([out, retval] long* page); + [propput, helpstring("Sets teletext page to use.")] + HRESULT subtitle([in] long page); + [helpstring("toggle fullscreen/windowed state.")] HRESULT toggleFullscreen(); + + [helpstring("take video snapshot and save it into picture object.")] + HRESULT takeSnapshot([out, retval] IPictureDisp** picture); }; [ @@ -462,6 +493,11 @@ library AXVLC [id(DISPID_Volume), propput, helpstring("Returns/sets default audio volume.")] HRESULT Volume([in] long volume); + [id(DISPID_BackColor), propget, helpstring("Returns/sets background color.")] + HRESULT BackColor([out, retval] OLE_COLOR* backcolor); + [id(DISPID_BackColor), propput, helpstring("Returns/sets background color.")] + HRESULT BackColor([in] OLE_COLOR backcolor); + [propget, helpstring("Returns the audio object.")] HRESULT audio([out, retval] IVLCAudio** obj);