home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / VFP50 / API / SAMPLES / FOXTLIB / FOXTLIB.ODL < prev    next >
Encoding:
Microsoft Object Description Language  |  1996-08-01  |  2.6 KB  |  74 lines

  1. // foxtlib.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 (foxtlib.tlb) that will become a resource in
  5. // foxtlib.ocx.
  6.  
  7. #include <olectl.h>
  8.  
  9. [ uuid(22852EE8-B01B-11CF-B826-00A0C9055D9E), version(1.0),
  10.     helpstring("Visual FoxPro TypeLib Info Control"), control,
  11.     helpfile("foxhelp.hlp"),  helpcontext(0x23205415) ]
  12. library FOXTLIBLib
  13. {
  14.     importlib(STDOLE_TLB);
  15.     importlib(STDTYPE_TLB);
  16.  
  17.     //  Primary dispatch interface for CFoxtlibCtrl
  18.  
  19.     [ uuid(22852EE9-B01B-11CF-B826-00A0C9055D9E),
  20.         helpstring("Dispatch interface for Visual FoxPro TypeLib Info Control"), 
  21.         helpcontext(0x23205415), hidden ]
  22.     dispinterface _DFoxtlib
  23.     {
  24.         properties:
  25.             // NOTE - ClassWizard will maintain property information here.
  26.             //    Use extreme caution when editing this section.
  27.             //{{AFX_ODL_PROP(CFoxtlibCtrl)
  28.             //}}AFX_ODL_PROP
  29.  
  30.         methods:
  31.             // NOTE - ClassWizard will maintain method information here.
  32.             //    Use extreme caution when editing this section.
  33.             //{{AFX_ODL_METHOD(CFoxtlibCtrl)
  34.             [id(1), helpcontext(0x23205415)] long TLLoadTypeLib(BSTR szFileName);
  35.             [id(2), helpcontext(0x23205415)] long TLRelease(long pTypeInfo);
  36.             [id(3), helpcontext(0x23205415)] long TLGetTypeInfoCount(long pTypeInfo);
  37.             [id(4), helpcontext(0x23205415)] long TLGetTypeAttr(long pTypeInfo, BSTR szArrName);
  38.             [id(5), helpcontext(0x23205415)] long TLGetTypeInfo(long pTypeInfo,long nIndex);
  39.             [id(6), helpcontext(0x23205415)] long TLGetDocumentation(long pTypeInfo, BSTR szArrName, long nIndex);
  40.             [id(7), helpcontext(0x23205415)] long TIGetNames(long pTypeInfo, BSTR szArrName, long nMemId);
  41.             [id(8), helpcontext(0x23205415)] long TIGetFuncDesc(long pTypeInfo, BSTR szArrName, long nIndex, BSTR szParmsArr);
  42.             //}}AFX_ODL_METHOD
  43.     };
  44.  
  45.     //  Event dispatch interface for CFoxtlibCtrl
  46.  
  47.     [ uuid(22852EEA-B01B-11CF-B826-00A0C9055D9E),
  48.       helpstring("Event interface for Visual FoxPro TypeLib Info Control"),helpcontext(0x23205415) ]
  49.     dispinterface _DFoxtlibEvents
  50.     {
  51.         properties:
  52.             //  Event interface has no properties
  53.  
  54.         methods:
  55.             // NOTE - ClassWizard will maintain event information here.
  56.             //    Use extreme caution when editing this section.
  57.             //{{AFX_ODL_EVENT(CFoxtlibCtrl)
  58.             //}}AFX_ODL_EVENT
  59.     };
  60.  
  61.     //  Class information for CFoxtlibCtrl
  62.  
  63.     [ uuid(22852EE3-B01B-11CF-B826-00A0C9055D9E),
  64.       helpstring("Visual FoxPro TypeLib Info Control"), control,helpcontext(0x23205415) ]
  65.     coclass Foxtlib
  66.     {
  67.         [default] dispinterface _DFoxtlib;
  68.         [default, source] dispinterface _DFoxtlibEvents;
  69.     };
  70.  
  71.  
  72.     //{{AFX_APPEND_ODL}}
  73. };
  74.