home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / com / inproc / server / inproc.odl < prev    next >
Text File  |  1998-04-02  |  4KB  |  117 lines

  1. // inproc.odl : type library source for inproc.dll
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. // This file will be processed by the Make Type Library (mktyplib) tool to
  14. // produce the type library (inproc.tlb).
  15.  
  16. [ uuid(67519E10-2266-11B9-C004-5230D8C07D39), version(1.0) ]
  17. library inproc
  18. {
  19.     importlib("stdole32.tlb");
  20.     
  21.     //  Primary dispatch interface for CVariantMap
  22.     [ uuid(747205C0-F9F0-11cd-8C3D-00AA004BB3B7) ]
  23.     dispinterface IVariantMap
  24.     {
  25.         properties:
  26.             // NOTE - ClassWizard will maintain property information here.
  27.             //    Use extreme caution when editing this section.
  28.             //{{AFX_ODL_PROP(CVariantMap)
  29.             [id(1)] BSTR str1;
  30.             [id(3)] BSTR str2;
  31.             [id(2)] long i1;
  32.             [id(4)] long i2;
  33.             [id(5)] long Count;
  34.             //}}AFX_ODL_PROP
  35.             
  36.         methods:
  37.             // NOTE - ClassWizard will maintain method information here.
  38.             //    Use extreme caution when editing this section.
  39.             //{{AFX_ODL_METHOD(CVariantMap)
  40.             [id(6)] void SetAt(VARIANT from, VARIANT to);
  41.             [id(7)] void RemoveAll();
  42.             [id(8)] void RemoveKey(VARIANT key);
  43.             [id(9)] boolean IsEmpty();
  44.             [id(10), propget] VARIANT Item(VARIANT from);
  45.             //}}AFX_ODL_METHOD
  46.             [id(-4), propget] IUnknown* _NewEnum();
  47.     };
  48.  
  49.     //  Class information for CVariantMap
  50.     [ uuid(7ACE7860-9A1C-11cd-9A90-00DD01113F12) ]
  51.     coclass CVariantMap
  52.     {
  53.         [default] dispinterface IVariantMap;
  54.     };
  55.  
  56.     //  Primary dispatch interface for CStringCollect
  57.     [ uuid(0F098950-F9F0-11cd-8C3D-00AA004BB3B7) ]
  58.     dispinterface IStringCollect
  59.     {
  60.         properties:
  61.             // NOTE - ClassWizard will maintain property information here.
  62.             //    Use extreme caution when editing this section.
  63.             //{{AFX_ODL_PROP(CStringCollect)
  64.             [id(1)] long Count;
  65.             //}}AFX_ODL_PROP
  66.             
  67.         methods:
  68.             // NOTE - ClassWizard will maintain method information here.
  69.             //    Use extreme caution when editing this section.
  70.             //{{AFX_ODL_METHOD(CStringCollect)
  71.             [id(6), propget] BSTR Item(long nIndex);
  72.             [id(6), propput] void Item(long nIndex, BSTR lpszNewValue);
  73.             [id(2)] long Add(BSTR newValue);
  74.             [id(3)] long Find(BSTR findValue);
  75.             [id(4)] long Remove(VARIANT removeValue);
  76.             [id(5)] void RemoveAll();
  77.             //}}AFX_ODL_METHOD
  78.             [id(-4), propget] IUnknown* _NewEnum();
  79.     };
  80.  
  81.     //  Class information for CStringCollect
  82.     [ uuid(BA0357C0-C377-11cd-9A90-00DD01113F12) ]
  83.     coclass CStringCollect
  84.     {
  85.         [default] dispinterface IStringCollect;
  86.     };
  87.  
  88.     //  Primary dispatch interface for CVariantAssoc
  89.     [ uuid(84E099E0-F9F6-11cd-8C3D-00AA004BB3B7) ]
  90.     dispinterface IVariantAssoc
  91.     {
  92.         properties:
  93.             // NOTE - ClassWizard will maintain property information here.
  94.             //    Use extreme caution when editing this section.
  95.             //{{AFX_ODL_PROP(CVariantAssoc)
  96.             [id(1)] VARIANT Key;
  97.             [id(2)] VARIANT Value;
  98.             //}}AFX_ODL_PROP
  99.             
  100.         methods:
  101.             // NOTE - ClassWizard will maintain method information here.
  102.             //    Use extreme caution when editing this section.
  103.             //{{AFX_ODL_METHOD(CVariantAssoc)
  104.             //}}AFX_ODL_METHOD
  105.  
  106.     };
  107.  
  108.     //  Class information for CVariantAssoc
  109.     [ uuid(857F2CD0-F9FB-11cd-8C3D-00AA004BB3B7) ]
  110.     coclass CVariantAssoc
  111.     {
  112.         [default] dispinterface IVariantAssoc;
  113.     };
  114.  
  115.     //{{AFX_APPEND_ODL}}
  116. };
  117.