Leaked source code of windows server 2003
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.

104 lines
3.0 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. [id(5)] void SetUserData(BSTR szName, BSTR szPassword);
  30. //}}AFX_ODL_METHOD
  31. };
  32. [ uuid(BA634602-B771-11D0-9296-00C04FB6678B),
  33. helpstring("Event interface for LogUI Control") ]
  34. dispinterface _DLogUIEvents
  35. {
  36. properties:
  37. // Event interface has no properties
  38. methods:
  39. //{{AFX_ODL_EVENT(CLogUICtrl)
  40. [id(DISPID_CLICK)] void Click();
  41. [id(DISPID_KEYUP)] void KeyUp(short* KeyCode, short Shift);
  42. //}}AFX_ODL_EVENT
  43. };
  44. [ uuid(BA634603-B771-11D0-9296-00C04FB6678B),
  45. helpstring("LogUI Control"), control ]
  46. coclass LogUI
  47. {
  48. [default] dispinterface _DLogUI;
  49. [default, source] dispinterface _DLogUIEvents;
  50. };
  51. [ uuid(BA634605-B771-11D0-9296-00C04FB6678B),
  52. helpstring("Dispatch interface for Rat Control"), hidden ]
  53. dispinterface _DRat
  54. {
  55. properties:
  56. //{{AFX_ODL_PROP(CRatCtrl)
  57. [id(DISPID_BORDERSTYLE), bindable, requestedit] short BorderStyle;
  58. [id(DISPID_ENABLED), bindable, requestedit] boolean Enabled;
  59. [id(DISPID_FONT), bindable] IFontDisp* Font;
  60. [id(DISPID_CAPTION), bindable, requestedit] BSTR Caption;
  61. //}}AFX_ODL_PROP
  62. methods:
  63. //{{AFX_ODL_METHOD(CRatCtrl)
  64. [id(1)] void SetAdminTarget(BSTR szMachineName, BSTR szMetaTarget);
  65. [id(DISPID_DOCLICK)] void DoClick();
  66. [id(2)] void SetUserData(BSTR szUserName, BSTR szUserPassword);
  67. [id(3)] void SetUrl(BSTR szURL);
  68. //}}AFX_ODL_METHOD
  69. };
  70. [ uuid(BA634606-B771-11D0-9296-00C04FB6678B),
  71. helpstring("Event interface for Rat Control") ]
  72. dispinterface _DRatEvents
  73. {
  74. properties:
  75. // Event interface has no properties
  76. methods:
  77. //{{AFX_ODL_EVENT(CRatCtrl)
  78. [id(DISPID_CLICK)] void Click();
  79. [id(DISPID_KEYUP)] void KeyUp(short* KeyCode, short Shift);
  80. //}}AFX_ODL_EVENT
  81. };
  82. [ uuid(BA634607-B771-11D0-9296-00C04FB6678B),
  83. helpstring("Rat Control"), control ]
  84. coclass Rat
  85. {
  86. [default] dispinterface _DRat;
  87. [default, source] dispinterface _DRatEvents;
  88. };
  89. //{{AFX_APPEND_ODL}}
  90. };