Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

393 lines
25 KiB

  1. /*************************************************************************/
  2. /* Copyright (C) 1999 Microsoft Corporation */
  3. /* File: mswebdvd.idl */
  4. /* Description: IDL source for MSWebDVD.dll */
  5. /* Author: David Janecek */
  6. /*************************************************************************/
  7. // This file will be processed by the MIDL tool to
  8. // produce the type library (MSWebDVD.tlb) and marshalling code.
  9. import "oaidl.idl";
  10. import "ocidl.idl";
  11. #include "olectl.h"
  12. [
  13. object,
  14. uuid(90598166-2297-40ED-9AB2-59FD8E368FB2),
  15. dual,
  16. helpstring("IDVDRect Interface"),
  17. pointer_default(unique)
  18. ]
  19. interface IDVDRect : IDispatch
  20. {
  21. [propget, id(1), helpstring("property x")] HRESULT x([out, retval] long *pVal);
  22. [propput, id(1), helpstring("property x")] HRESULT x([in] long newVal);
  23. [propget, id(2), helpstring("property y")] HRESULT y([out, retval] long *pVal);
  24. [propput, id(2), helpstring("property y")] HRESULT y([in] long newVal);
  25. [propget, id(3), helpstring("property Width")] HRESULT Width([out, retval] long *pVal);
  26. [propput, id(3), helpstring("property Width")] HRESULT Width([in] long newVal);
  27. [propget, id(4), helpstring("property Height")] HRESULT Height([out, retval] long *pVal);
  28. [propput, id(4), helpstring("property Height")] HRESULT Height([in] long newVal);
  29. };
  30. [
  31. object,
  32. uuid(DF55E77C-D1F6-4681-BFF7-CD235F8122F3),
  33. dual,
  34. helpstring("IMSDVDAdm Interface"),
  35. pointer_default(unique)
  36. ]
  37. interface IMSDVDAdm : IDispatch
  38. {
  39. [id(1), helpstring("method ChangePassword")] HRESULT ChangePassword([in]BSTR strUserName, [in]BSTR strOld, [in]BSTR strNew);
  40. [propget, id(4), helpstring("property DisableScreenSaver")] HRESULT DisableScreenSaver([out, retval] VARIANT_BOOL *pVal);
  41. [propput, id(4), helpstring("property DisableScreenSaver")] HRESULT DisableScreenSaver([in] VARIANT_BOOL newVal);
  42. [id(5), helpstring("method SaveParentalLevel")] HRESULT SaveParentalLevel([in]long level,[in]BSTR strUserName, [in]BSTR strPassword);
  43. [id(6), helpstring("method SaveParentalCountry")] HRESULT SaveParentalCountry([in]long country,[in]BSTR strUserName, [in]BSTR strPassword);
  44. [id(8), helpstring("method ConfirmPassword")] HRESULT ConfirmPassword([in]BSTR strUserName, [in]BSTR strPassword, [out, retval] VARIANT_BOOL *pVal);
  45. [id(10), helpstring("method GetParentalLevel")] HRESULT GetParentalLevel([out, retval] long *lLevel);
  46. [id(11), helpstring("method GetParentalCountry")] HRESULT GetParentalCountry([out, retval] long *lCountry);
  47. [propget, id(12), helpstring("property DefaultAudioLCID")] HRESULT DefaultAudioLCID([out, retval] long *pVal);
  48. [propput, id(12), helpstring("property DefaultAudioLCID")] HRESULT DefaultAudioLCID([in] long newVal);
  49. [propget, id(13), helpstring("property DefaultSubpictureLCID")] HRESULT DefaultSubpictureLCID([out, retval] long *pVal);
  50. [propput, id(13), helpstring("property DefaultSubpictureLCID")] HRESULT DefaultSubpictureLCID([in] long newVal);
  51. [propget, id(14), helpstring("property DefaultMenuLCID")] HRESULT DefaultMenuLCID([out, retval] long *pVal);
  52. [propput, id(14), helpstring("property DefaultMenuLCID")] HRESULT DefaultMenuLCID([in] long newVal);
  53. [propget, id(15), helpstring("property BookmarkOnStop")] HRESULT BookmarkOnStop([out, retval] VARIANT_BOOL *pVal);
  54. [propput, id(15), helpstring("property BookmarkOnStop")] HRESULT BookmarkOnStop([in] VARIANT_BOOL newVal);
  55. [propget, id(16), helpstring("property BookmarkOnClose")] HRESULT BookmarkOnClose([out, retval] VARIANT_BOOL *pVal);
  56. [propput, id(16), helpstring("property BookmarkOnClose")] HRESULT BookmarkOnClose([in] VARIANT_BOOL newVal);
  57. [id(17), helpstring("method RestoreScreenSaver")] HRESULT RestoreScreenSaver();
  58. [id(18), helpstring("method ConfirmPassword"), hidden, restricted] HRESULT _ConfirmPassword([in]BSTR strUserName, [in]BSTR strPassword, [out, retval] VARIANT_BOOL *pVal);
  59. };
  60. [
  61. object,
  62. uuid(38EE5CED-4B62-11D3-854F-00A0C9C898E7),
  63. dual,
  64. helpstring("IMSWebDVD Interface"),
  65. pointer_default(unique)
  66. ]
  67. interface IMSWebDVD : IDispatch
  68. {
  69. typedef enum
  70. {
  71. dvdCursor_Arrow = 0,
  72. dvdCursor_ZoomIn = 1,
  73. dvdCursor_ZoomOut = 2,
  74. dvdCursor_Hand = 3,
  75. dvdCursor_None = -1
  76. } DVDCursorType;
  77. typedef enum
  78. {
  79. dvdMenu_Title = 2,
  80. dvdMenu_Root = dvdMenu_Title + 1,
  81. dvdMenu_Subpicture = dvdMenu_Root + 1,
  82. dvdMenu_Audio = dvdMenu_Subpicture + 1,
  83. dvdMenu_Angle = dvdMenu_Audio + 1,
  84. dvdMenu_Chapter = dvdMenu_Angle + 1
  85. } DVDMenuIDConstants;
  86. typedef enum
  87. {
  88. dvdState_Undefined = -2,
  89. dvdState_Unitialized = dvdState_Undefined + 1,
  90. dvdState_Stopped = dvdState_Unitialized + 1,
  91. dvdState_Paused = dvdState_Stopped + 1,
  92. dvdState_Running = dvdState_Paused + 1
  93. } DVDFilterState;
  94. typedef enum
  95. {
  96. dvdStruct_Volume = 0x1,
  97. dvdStruct_Title = 0x2,
  98. dvdStruct_ParentalID = 0x3,
  99. dvdStruct_PartOfTitle = 0x4,
  100. dvdStruct_Cell = 0x5,
  101. dvdStream_Audio = 0x10,
  102. dvdStream_Subpicture = 0x11,
  103. dvdStream_Angle = 0x12,
  104. dvdChannel_Audio = 0x20,
  105. dvdGeneral_Name = 0x30,
  106. dvdGeneral_Comments = 0x31,
  107. dvdTitle_Series = 0x38,
  108. dvdTitle_Movie = 0x39,
  109. dvdTitle_Video = 0x3a,
  110. dvdTitle_Album = 0x3b,
  111. dvdTitle_Song = 0x3c,
  112. dvdTitle_Other = 0x3f,
  113. dvdTitle_Sub_Series = 0x40,
  114. dvdTitle_Sub_Movie = 0x41,
  115. dvdTitle_Sub_Video = 0x42,
  116. dvdTitle_Sub_Album = 0x43,
  117. dvdTitle_Sub_Song = 0x44,
  118. dvdTitle_Sub_Other = 0x47,
  119. dvdTitle_Orig_Series = 0x48,
  120. dvdTitle_Orig_Movie = 0x49,
  121. dvdTitle_Orig_Video = 0x4a,
  122. dvdTitle_Orig_Album = 0x4b,
  123. dvdTitle_Orig_Song = 0x4c,
  124. dvdTitle_Orig_Other = 0x4f,
  125. dvdOther_Scene = 0x50,
  126. dvdOther_Cut = 0x51,
  127. dvdOther_Take = 0x52
  128. } DVDTextStringType;
  129. typedef enum
  130. {
  131. dvdSPExt_NotSpecified = 0,
  132. dvdSPExt_Caption_Normal = 1,
  133. dvdSPExt_Caption_Big = 2,
  134. dvdSPExt_Caption_Children = 3,
  135. dvdSPExt_CC_Normal = 5,
  136. dvdSPExt_CC_Big = 6,
  137. dvdSPExt_CC_Children = 7,
  138. dvdSPExt_Forced = 9,
  139. dvdSPExt_DirectorComments_Normal = 13,
  140. dvdSPExt_DirectorComments_Big = 14,
  141. dvdSPExt_DirectorComments_Children = 15
  142. } DVDSPExt;
  143. typedef enum
  144. {
  145. dvdRender_Reinitialize = 1,
  146. dvdRender_Error_On_Missing_Drive = 2,
  147. } DVDRender;
  148. [id(1), helpstring("method Render")] HRESULT Render([in, defaultvalue(0)] long lRender);
  149. [id(2), helpstring("method Play")] HRESULT Play();
  150. [id(3), helpstring("method Pause")] HRESULT Pause();
  151. [id(4), helpstring("method Stop")] HRESULT Stop();
  152. [id(5), helpstring("method PlayTitle")] HRESULT PlayTitle(LONG lTitle);
  153. [id(6), helpstring("method PlayChapterInTitle")] HRESULT PlayChapterInTitle([in]LONG lTitle,[in]LONG lChapter);
  154. [id(7), helpstring("method PlayChapter")] HRESULT PlayChapter(LONG lChapter);
  155. [id(8), helpstring("method PlayAtTimeInTitle")] HRESULT PlayAtTimeInTitle(long lTitle, BSTR strTime);
  156. [id(9), helpstring("method PlayAtTime")] HRESULT PlayAtTime(BSTR strTime);
  157. [id(10), helpstring("method PlayBackwards")] HRESULT PlayBackwards(double dSpeed, [in, defaultvalue(0)] VARIANT_BOOL fDoNotReset);
  158. [id(11), helpstring("method PlayForwards")] HRESULT PlayForwards(double dSpeed, [in, defaultvalue(0)] VARIANT_BOOL fDoNotReset);
  159. [id(12), helpstring("method ShowMenu")] HRESULT ShowMenu(DVDMenuIDConstants MenuID);
  160. [id(13), helpstring("method Resume")] HRESULT Resume();
  161. [id(14), helpstring("method GetNumberOfChapters")] HRESULT GetNumberOfChapters(long lTitle, [out, retval] long *pVal);
  162. [id(15), helpstring("method PlayChaptersAutoStop")] HRESULT PlayChaptersAutoStop(LONG strTitle, LONG strChapter, LONG strChapterCount);
  163. [propget, id(16), helpstring("property FullScreenMode")] HRESULT FullScreenMode([out, retval] VARIANT_BOOL *displaySize);
  164. [propput, id(16), helpstring("property FullScreenMode")] HRESULT FullScreenMode([in] VARIANT_BOOL displaySize);
  165. [propget, id(17), helpstring("property PlayState")] HRESULT PlayState([out, retval] DVDFilterState *pVal);
  166. [id(18), helpstring("method SelectUpperButton")] HRESULT SelectUpperButton();
  167. [id(19), helpstring("method SelectLowerButton")] HRESULT SelectLowerButton();
  168. [id(20), helpstring("method SelectLeftButton")] HRESULT SelectLeftButton();
  169. [id(21), helpstring("method SelectRightButton")] HRESULT SelectRightButton();
  170. [id(22), helpstring("method ActivateButton")] HRESULT ActivateButton();
  171. [id(23), helpstring("method SelectAndActivateButton")] HRESULT SelectAndActivateButton(long lButton);
  172. [id(24), helpstring("method ActivateAtPosition")] HRESULT ActivateAtPosition([in]long xPos, [in]long yPos);
  173. [id(25), helpstring("method SelectAtPosition")] HRESULT SelectAtPosition([in]long xPos, [in]long yPos);
  174. [id(26), helpstring("method GetButtonAtPosition")] HRESULT GetButtonAtPosition([in]long xPos, [in]long yPos, [out, retval]long* plButton);
  175. [id(27), helpstring("method GetButtonRect")] HRESULT GetButtonRect([in]long lButton, [out, retval]IDVDRect** ppRect);
  176. [id(28), helpstring("method PlayNextChapter")] HRESULT PlayNextChapter();
  177. [id(29), helpstring("method PlayPrevChapter")] HRESULT PlayPrevChapter();
  178. [id(30), helpstring("method ReplayChapter")] HRESULT ReplayChapter();
  179. [id(31), helpstring("method ReturnFromSubmenu")] HRESULT ReturnFromSubmenu();
  180. [id(32), helpstring("method StillOff")] HRESULT StillOff();
  181. [id(33), helpstring("method GetAudioLanguage")] HRESULT GetAudioLanguage(LONG lStream, [in, defaultvalue(0)] VARIANT_BOOL fFormat, [out, retval] BSTR* strAudioLang);
  182. [id(34), helpstring("method GetSubpictureLanguage")] HRESULT GetSubpictureLanguage(LONG lStream, [out, retval]BSTR* strLanguage);
  183. [propget, id(35), helpstring("property CurrentTitle")] HRESULT CurrentTitle([out, retval] long *pVal);
  184. [propget, id(36), helpstring("property CurrentChapter")] HRESULT CurrentChapter([out, retval] long *pVal);
  185. [propget, id(37), helpstring("property FramesPerSecond")] HRESULT FramesPerSecond([out, retval] long *pVal);
  186. [propget, id(38), helpstring("property CurrentTime")] HRESULT CurrentTime([out, retval] BSTR* pVal);
  187. [propget, id(39), helpstring("property DVDDirectory")] HRESULT DVDDirectory([out, retval] BSTR *pVal);
  188. [propput, id(39), helpstring("property DVDDirectory")] HRESULT DVDDirectory([in] BSTR newVal);
  189. [propget, id(40), helpstring("property CurrentDomain")] HRESULT CurrentDomain([out, retval] long *pVal);
  190. [propget, id(41), helpstring("property CurrentDiscSide")] HRESULT CurrentDiscSide([out, retval] long *pVal);
  191. [propget, id(42), helpstring("property TitlesAvailable")] HRESULT TitlesAvailable([out, retval] long *pVal);
  192. [propget, id(43), helpstring("property CurrentVolume")] HRESULT CurrentVolume([out, retval] long *pVal);
  193. [propget, id(44), helpstring("property VolumesAvailable")] HRESULT VolumesAvailable([out, retval] long *pVal);
  194. [id(45), helpstring("method PlayPeriodInTitleAutoStop")] HRESULT PlayPeriodInTitleAutoStop([in]long lTitle, [in]BSTR strStartTime, [in]BSTR strEndTime);
  195. [propget, id(46), helpstring("property CurrentSubpictureStream")] HRESULT CurrentSubpictureStream([out, retval] long *pVal);
  196. [propput, id(46), helpstring("property CurrentSubpictureStream")] HRESULT CurrentSubpictureStream([in] long newVal);
  197. [propget, id(47), helpstring("property SubpictureOn")] HRESULT SubpictureOn([out, retval] VARIANT_BOOL *pVal);
  198. [propput, id(47), helpstring("property SubpictureOn")] HRESULT SubpictureOn([in] VARIANT_BOOL newVal);
  199. [propget, id(48), helpstring("property SubpictureStreamsAvailable")] HRESULT SubpictureStreamsAvailable([out, retval] long *pVal);
  200. [propget, id(49), helpstring("property TotalTitleTime")] HRESULT TotalTitleTime([out, retval] BSTR *pVal);
  201. [propget, id(50), helpstring("property CurrentCCService")] HRESULT CurrentCCService([out, retval] long *pVal);
  202. [propput, id(50), helpstring("property CurrentCCService")] HRESULT CurrentCCService([in] long newVal);
  203. [propget, id(51), helpstring("property CurrentButton")] HRESULT CurrentButton([out, retval] long *pVal);
  204. [propget, id(52), helpstring("property ButtonsAvailable")] HRESULT ButtonsAvailable([out, retval] long *pVal);
  205. [propget, id(53), helpstring("property CCActive")] HRESULT CCActive([out, retval] VARIANT_BOOL *pVal);
  206. [propput, id(53), helpstring("property CCActive")] HRESULT CCActive([in] VARIANT_BOOL newVal);
  207. [propget, id(54), helpstring("property CurrentAngle")] HRESULT CurrentAngle([out, retval] long *pVal);
  208. [propput, id(54), helpstring("property CurrentAngle")] HRESULT CurrentAngle([in] long newVal);
  209. [propget, id(55), helpstring("property AnglesAvailable")] HRESULT AnglesAvailable([out, retval] long *pVal);
  210. [propget, id(56), helpstring("property AudioStreamsAvailable")] HRESULT AudioStreamsAvailable([out, retval] long *pVal);
  211. [propget, id(57), helpstring("property CurrentAudioStream")] HRESULT CurrentAudioStream([out, retval] long *pVal);
  212. [propput, id(57), helpstring("property CurrentAudioStream")] HRESULT CurrentAudioStream([in] long newVal);
  213. [propget, id(58), helpstring("property ColorKey")] HRESULT ColorKey([out, retval] long *pVal);
  214. [propput, id(58), helpstring("property ColorKey")] HRESULT ColorKey([in] long newVal);
  215. [id(59), helpstring("method UOPValid")] HRESULT UOPValid(long lUOP, [out, retval] VARIANT_BOOL* pfValid);
  216. [id(60), helpstring("method GetGPRM")] HRESULT GetGPRM([in]long lIndex, [out, retval] short *psGPRM);
  217. [id(61), helpstring("method GetSPRM")] HRESULT GetSPRM([in]long lIndex, [out, retval] short *psSPRM);
  218. [propget, id(62), helpstring("property DVDUniqueID")] HRESULT DVDUniqueID([out, retval] BSTR *pVal);
  219. [propget, id(63), helpstring("property Mute")] HRESULT Mute([out, retval] VARIANT_BOOL *pVal);
  220. [propput, id(63), helpstring("property Mute")] HRESULT Mute([in] VARIANT_BOOL newVal);
  221. [propget, id(64), helpstring("property Volume")] HRESULT Volume([out, retval] long *pVal);
  222. [propput, id(64), helpstring("property Volume")] HRESULT Volume([in] long newVal);
  223. [propget, id(65), helpstring("property Balance")] HRESULT Balance([out, retval] long *pVal);
  224. [propput, id(65), helpstring("property Balance")] HRESULT Balance([in] long newVal);
  225. [propget, id(66), helpstring("property EnableResetOnStop")] HRESULT EnableResetOnStop([out, retval] VARIANT_BOOL *pVal);
  226. [propput, id(66), helpstring("property EnableResetOnStop")] HRESULT EnableResetOnStop([in] VARIANT_BOOL newVal);
  227. [propget, id(67), helpstring("property ShowCursor")] HRESULT ShowCursor([out, retval] VARIANT_BOOL *pVal);
  228. [propput, id(67), helpstring("property ShowCursor")] HRESULT ShowCursor([in] VARIANT_BOOL fShow);
  229. //[id(68), helpstring("method ProcessEvents")] HRESULT ProcessEvents();
  230. [id(68), helpstring("method DVDTimeCode2bstr")] HRESULT DVDTimeCode2bstr([in] long timeCode, [out, retval] BSTR *pTimeStr);
  231. [propget, id(69), helpstring("property WindowlessActivation")] HRESULT WindowlessActivation([out, retval] VARIANT_BOOL *pVal);
  232. [propput, id(69), helpstring("property WindowlessActivation")] HRESULT WindowlessActivation([in] VARIANT_BOOL newVal);
  233. [propget, id(70), helpstring("property DisableAutoMouseProcessing")] HRESULT DisableAutoMouseProcessing([out, retval] VARIANT_BOOL *pVal);
  234. [propput, id(70), helpstring("property DisableAutoMouseProcessing")] HRESULT DisableAutoMouseProcessing([in] VARIANT_BOOL newVal);
  235. [id(72), helpstring("method GetDVDScreenInMouseCoordinates")] HRESULT GetDVDScreenInMouseCoordinates([out, retval]IDVDRect** ppRect);
  236. [id(73), helpstring("method SetDVDScreenInMouseCoordinates")] HRESULT SetDVDScreenInMouseCoordinates([in]IDVDRect* pRect);
  237. [id(74), helpstring("method GetClipVideoRect")] HRESULT GetClipVideoRect([out, retval]IDVDRect** ppRect);
  238. [id(75), helpstring("method GetVideoSize")] HRESULT GetVideoSize([out, retval]IDVDRect** ppRect);
  239. [id(76), helpstring("method SetClipVideoRect")] HRESULT SetClipVideoRect([in]IDVDRect* pRect);
  240. [id(77), helpstring("method GetPlayerParentalLevel")] HRESULT GetPlayerParentalLevel([out, retval]long* plParentalLevel);
  241. [id(78), helpstring("method GetPlayerParentalCountry")] HRESULT GetPlayerParentalCountry([out, retval]long* plCountryCode);
  242. [id(79), helpstring("method GetTitleParentalLevels")] HRESULT GetTitleParentalLevels([in]long lTitle, [out, retval]long* plParentalLevels);
  243. [id(80), helpstring("method SelectParentalLevel")] HRESULT SelectParentalLevel([in]long lParentalLevel, [in] BSTR strUserName, [in] BSTR strPassword);
  244. [id(81), helpstring("method SelectParentalCountry")] HRESULT SelectParentalCountry([in]long lCountry, [in] BSTR strUserName, [in] BSTR strPassword);
  245. [id(82), helpstring("NotifyParentalLevelChange")] HRESULT NotifyParentalLevelChange([in] VARIANT_BOOL newVal);
  246. [id(83), helpstring("method AcceptParentalLevelChange")] HRESULT AcceptParentalLevelChange([in]VARIANT_BOOL fAccept, [in] BSTR strUserName, [in] BSTR strPassword);
  247. [id(84), helpstring("method Eject")] HRESULT Eject();
  248. [id(85), helpstring("method SetGPRM")] HRESULT SetGPRM([in]long lIndex,[in]short sValue);
  249. [id(86), helpstring("method GetDVDTextNumberOfLanguages")] HRESULT GetDVDTextNumberOfLanguages([out, retval]long* plNumOfLangs);
  250. [id(87), helpstring("method GetDVDTextNumberOfStrings")] HRESULT GetDVDTextNumberOfStrings([in]long lLangIndex, [out, retval]long* plNumOfStrings);
  251. [id(88), helpstring("method GetDVDTextString")] HRESULT GetDVDTextString([in]long lLangIndex, [in]long lStringIndex, [out, retval]BSTR* pstrText);
  252. [id(89), helpstring("method GetDVDTextStringType")] HRESULT GetDVDTextStringType([in]long lLangIndex, [in]long lStringIndex, [out, retval]DVDTextStringType* pType);
  253. [id(90), helpstring("method SelectDefaultSubpictureLanguage")] HRESULT SelectDefaultSubpictureLanguage([in]long lang, [in]DVDSPExt ext);
  254. [id(91), helpstring("method SelectDefaultAudioLanguage")] HRESULT SelectDefaultAudioLanguage([in]long lang, [in]long ext);
  255. [propget, id(92), helpstring("property ToolTip")] HRESULT ToolTip([out, retval] BSTR *pVal);
  256. [propput, id(92), helpstring("property ToolTip")] HRESULT ToolTip([in] BSTR newVal);
  257. [id(93), helpstring("method GetDelayTime")] HRESULT GetDelayTime([in]long delayType, [out, retval] VARIANT *pVal);
  258. [id(94), helpstring("method SetDelayTime")] HRESULT SetDelayTime([in]long delayType, [in] VARIANT newVal);
  259. [propget, id(95), helpstring("property ToolTipMaxWidth")] HRESULT ToolTipMaxWidth([out, retval] long *pVal);
  260. [propput, id(95), helpstring("property ToolTipMaxWidth")] HRESULT ToolTipMaxWidth([in] long newVal);
  261. [propget, id(96), helpstring("property DVDAdm")] HRESULT DVDAdm([out, retval] IDispatch* *pVal);
  262. [propget, id(97), helpstring("property CursorType")] HRESULT CursorType([out, retval] DVDCursorType *pVal);
  263. [propput, id(97), helpstring("property CursorType")] HRESULT CursorType([in] DVDCursorType newVal);
  264. [id(98), helpstring("method Zoom")] HRESULT Zoom([in]long x, [in]long y, [in]double zoomRatio);
  265. [id(99), helpstring("method RegionChange")] HRESULT RegionChange();
  266. [id(100), helpstring("method SaveBookmark")] HRESULT SaveBookmark();
  267. [id(101), helpstring("method RestoreBookmark")] HRESULT RestoreBookmark();
  268. [id(102), helpstring("method DeleteBookmark")] HRESULT DeleteBookmark();
  269. [id(103), helpstring("method Capture")] HRESULT Capture();
  270. [propget, id(105), helpstring("property PreferredSubpictureStream")] HRESULT PreferredSubpictureStream([out,retval]long* pVal);
  271. [id(106), helpstring("method CanStep")] HRESULT CanStep([in, defaultvalue(0)]VARIANT_BOOL fBackwards, [out, retval]VARIANT_BOOL* pfCan);
  272. [id(107), helpstring("method Step")] HRESULT Step([in]long lStep);
  273. [propget, id(108), helpstring("property AspectRatio")] HRESULT AspectRatio([out, retval] double *pVal);
  274. [id(109), helpstring("method GetKaraokeChannelAssignment")] HRESULT GetKaraokeChannelAssignment([in]long lStream, [out, retval] long *lChannelAssignment);
  275. [id(110), helpstring("method GetKaraokeChannelContent")] HRESULT GetKaraokeChannelContent([in]long lStream, [in]long lChan, [out, retval] long* lContent);
  276. [propget, id(111), helpstring("property KaraokeAudioPresentationMode")] HRESULT KaraokeAudioPresentationMode([out, retval] long *pVal);
  277. [propput, id(111), helpstring("property KaraokeAudioPresentationMode")] HRESULT KaraokeAudioPresentationMode([in] long newVal);
  278. [propget, id(112), helpstring("method DefaultAudioLanguage")] HRESULT DefaultAudioLanguage([out, retval] long *lang);
  279. [propget, id(113), helpstring("method DefaultAudioLanguageExt")] HRESULT DefaultAudioLanguageExt([out, retval] long* ext);
  280. [propget, id(114), helpstring("method DefaultSubpictureLanguage")] HRESULT DefaultSubpictureLanguage([out, retval] long* lang);
  281. [propget, id(115), helpstring("method DefaultSubpictureLanguageExt")] HRESULT DefaultSubpictureLanguageExt([out, retval] DVDSPExt* ext);
  282. [propget, id(116), helpstring("method DefaultMenuLanguage")] HRESULT DefaultMenuLanguage([out, retval] long* lang);
  283. [propput, id(116), helpstring("method DefaultMenuLanguage")] HRESULT DefaultMenuLanguage([in] long lang);
  284. [id(118), helpstring("method GetLangFromLangID")] HRESULT GetLangFromLangID([in] long langID, [out, retval] BSTR* lang);
  285. [id(119), helpstring("method IsAudioStreamEnabled")] HRESULT IsAudioStreamEnabled([in] long lstream, [out, retval] VARIANT_BOOL *fEnabled);
  286. [id(120), helpstring("method IsSubpictureStreamEnabled")] HRESULT IsSubpictureStreamEnabled([in] long lstream, [out, retval] VARIANT_BOOL *fEnabled);
  287. [id(121), helpstring("method GetDVDTextLanguageLCID")] HRESULT GetDVDTextLanguageLCID([in] long lLangIndex, [out, retval] long* lcid);
  288. [propput, id(DISPID_BACKCOLOR)] HRESULT BackColor([in]VARIANT clr);
  289. [propget, id(DISPID_BACKCOLOR)] HRESULT BackColor([out,retval]VARIANT* pclr);
  290. [propget, id(DISPID_READYSTATE)] HRESULT ReadyState([out, retval] LONG *pVal);
  291. };
  292. [
  293. uuid(38EE5CE1-4B62-11D3-854F-00A0C9C898E7),
  294. version(1.0),
  295. helpstring("MSWebDVD 1.0 Type Library")
  296. ]
  297. library MSWEBDVDLib
  298. {
  299. importlib("stdole2.tlb");
  300. [uuid(2490FEF2-9F03-4bb4-9AD7-3A3FC58206A4),
  301. helpstring("Event interface for DVDChapter control") ]
  302. dispinterface _IMSWebDVD
  303. {
  304. properties:
  305. // Event interface has no properties
  306. methods:
  307. [id(1), helpstring("Notifies the client about DVD Code")] void DVDNotify([in]long lEventCode, [in]VARIANT lParam1, [in]VARIANT lParam2);
  308. [id(2), helpstring("Notifies the client")] void PlayForwards([in] VARIANT_BOOL bEnabled);
  309. [id(3), helpstring("Notifies the client")] void PlayBackwards([in] VARIANT_BOOL bEnabled);
  310. [id(4), helpstring("Notifies the client")] void ShowMenu([in]DVDMenuIDConstants, [in] VARIANT_BOOL bEnabled);
  311. [id(5), helpstring("Notifies the client")] void Resume([in] VARIANT_BOOL bEnabled);
  312. [id(6), helpstring("Notifies the client")] void SelectOrActivatButton([in] VARIANT_BOOL bEnabled);
  313. [id(7), helpstring("Notifies the client")] void StillOff([in] VARIANT_BOOL bEnabled);
  314. [id(8), helpstring("Notifies the client")] void PauseOn([in] VARIANT_BOOL bEnabled);
  315. [id(9), helpstring("Notifies the client")] void ChangeCurrentAudioStream([in] VARIANT_BOOL bEnabled);
  316. [id(10), helpstring("Notifies the client")] void ChangeCurrentSubpictureStream([in] VARIANT_BOOL bEnabled);
  317. [id(11), helpstring("Notifies the client")] void ChangeCurrentAngle([in] VARIANT_BOOL bEnabled);
  318. [id(12), helpstring("Notifies the client")] void PlayAtTimeInTitle([in] VARIANT_BOOL bEnabled);
  319. [id(13), helpstring("Notifies the client")] void PlayAtTime([in] VARIANT_BOOL bEnabled);
  320. [id(14), helpstring("Notifies the client")] void PlayChapterInTitle([in] VARIANT_BOOL bEnabled);
  321. [id(15), helpstring("Notifies the client")] void PlayChapter([in] VARIANT_BOOL bEnabled);
  322. [id(16), helpstring("Notifies the client")] void ReplayChapter([in] VARIANT_BOOL bEnabled);
  323. [id(17), helpstring("Notifies the client")] void PlayNextChapter([in] VARIANT_BOOL bEnabled);
  324. [id(18), helpstring("Notifies the client")] void Stop([in] VARIANT_BOOL bEnabled);
  325. [id(19), helpstring("Notifies the client")] void ReturnFromSubmenu([in] VARIANT_BOOL bEnabled);
  326. [id(20), helpstring("Notifies the client")] void PlayTitle([in] VARIANT_BOOL bEnabled);
  327. [id(21), helpstring("Notifies the client")] void PlayPrevChapter([in] VARIANT_BOOL bEnabled);
  328. [id(22), helpstring("Notifies the client")] void UpdateOverlay();
  329. [id(DISPID_READYSTATECHANGE), helpstring("Reports that the ReadyState property of the ActiveMovie Control has changed")] void ReadyStateChange([in] LONG ReadyState); // Should be using READYSTATE but ATL does not like it much
  330. };
  331. [
  332. object,
  333. uuid(84440B2B-931C-4183-BF8B-B98BC09FD2E9),
  334. dual,
  335. helpstring("IOverlayCallback Interface"),
  336. pointer_default(unique)
  337. ]
  338. interface IOverlayCallback : IDispatch
  339. {
  340. [id(1), helpstring("method SetDDrawDVD")] HRESULT SetDDrawDVD([in] VARIANT pDDrawDVD);
  341. };
  342. [
  343. uuid(38EE5CEE-4B62-11D3-854F-00A0C9C898E7),
  344. helpstring("MSWebDVD Class")
  345. ]
  346. coclass MSWebDVD
  347. {
  348. [default] interface IMSWebDVD;
  349. [default, source] interface _IMSWebDVD;
  350. };
  351. [
  352. uuid(B9240A2E-EE1A-4E1F-AD76-6536F9D3B176),
  353. helpstring("DVDRect Class")
  354. ]
  355. coclass DVDRect
  356. {
  357. [default] interface IDVDRect;
  358. };
  359. [
  360. uuid(8D670533-270B-4549-B19B-414FB9C6EBDB),
  361. helpstring("MSDVDAdm Class")
  362. ]
  363. coclass MSDVDAdm
  364. {
  365. [default] interface IMSDVDAdm;
  366. };
  367. [
  368. uuid(38AA78B2-B824-4C63-A512-02FD95FBDF4C),
  369. helpstring("OverlayCallback Class")
  370. ]
  371. coclass OverlayCallback
  372. {
  373. [default] interface IOverlayCallback;
  374. };
  375. };
  376. /*************************************************************************/
  377. /* End of file: mswebdvd.idl */
  378. /*************************************************************************/