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.

91 lines
2.3 KiB

  1. // blockdriver.idl : IDL source for blockdriver.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (blockdriver.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(13F176D6-9B1D-477D-BD33-6FE75E960578),
  10. dual,
  11. helpstring("IBlockedDrivers Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface IBlockedDrivers : IDispatch
  15. {
  16. [id(1), helpstring("method BlockedDrivers")] HRESULT BlockedDrivers([out,retval] LPDISPATCH * pCollection);
  17. };
  18. [
  19. object,
  20. uuid(5FD0C0B2-0C30-43B2-A95B-2D7894ACD1C1),
  21. dual,
  22. helpstring("IDrivers Interface"),
  23. pointer_default(unique)
  24. ]
  25. interface IDrivers : IDispatch
  26. {
  27. [propget, id(DISPID_NEWENUM)] HRESULT _NewEnum([out, retval] IUnknown** ppUnk);
  28. [id(DISPID_VALUE), helpstring("method Item")] HRESULT Item([in] long Index,[out, retval] LPDISPATCH * pVal);
  29. [propget, id(1), helpstring("property Count")] HRESULT Count([out, retval] long *pVal);
  30. };
  31. [
  32. object,
  33. uuid(08B6A002-8A41-4282-AE6C-7BE38158640C),
  34. dual,
  35. helpstring("IDriver Interface"),
  36. pointer_default(unique)
  37. ]
  38. interface IDriver : IDispatch
  39. {
  40. [propget, id(1), helpstring("property Name")] HRESULT Name([out, retval] BSTR *pVal);
  41. [propget, id(2), helpstring("property Description")] HRESULT Description([out, retval] BSTR *pVal);
  42. [propget, id(3), helpstring("property Manufacturer")] HRESULT Manufacturer([out, retval] BSTR *pVal);
  43. [propget, id(4), helpstring("property HelpFile")] HRESULT HelpFile([out, retval] BSTR *pVal);
  44. };
  45. [
  46. object,
  47. uuid(16D32DAD-FBDA-44A4-A2C2-B196B4D9FB59),
  48. helpstring("IDriversEnum Interface"),
  49. pointer_default(unique)
  50. ]
  51. interface IDriversEnum : IEnumVARIANT
  52. {
  53. };
  54. [
  55. uuid(B842074C-8E12-4178-A6D8-7C0D7C87C43E),
  56. version(1.0),
  57. helpstring("blockdriver 1.0 Type Library")
  58. ]
  59. library BLOCKDRIVERLib
  60. {
  61. importlib("stdole32.tlb");
  62. importlib("stdole2.tlb");
  63. [
  64. uuid(783C030F-E948-487D-B35D-94FCF0F0C172),
  65. helpstring("BlockedDrivers Class")
  66. ]
  67. coclass BlockedDrivers
  68. {
  69. [default] interface IBlockedDrivers;
  70. };
  71. [
  72. uuid(D1AE835C-9D92-492F-80B4-43356F75038C),
  73. helpstring("Drivers Class")
  74. ]
  75. coclass Drivers
  76. {
  77. [default] interface IDrivers;
  78. };
  79. [
  80. uuid(B62314FC-1215-4AEC-BCCD-AE51609BA291),
  81. helpstring("Driver Class")
  82. ]
  83. coclass Driver
  84. {
  85. [default] interface IDriver;
  86. };
  87. };