home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / controls / licensed / licensed.odl < prev    next >
Encoding:
Microsoft Object Description Language  |  1998-03-27  |  2.2 KB  |  75 lines

  1. // licensed.odl : type library source for OLE Custom Control project.
  2.  
  3. // This file will be processed by the Make Type Library (mktyplib) tool to
  4. // produce the type library (licensed.tlb) that will become a resource in
  5. // licensed.ocx.
  6.  
  7. // This is a part of the Microsoft Foundation Classes C++ library.
  8. // Copyright (C) 1992-1997 Microsoft Corporation
  9. // All rights reserved.
  10. //
  11. // This source code is only intended as a supplement to the
  12. // Microsoft Foundation Classes Reference and the
  13. // Books Online documentation provided with the library.
  14. // See these sources for detailed information regarding the
  15. // Microsoft Foundation Classes product.
  16.  
  17. #include <olectl.h>
  18.  
  19. [ uuid(973B27A6-F232-101A-B57B-00608CC96AFA), version(1.0),
  20.   helpstring("Licensed OLE Custom Control module"), control ]
  21. library LicensedLib
  22. {
  23.     importlib(STDOLE_TLB);
  24.     importlib(STDTYPE_TLB);
  25.  
  26.     //  Primary dispatch interface for CLicensedCtrl
  27.  
  28.     [ uuid(37446B80-5870-101B-B57B-00608CC96AFA),
  29.       helpstring("Dispatch interface for Licensed Control"), hidden ]
  30.     dispinterface _DLicensed
  31.     {
  32.         properties:
  33.             // NOTE - ClassWizard will maintain property information here.
  34.             //    Use extreme caution when editing this section.
  35.             //{{AFX_ODL_PROP(CLicensedCtrl)
  36.             //}}AFX_ODL_PROP
  37.  
  38.         methods:
  39.             // NOTE - ClassWizard will maintain method information here.
  40.             //    Use extreme caution when editing this section.
  41.             //{{AFX_ODL_METHOD(CLicensedCtrl)
  42.             //}}AFX_ODL_METHOD
  43.  
  44.             [id(DISPID_ABOUTBOX)] void AboutBox();
  45.     };
  46.  
  47.     //  Event dispatch interface for CLicensedCtrl
  48.  
  49.     [ uuid(37446B81-5870-101B-B57B-00608CC96AFA),
  50.       helpstring("Event interface for Licensed Control") ]
  51.     dispinterface _DLicensedEvents
  52.     {
  53.         properties:
  54.             //  Event interface has no properties
  55.  
  56.         methods:
  57.             // NOTE - ClassWizard will maintain event information here.
  58.             //    Use extreme caution when editing this section.
  59.             //{{AFX_ODL_EVENT(CLicensedCtrl)
  60.             //}}AFX_ODL_EVENT
  61.     };
  62.  
  63.     //  Class information for CLicensedCtrl
  64.  
  65.     [ uuid(973B27A3-F232-101A-B57B-00608CC96AFA), licensed,
  66.       helpstring("Licensed Control"), control ]
  67.     coclass Licensed
  68.     {
  69.         [default] dispinterface _DLicensed;
  70.         [default, source] dispinterface _DLicensedEvents;
  71.     };
  72.  
  73.     //{{AFX_APPEND_ODL}}
  74. };
  75.