home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / source / chap04 / lst43 / lst43.odl < prev    next >
Encoding:
Microsoft Object Description Language  |  1996-09-26  |  1.8 KB  |  67 lines

  1. // lst43.odl : type library source for OLE Control project.
  2.  
  3. // This file will be processed by the Make Type Library (mktyplib) tool to
  4. // produce the type library (lst43.tlb) that will become a resource in
  5. // lst43.ocx.
  6.  
  7. #include <olectl.h>
  8.  
  9. [ uuid(06B70DAB-1818-11D0-A6AD-00AA00602553), version(1.0),
  10.   helpstring("lst43 OLE Control module"), control ]
  11. library LST43Lib
  12. {
  13.     importlib(STDOLE_TLB);
  14.     importlib(STDTYPE_TLB);
  15.  
  16.     //  Primary dispatch interface for CLst43Ctrl
  17.  
  18.     [ uuid(06B70DAC-1818-11D0-A6AD-00AA00602553),
  19.       helpstring("Dispatch interface for Lst43 Control"), hidden ]
  20.     dispinterface _DLst43
  21.     {
  22.         properties:
  23.             // NOTE - ClassWizard will maintain property information here.
  24.             //    Use extreme caution when editing this section.
  25.             //{{AFX_ODL_PROP(CLst43Ctrl)
  26.             //}}AFX_ODL_PROP
  27.  
  28.         methods:
  29.             // NOTE - ClassWizard will maintain method information here.
  30.             //    Use extreme caution when editing this section.
  31.             //{{AFX_ODL_METHOD(CLst43Ctrl)
  32.             [id(1)] BSTR GetMachineName();
  33.             //}}AFX_ODL_METHOD
  34.  
  35.             [id(DISPID_ABOUTBOX)] void AboutBox();
  36.     };
  37.  
  38.     //  Event dispatch interface for CLst43Ctrl
  39.  
  40.     [ uuid(06B70DAD-1818-11D0-A6AD-00AA00602553),
  41.       helpstring("Event interface for Lst43 Control") ]
  42.     dispinterface _DLst43Events
  43.     {
  44.         properties:
  45.             //  Event interface has no properties
  46.  
  47.         methods:
  48.             // NOTE - ClassWizard will maintain event information here.
  49.             //    Use extreme caution when editing this section.
  50.             //{{AFX_ODL_EVENT(CLst43Ctrl)
  51.             //}}AFX_ODL_EVENT
  52.     };
  53.  
  54.     //  Class information for CLst43Ctrl
  55.  
  56.     [ uuid(06B70DAE-1818-11D0-A6AD-00AA00602553),
  57.       helpstring("Lst43 Control"), control ]
  58.     coclass Lst43
  59.     {
  60.         [default] dispinterface _DLst43;
  61.         [default, source] dispinterface _DLst43Events;
  62.     };
  63.  
  64.  
  65.     //{{AFX_APPEND_ODL}}
  66. };
  67.