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.

74 lines
2.1 KiB

  1. // HMTabView.odl : type library source for ActiveX Control project.
  2. // This file will be processed by the Make Type Library (mktyplib) tool to
  3. // produce the type library (HMTabView.tlb) that will become a resource in
  4. // HMTabView.ocx.
  5. #include <olectl.h>
  6. #include <idispids.h>
  7. [ uuid(4FFFC389-2F1E-11D3-BE10-0000F87A3912), version(1.0),
  8. helpfile("HMTabView.hlp"),
  9. helpstring("HMTabView ActiveX Control module"),
  10. control ]
  11. library HMTABVIEWLib
  12. {
  13. importlib(STDOLE_TLB);
  14. importlib(STDTYPE_TLB);
  15. // Primary dispatch interface for CHMTabViewCtrl
  16. [ uuid(4FFFC38A-2F1E-11D3-BE10-0000F87A3912),
  17. helpstring("Dispatch interface for HMTabView Control"), hidden ]
  18. dispinterface _DHMTabView
  19. {
  20. properties:
  21. // NOTE - ClassWizard will maintain property information here.
  22. // Use extreme caution when editing this section.
  23. //{{AFX_ODL_PROP(CHMTabViewCtrl)
  24. //}}AFX_ODL_PROP
  25. methods:
  26. // NOTE - ClassWizard will maintain method information here.
  27. // Use extreme caution when editing this section.
  28. //{{AFX_ODL_METHOD(CHMTabViewCtrl)
  29. [id(1)] boolean InsertItem(long lMask, long lItem, BSTR lpszItem, long lImage, long lParam);
  30. [id(2)] boolean DeleteItem(long lItem);
  31. [id(3)] boolean DeleteAllItems();
  32. [id(4)] boolean CreateControl(long lItem, BSTR lpszControlID);
  33. [id(5)] IUnknown* GetControl(long lItem);
  34. //}}AFX_ODL_METHOD
  35. [id(DISPID_ABOUTBOX)] void AboutBox();
  36. };
  37. // Event dispatch interface for CHMTabViewCtrl
  38. [ uuid(4FFFC38B-2F1E-11D3-BE10-0000F87A3912),
  39. helpstring("Event interface for HMTabView Control") ]
  40. dispinterface _DHMTabViewEvents
  41. {
  42. properties:
  43. // Event interface has no properties
  44. methods:
  45. // NOTE - ClassWizard will maintain event information here.
  46. // Use extreme caution when editing this section.
  47. //{{AFX_ODL_EVENT(CHMTabViewCtrl)
  48. //}}AFX_ODL_EVENT
  49. };
  50. // Class information for CHMTabViewCtrl
  51. [ uuid(4FFFC38C-2F1E-11D3-BE10-0000F87A3912), licensed,
  52. helpstring("HMTabView Control"), control ]
  53. coclass HMTabView
  54. {
  55. [default] dispinterface _DHMTabView;
  56. [default, source] dispinterface _DHMTabViewEvents;
  57. };
  58. //{{AFX_APPEND_ODL}}
  59. //}}AFX_APPEND_ODL}}
  60. };