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.

71 lines
2.4 KiB

  1. // Copyright (c) 1999 Microsoft Corporation. All Rights Reserved.
  2. // msdvdopt.idl : IDL source for msdvdopt.dll
  3. //
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (msdvdopt.tlb) and marshalling code.
  6. import "oaidl.idl";
  7. import "ocidl.idl";
  8. #include "olectl.h"
  9. [
  10. object,
  11. uuid(D549AF1E-3799-4D96-9475-E22610E0718D),
  12. dual,
  13. helpstring("Idvdopt Interface"),
  14. pointer_default(unique)
  15. ]
  16. interface Idvdopt : IDispatch
  17. {
  18. typedef enum {
  19. PG_OVERRIDE_CONTENT = 0,
  20. PG_OVERRIDE_DVDNAV = 1
  21. } PG_OVERRIDE_REASON;
  22. [propget, id(1), helpstring("property WebDVD")] HRESULT WebDVD([out, retval] IDispatch* *pVal);
  23. [propput, id(1), helpstring("property WebDVD")] HRESULT WebDVD([in] IDispatch* newVal);
  24. [propget, id(2), helpstring("property ParentWindow")] HRESULT ParentWindow([out, retval] VARIANT *pVal);
  25. [propput, id(2), helpstring("property ParentWindow")] HRESULT ParentWindow([in] VARIANT newVal);
  26. [id(3), helpstring("method Show")] HRESULT Show();
  27. [id(4), helpstring("method Close")] HRESULT Close();
  28. [propget, id(6), helpstring("property ForwardScanSpeed")] HRESULT ForwardScanSpeed([out, retval] double *pVal);
  29. [propput, id(6), helpstring("property ForwardScanSpeed")] HRESULT ForwardScanSpeed([in] double newVal);
  30. [propget, id(7), helpstring("property BackwardScanSpeed")] HRESULT BackwardScanSpeed([out, retval] double *pVal);
  31. [propput, id(7), helpstring("property BackwardScanSpeed")] HRESULT BackwardScanSpeed([in] double newVal);
  32. [propget, id(8), helpstring("property PlaySpeed")] HRESULT PlaySpeed([out, retval] double *pVal);
  33. [propput, id(8), helpstring("property PlaySpeed")] HRESULT PlaySpeed([in] double newVal);
  34. [id(9), helpstring("method ParentalLevelOverride")] HRESULT ParentalLevelOverride([in] PG_OVERRIDE_REASON reason);
  35. };
  36. [
  37. uuid(BC4AAECA-8E95-4ECD-B4AE-CEE658EB81AB),
  38. version(1.0),
  39. helpstring("msdvdopt 1.0 Type Library")
  40. ]
  41. library MSDVDOPTLib
  42. {
  43. importlib("stdole2.tlb");
  44. [uuid(6C727BC0-DBCB-406f-B8AD-89EDED823163),
  45. helpstring("Event interface for DVDOpt control") ]
  46. dispinterface _IDVDOpt
  47. {
  48. properties:
  49. // Event interface has no properties
  50. methods:
  51. [id(1), helpstring("OnOpen")] void OnOpen();
  52. [id(2), helpstring("OnClose")] void OnClose();
  53. };
  54. [
  55. uuid(574B4740-A328-42D6-A8E2-3F7C2F9D429C),
  56. helpstring("dvdopt Class")
  57. ]
  58. coclass dvdopt
  59. {
  60. [default] interface Idvdopt;
  61. [default, source] interface _IDVDOpt;
  62. };
  63. };