home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 27 / IOPROG_27.ISO / SOFT / COMPOUND.ZIP / gstg.odl < prev    next >
Encoding:
Microsoft Object Description Language  |  1998-11-09  |  2.9 KB  |  116 lines

  1. // gstg.odl : type library source for gstg.dll
  2.  
  3. // This file will be processed by the MIDL compiler to produce the
  4. // type library (gstg.tlb).
  5.  
  6. [ uuid(C33397C7-71C5-11D2-A233-968A023E954F), version(1.0) ]
  7. library Gstg
  8. {
  9.     importlib("stdole32.tlb");
  10.     
  11.  
  12.  
  13.  
  14.     //  Primary dispatch interface for CCore
  15.     
  16.     [ uuid(C33397D4-71C5-11D2-A233-968A023E954F) ]
  17.     dispinterface ICore
  18.     {
  19.         properties:
  20.             // NOTE - ClassWizard will maintain property information here.
  21.             //    Use extreme caution when editing this section.
  22.             //{{AFX_ODL_PROP(CCore)
  23.             //}}AFX_ODL_PROP
  24.             
  25.         methods:
  26.             // NOTE - ClassWizard will maintain method information here.
  27.             //    Use extreme caution when editing this section.
  28.             //{{AFX_ODL_METHOD(CCore)
  29.             [id(1)] long Create(BSTR pszFileStg);
  30.             [id(2)] long Open(BSTR pszFileStg);
  31.             [id(3)] long Close();
  32.             [id(4)] long MkDir(BSTR pszDir);
  33.             [id(5)] long CopyTo(BSTR pszFileExternal, BSTR pszFileStg);
  34.             [id(6)] long CopyFrom(BSTR pszFileStg, BSTR pszFileExternal);
  35.             //}}AFX_ODL_METHOD
  36.  
  37.     };
  38.  
  39.     //  Class information for CCore
  40.  
  41.     [ uuid(C33397D5-71C5-11D2-A233-968A023E954F) ]
  42.     coclass Core
  43.     {
  44.         [default] dispinterface ICore;
  45.     };
  46.  
  47.  
  48.     //  Primary dispatch interface for CDir
  49.     
  50.     [ uuid(9BD4DD41-724E-11D2-9F15-00A0246D0F63) ]
  51.     dispinterface IDir
  52.     {
  53.         properties:
  54.             // NOTE - ClassWizard will maintain property information here.
  55.             //    Use extreme caution when editing this section.
  56.             //{{AFX_ODL_PROP(CDir)
  57.             //}}AFX_ODL_PROP
  58.             
  59.         methods:
  60.             // NOTE - ClassWizard will maintain method information here.
  61.             //    Use extreme caution when editing this section.
  62.             //{{AFX_ODL_METHOD(CDir)
  63.             [id(1)] long Scan(BSTR pszFileSpec);
  64.             [id(2)] BSTR getFile(long iFile);
  65.             [id(3)] long MkDir(BSTR pszDir);
  66.             [id(4)] long getFileCount();
  67.             [id(5)] BSTR getFileRoot(BSTR pszFilePath);
  68.             [id(6)] BSTR getDir(long iDir);
  69.             [id(7)] long getDirCount();
  70.             //}}AFX_ODL_METHOD
  71.  
  72.     };
  73.  
  74.     //  Class information for CDir
  75.  
  76.     [ uuid(9BD4DD42-724E-11D2-9F15-00A0246D0F63) ]
  77.     coclass Dir
  78.     {
  79.         [default] dispinterface IDir;
  80.     };
  81.  
  82.  
  83.     //  Primary dispatch interface for CStg
  84.     
  85.     [ uuid(05641F41-7255-11D2-9F15-00A0246D0F63) ]
  86.     dispinterface IStg
  87.     {
  88.         properties:
  89.             // NOTE - ClassWizard will maintain property information here.
  90.             //    Use extreme caution when editing this section.
  91.             //{{AFX_ODL_PROP(CStg)
  92.             //}}AFX_ODL_PROP
  93.             
  94.         methods:
  95.             // NOTE - ClassWizard will maintain method information here.
  96.             //    Use extreme caution when editing this section.
  97.             //{{AFX_ODL_METHOD(CStg)
  98.             [id(1)] long getStgCount();
  99.             [id(2)] BSTR getStg(long iStg);
  100.             [id(3)] long Scan(BSTR pszFileStg, BSTR pszStgSpec);
  101.             //}}AFX_ODL_METHOD
  102.  
  103.     };
  104.  
  105.     //  Class information for CStg
  106.  
  107.     [ uuid(05641F42-7255-11D2-9F15-00A0246D0F63) ]
  108.     coclass Stg
  109.     {
  110.         [default] dispinterface IStg;
  111.     };
  112.  
  113.     //{{AFX_APPEND_ODL}}
  114.     //}}AFX_APPEND_ODL}}
  115. };
  116.