]> git.sesse.net Git - vlc/blobdiff - activex/axvlc.idl
Handle I/O errors properly
[vlc] / activex / axvlc.idl
index cad9cde0e2af1006a9c3ad8cdfa39adb6393c4f0..bc2e1844c92d257abf5f4e817bbe2cb2e0b11e59 100644 (file)
@@ -205,9 +205,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 +422,21 @@ 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
         [helpstring("toggle fullscreen/windowed state.")]\r
         HRESULT toggleFullscreen();\r
+\r
+        [helpstring("take video snapshot and save into into filePath.")]\r
+        HRESULT takeSnapshot(BSTR filePath);\r
     };\r
 \r
     [\r