home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / atl / mfcatl / mfcatl.odl < prev    next >
Text File  |  1998-03-26  |  1KB  |  62 lines

  1. // MfcAtl.odl : type library source for MfcAtl.exe
  2.  
  3. // This file will be processed by the Make Type Library (mktyplib) tool to
  4. // produce the type library (MfcAtl.tlb).
  5.  
  6. [ uuid(5D0CE84A-D909-11CF-91FC-00A0C903976F), version(1.0) ]
  7. library MfcAtl
  8. {
  9.     importlib("stdole32.tlb");
  10.     
  11.  
  12.     //  Primary dispatch interface for CObjectOne
  13.     
  14.     [ uuid(5D0CE84F-D909-11CF-91FC-00A0C903976F) ]
  15.     dispinterface IObjectOne
  16.     {
  17.         properties:
  18.             // NOTE - ClassWizard will maintain property information here.
  19.             //    Use extreme caution when editing this section.
  20.             //{{AFX_ODL_PROP(CObjectOne)
  21.             //}}AFX_ODL_PROP
  22.             
  23.         methods:
  24.             // NOTE - ClassWizard will maintain method information here.
  25.             //    Use extreme caution when editing this section.
  26.             //{{AFX_ODL_METHOD(CObjectOne)
  27.             [id(1)] BSTR SayHello();
  28.             //}}AFX_ODL_METHOD
  29.  
  30.     };
  31.  
  32.     //  Class information for CObjectOne
  33.  
  34.     [ uuid(5D0CE850-D909-11CF-91FC-00A0C903976F) ]
  35.     coclass ObjectOne
  36.     {
  37.         [default] dispinterface IObjectOne;
  38.     };
  39.  
  40.  
  41.     //  Primary dispatch interface for CObjectTwo
  42.     [ 
  43.         uuid(5D0CE851-D909-11CF-91FC-00A0C903976F), 
  44.         dual,
  45.         helpstring("IObjectTwo Interface"),
  46.     ]
  47.     interface IObjectTwo : IDispatch
  48.     {
  49.         [propget, id(1)] HRESULT SayHello([out,retval] BSTR* bstr);
  50.     };
  51.  
  52.     //  Class information for CObjectTwo
  53.  
  54.     [ uuid(5D0CE852-D909-11CF-91FC-00A0C903976F) ]
  55.     coclass ObjectTwo
  56.     {
  57.         [default] interface IObjectTwo;
  58.     };
  59.  
  60.     //{{AFX_APPEND_ODL}}
  61. };
  62.