// @(#) 1.5 com/src/odscript/idl/oddsosnk.idl, odscript, od96nt, odnt9712d 2/6/97 13:32:27 [3/21/97 17:22:32]
//
//   COMPONENT_NAME: odscript
//
//   CLASSES:   ODDSOLESink
//
//   ORIGINS: 27
//
//   (C) COPYRIGHT International Business Machines Corp. 1996
//   All Rights Reserved
//   US Government Users Restricted Rights - Use, duplication or
//   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
//
//     File:          oddsosnk.idl
//
//     Contains:       Class definition for Direct Scripting Sink
//                     for OLE
#ifndef _ODDSOSNK_
#define _ODDSOSNK_

#include "somobj.idl"
#include "oddssink.idl"

typedef somToken LPODIDNAMEMAP;
interface ODDSEventMgr ;
interface ODDSOLESink : ODDSSink
{
  exception ODDS_ERROR {long ErrorCode; char Reason[80];};

#ifdef __SOMIDL__

   void  OSnkWithGUID(inout somInitCtrl ctrl, in ODGUID guid) raises(ODDS_ERROR);
   implementation
   {
      functionprefix = ODDSOLESink;
      MajorVersion = 1;
      MinorVersion = 0;
      dllname = "oddsevnt.dll";

      OSnkWithGUID: init;
      somDefaultInit: override, init;
      somDestruct: override;
      FireEvent:override;
      releaseorder:
              OSnkWithGUID;

   };
#endif
};
#endif // _ODDOSNK_

