//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
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
[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
- HRESULT channel([out, retval] BSTR* channel);\r
- [propput, helpstring("Sets audio channel to: reverse stereo, stereo, left, right, dolby.")]\r
- HRESULT channel([in] BSTR channel);\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 [1-5] indicating; stereo, reverse stereo, left, right, dolby.")]\r
+ HRESULT channel([in] long channel);\r
};\r
\r
[\r
[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
[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