]> git.sesse.net Git - vlc/blobdiff - activex/axvlc.idl
configure.ac: fixes for build problems introduced by changeset 22617.
[vlc] / activex / axvlc.idl
index cad9cde0e2af1006a9c3ad8cdfa39adb6393c4f0..a0edad41e4bdbdc4353a81e7af6797689b59d45a 100644 (file)
@@ -24,7 +24,7 @@
 //comments terminated by [t] are by tonsofpcs, regarding the string review.  April 02, 2006. [t]\r
 //Possibly change all instances of "the current playlist" to "the playlist" and "current playlist" to "the playlist" [t]\r
 \r
-import "oaidl.idl";\r
+import "ocidl.idl";\r
 \r
 [\r
   uuid(DF2BBE39-40A8-433b-A279-073F48DA94B6),\r
@@ -63,6 +63,8 @@ library AXVLC
     const int VLCPlayListEnd    = -666;\r
 \r
     // DISPID definitions\r
+    const int DISPID_BackColor  = -501;\r
+\r
     const int DISPID_Visible    = 100;\r
     const int DISPID_Playing    = 101;\r
     const int DISPID_Position   = 102;\r
@@ -205,9 +207,9 @@ library AXVLC
         [propput, helpstring("Returns/sets audio track used/to use.")]\r
         HRESULT track([in] long track);\r
 \r
-        [propget, helpstring("Returns audio channel: reverse stereo, stereo, left, right, dolby.")]\r
+        [propget, helpstring("Returns audio channel [1-5] indicating; stereo, reverse stereo, left, right, dolby.")]\r
         HRESULT channel([out, retval] long* channel);\r
-        [propput, helpstring("Sets audio channel to: reverse stereo, stereo, left, right, dolby.")]\r
+        [propput, helpstring("Sets audio channel to [1-5] indicating; stereo, reverse stereo, left, right, dolby.")]\r
         HRESULT channel([in] long channel);\r
     };\r
 \r
@@ -422,8 +424,26 @@ library AXVLC
         [propput, helpstring("Sets video aspect ratio.")]\r
         HRESULT aspectRatio([in] BSTR aspect);\r
 \r
+        [propget, helpstring("Returns video subtitle used.")]\r
+        HRESULT subtitle([out, retval] long* spu);\r
+        [propput, helpstring("Sets video subtitle to use.")]\r
+        HRESULT subtitle([in] long spu);\r
+\r
+        [propget, helpstring("Returns crop filter geometry.")]\r
+        HRESULT crop([out, retval] BSTR* geometry);\r
+        [propput, helpstring("Sets crop filter geometry.")]\r
+        HRESULT crop([in] BSTR geometry);\r
+\r
+        [propget, helpstring("Returns teletext page used.")]\r
+        HRESULT subtitle([out, retval] long* page);\r
+        [propput, helpstring("Sets teletext page to use.")]\r
+        HRESULT subtitle([in] long page);\r
+\r
         [helpstring("toggle fullscreen/windowed state.")]\r
         HRESULT toggleFullscreen();\r
+\r
+        [helpstring("take video snapshot and save it into picture object.")]\r
+        HRESULT takeSnapshot([out, retval] IPictureDisp** picture);\r
     };\r
 \r
     [\r
@@ -473,6 +493,11 @@ library AXVLC
         [id(DISPID_Volume), propput, helpstring("Returns/sets default audio volume.")]\r
         HRESULT Volume([in] long volume);\r
 \r
+        [id(DISPID_BackColor), propget, helpstring("Returns/sets background color.")]\r
+        HRESULT BackColor([out, retval] OLE_COLOR* backcolor);\r
+        [id(DISPID_BackColor), propput, helpstring("Returns/sets background color.")]\r
+        HRESULT BackColor([in] OLE_COLOR backcolor);\r
+\r
         [propget, helpstring("Returns the audio object.")]\r
         HRESULT audio([out, retval] IVLCAudio** obj);\r
 \r