home *** CD-ROM | disk | FTP | other *** search
/ Troubleshooting Netware Systems / CSTRIAL0196.BIN / attach / msj / v10n10 / vb40.exe / SHELLOCX.EXE / SHELLINK.ODL < prev    next >
Text File  |  1995-10-01  |  2KB  |  67 lines

  1. // shellink.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 (shellink.tlb) that will become a resource in
  5. // shellink.ocx.
  6.  
  7. #include <olectl.h>
  8.  
  9. [ uuid(FEAE5CA3-9E82-11CE-8D75-444553540000), version(1.0),
  10.   helpstring("Shellink OLE Custom Control module") ]
  11. library ShellinkLib
  12. {
  13.     importlib(STDOLE_TLB);
  14.     importlib(STDTYPE_TLB);
  15.  
  16.     //  Primary dispatch interface for CShellinkCtrl
  17.  
  18.     [ uuid(FEAE5CA1-9E82-11CE-8D75-444553540000),
  19.       helpstring("Dispatch interface for Shellink Control") ]
  20.     dispinterface _DShellink
  21.     {
  22.         properties:
  23.             // NOTE - ClassWizard will maintain property information here.
  24.             //    Use extreme caution when editing this section.
  25.             //{{AFX_ODL_PROP(CShellinkCtrl)
  26.             [id(1)] IUnknown* ShellLink;
  27.             //}}AFX_ODL_PROP
  28.  
  29.         methods:
  30.             // NOTE - ClassWizard will maintain method information here.
  31.             //    Use extreme caution when editing this section.
  32.             //{{AFX_ODL_METHOD(CShellinkCtrl)
  33.             [id(2)] BSTR CreateLink(BSTR Path, BSTR Description, boolean OnDesk);
  34.             [id(3)] BSTR ResolveLink(long hWnd, BSTR Shortcut);
  35.             //}}AFX_ODL_METHOD
  36.     };
  37.  
  38.     //  Event dispatch interface for CShellinkCtrl
  39.  
  40.     [ uuid(FEAE5CA2-9E82-11CE-8D75-444553540000),
  41.       helpstring("Event interface for Shellink Control") ]
  42.     dispinterface _DShellinkEvents
  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(CShellinkCtrl)
  51.             //}}AFX_ODL_EVENT
  52.     };
  53.  
  54.     //  Class information for CShellinkCtrl
  55.  
  56.     [ uuid(FEAE5CA0-9E82-11CE-8D75-444553540000),
  57.       helpstring("Shellink Control") ]
  58.     coclass Shellink
  59.     {
  60.         [default] dispinterface _DShellink;
  61.         [default, source] dispinterface _DShellinkEvents;
  62.     };
  63.  
  64.  
  65.     //{{AFX_APPEND_ODL}}
  66. };
  67.