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.

98 lines
3.3 KiB

  1. #include <olectl.h>
  2. // DfrgUI.idl : IDL source for DfrgUI.dll
  3. //
  4. // This file will be processed by the MIDL tool to
  5. // produce the type library (DfrgUI.tlb) and marshalling code.
  6. // original:
  7. // [propput, id(DISPID_ENABLED)] HRESULT Enabled([in]VARIANT_BOOL Enabled);
  8. // [propget, id(DISPID_ENABLED)] HRESULT Enabled([out, retval]VARIANT_BOOL* pEnabled);
  9. // generated by wizard when I added them:
  10. // [propput, id(9), helpstring("property Enabled")] HRESULT Enabled([in] BOOL newVal);
  11. // [propget, id(9), helpstring("property Enabled")] HRESULT Enabled([out, retval] BOOL *pVal);
  12. import "oaidl.idl";
  13. import "ocidl.idl";
  14. [
  15. object,
  16. uuid(202D3AEE-2F0E-11D1-A1F6-0080C88593A5),
  17. dual,
  18. helpstring("IDfrgCtl Interface"),
  19. pointer_default(unique)
  20. ]
  21. interface IDfrgCtl : IDispatch
  22. {
  23. [propput, id(DISPID_BORDERSTYLE)] HRESULT BorderStyle([in]long nBorderStyle);
  24. [propget, id(DISPID_BORDERSTYLE)] HRESULT BorderStyle([out, retval]long* pnBorderStyle);
  25. [propput, id(DISPID_APPEARANCE)] HRESULT Appearance([in]long nAppearance);
  26. [propget, id(DISPID_APPEARANCE)] HRESULT Appearance([out, retval]long* pnAppearance);
  27. [propput, id(DISPID_ENABLED)] HRESULT Enabled([in] BOOL newVal);
  28. [propget, id(DISPID_ENABLED)] HRESULT Enabled([out, retval] BOOL *pVal);
  29. [propput, id(DISPID_FILLCOLOR)] HRESULT FillColor([in]OLE_COLOR clr);
  30. [propget, id(DISPID_FILLCOLOR)] HRESULT FillColor([out, retval]OLE_COLOR* pclr);
  31. [propget, id(1), helpstring("property Command")] HRESULT Command([out, retval] short *pVal);
  32. [propput, id(1), helpstring("property Command")] HRESULT Command([in] short newVal);
  33. [propget, id(2), helpstring("property EngineState")] HRESULT EngineState([out, retval] short *pVal);
  34. [propget, id(3), helpstring("property ReportStatus")] HRESULT ReportStatus([out, retval] BOOL *pVal);
  35. [propget, id(4), helpstring("property IsEnginePaused")] HRESULT IsEnginePaused([out, retval] BOOL *pVal);
  36. [propget, id(5), helpstring("property IsEngineRunning")] HRESULT IsEngineRunning([out, retval] BOOL *pVal);
  37. [propget, id(6), helpstring("property IsDefragInProcess")] HRESULT IsDefragInProcess([out, retval] BOOL *pVal);
  38. [propget, id(7), helpstring("property IsVolListLocked")] HRESULT IsVolListLocked([out, retval] BOOL *pVal);
  39. [propget, id(8), helpstring("property IsOkToRun")] HRESULT IsOkToRun([out, retval] BOOL *pVal);
  40. };
  41. [
  42. object,
  43. uuid(8B43CF5D-56ED-11D1-8857-0060975EC077),
  44. dual,
  45. helpstring("IGraphicsWindow Interface"),
  46. pointer_default(unique)
  47. ]
  48. interface IGraphicsWindow : IDispatch
  49. {
  50. };
  51. [
  52. object,
  53. uuid(57BC50BF-780B-11d1-8C44-0060083E866C),
  54. helpstring("Dfrg Control Events"),
  55. pointer_default(unique)
  56. ]
  57. interface IDfrgEvents : IUnknown
  58. {
  59. [id(1), helpstring("method StatusChanged")] HRESULT StatusChanged( [in] BSTR bszStatus );
  60. [id(2), helpstring("method IsOKToRun")] HRESULT IsOKToRun( [in] BOOL bOK );
  61. };
  62. [
  63. uuid(202D3AE0-2F0E-11D1-A1F6-0080C88593A5),
  64. version(1.0),
  65. helpstring("DfrgUI 1.0 Type Library")
  66. ]
  67. library DFRGUILib
  68. {
  69. importlib("stdole2.tlb");
  70. [
  71. uuid(202D3AEF-2F0E-11D1-A1F6-0080C88593A5),
  72. helpstring("DfrgCtl Class")
  73. ]
  74. coclass DfrgCtl
  75. {
  76. [default] interface IDfrgCtl;
  77. [default,source] interface IDfrgEvents;
  78. };
  79. [
  80. uuid(8B43CF5E-56ED-11D1-8857-0060975EC077),
  81. helpstring("GraphicsWindow Class")
  82. ]
  83. coclass GraphicsWindow
  84. {
  85. [default] interface IGraphicsWindow;
  86. };
  87. };