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.

101 lines
2.7 KiB

  1. // cnfgprts.odl : type library source for OLE Control project.
  2. #include <olectl.h>
  3. #include <idispids.h>
  4. import "oaidl.idl";
  5. [ uuid(BA634600-B771-11D0-9296-00C04FB6678B), version(1.0),
  6. helpstring("cnfgprts OLE Control module"), control ]
  7. library CNFGPRTSLib
  8. {
  9. importlib(STDOLE_TLB);
  10. importlib(STDTYPE_TLB);
  11. [ uuid(BA634601-B771-11D0-9296-00C04FB6678B),
  12. helpstring("Dispatch interface for LogUI Control"), hidden ]
  13. dispinterface _DLogUI
  14. {
  15. properties:
  16. //{{AFX_ODL_PROP(CLogUICtrl)
  17. [id(DISPID_CAPTION), bindable, requestedit] BSTR Caption;
  18. [id(DISPID_FONT), bindable] IFontDisp* Font;
  19. [id(DISPID_ENABLED), bindable, requestedit] boolean Enabled;
  20. [id(DISPID_BORDERSTYLE), bindable, requestedit] short BorderStyle;
  21. //}}AFX_ODL_PROP
  22. methods:
  23. //{{AFX_ODL_METHOD(CLogUICtrl)
  24. [id(1)] void SetAdminTarget(BSTR szMachineName, BSTR szMetaTarget);
  25. [id(2)] void ApplyLogSelection();
  26. [id(3)] void SetComboBox(HWND hComboBox);
  27. [id(4)] void Terminate();
  28. [id(DISPID_DOCLICK)] void DoClick();
  29. //}}AFX_ODL_METHOD
  30. };
  31. [ uuid(BA634602-B771-11D0-9296-00C04FB6678B),
  32. helpstring("Event interface for LogUI Control") ]
  33. dispinterface _DLogUIEvents
  34. {
  35. properties:
  36. // Event interface has no properties
  37. methods:
  38. //{{AFX_ODL_EVENT(CLogUICtrl)
  39. [id(DISPID_CLICK)] void Click();
  40. [id(DISPID_KEYUP)] void KeyUp(short* KeyCode, short Shift);
  41. //}}AFX_ODL_EVENT
  42. };
  43. [ uuid(BA634603-B771-11D0-9296-00C04FB6678B),
  44. helpstring("LogUI Control"), control ]
  45. coclass LogUI
  46. {
  47. [default] dispinterface _DLogUI;
  48. [default, source] dispinterface _DLogUIEvents;
  49. };
  50. [ uuid(BA634605-B771-11D0-9296-00C04FB6678B),
  51. helpstring("Dispatch interface for Rat Control"), hidden ]
  52. dispinterface _DRat
  53. {
  54. properties:
  55. //{{AFX_ODL_PROP(CRatCtrl)
  56. [id(DISPID_BORDERSTYLE), bindable, requestedit] short BorderStyle;
  57. [id(DISPID_ENABLED), bindable, requestedit] boolean Enabled;
  58. [id(DISPID_FONT), bindable] IFontDisp* Font;
  59. [id(DISPID_CAPTION), bindable, requestedit] BSTR Caption;
  60. //}}AFX_ODL_PROP
  61. methods:
  62. //{{AFX_ODL_METHOD(CRatCtrl)
  63. [id(1)] void SetAdminTarget(BSTR szMachineName, BSTR szMetaTarget);
  64. [id(DISPID_DOCLICK)] void DoClick();
  65. //}}AFX_ODL_METHOD
  66. };
  67. [ uuid(BA634606-B771-11D0-9296-00C04FB6678B),
  68. helpstring("Event interface for Rat Control") ]
  69. dispinterface _DRatEvents
  70. {
  71. properties:
  72. // Event interface has no properties
  73. methods:
  74. //{{AFX_ODL_EVENT(CRatCtrl)
  75. [id(DISPID_CLICK)] void Click();
  76. [id(DISPID_KEYUP)] void KeyUp(short* KeyCode, short Shift);
  77. //}}AFX_ODL_EVENT
  78. };
  79. [ uuid(BA634607-B771-11D0-9296-00C04FB6678B),
  80. helpstring("Rat Control"), control ]
  81. coclass Rat
  82. {
  83. [default] dispinterface _DRat;
  84. [default, source] dispinterface _DRatEvents;
  85. };
  86. //{{AFX_APPEND_ODL}}
  87. };