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.

72 lines
2.0 KiB

  1. // Splitter.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 (Splitter.tlb) that will become a resource in
  4. // Splitter.ocx.
  5. #include <olectl.h>
  6. #include <idispids.h>
  7. [ uuid(58BB5D5F-8E20-11D2-8ADA-0000F87A3912), version(1.0),
  8. helpfile("Splitter.hlp"),
  9. helpstring("Splitter ActiveX Control module"),
  10. control ]
  11. library SPLITTERLib
  12. {
  13. importlib(STDOLE_TLB);
  14. importlib(STDTYPE_TLB);
  15. // Primary dispatch interface for CSplitterCtrl
  16. [ uuid(58BB5D60-8E20-11D2-8ADA-0000F87A3912),
  17. helpstring("Dispatch interface for Splitter Control"), hidden ]
  18. dispinterface _DSplitter
  19. {
  20. properties:
  21. // NOTE - ClassWizard will maintain property information here.
  22. // Use extreme caution when editing this section.
  23. //{{AFX_ODL_PROP(CSplitterCtrl)
  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(CSplitterCtrl)
  29. [id(1)] boolean CreateControl(long lRow, long lColumn, BSTR lpszControlID);
  30. [id(2)] boolean GetControl(long lRow, long lColumn, long* phCtlWnd);
  31. [id(3)] IUnknown* GetControlIUnknown(long lRow, long lColumn);
  32. //}}AFX_ODL_METHOD
  33. [id(DISPID_ABOUTBOX)] void AboutBox();
  34. };
  35. // Event dispatch interface for CSplitterCtrl
  36. [ uuid(58BB5D61-8E20-11D2-8ADA-0000F87A3912),
  37. helpstring("Event interface for Splitter Control") ]
  38. dispinterface _DSplitterEvents
  39. {
  40. properties:
  41. // Event interface has no properties
  42. methods:
  43. // NOTE - ClassWizard will maintain event information here.
  44. // Use extreme caution when editing this section.
  45. //{{AFX_ODL_EVENT(CSplitterCtrl)
  46. //}}AFX_ODL_EVENT
  47. };
  48. // Class information for CSplitterCtrl
  49. [ uuid(668E5408-8E05-11D2-8ADA-0000F87A3912), licensed,
  50. helpstring("Splitter Control"), control ]
  51. coclass Splitter
  52. {
  53. [default] dispinterface _DSplitter;
  54. [default, source] dispinterface _DSplitterEvents;
  55. };
  56. //{{AFX_APPEND_ODL}}
  57. //}}AFX_APPEND_ODL}}
  58. };