//
// Auto-generated using JActiveX.EXE 5.00.2918
//   ("D:\Program Files\Microsoft Visual Studio\VJ98\jactivex.exe" /wfc  /w /xi /X:rkc /l "C:\WINNT\Profiles\ADMINI~1\LOCALS~1\Temp\jvc1F.tmp" /nologo /d "C:\msj\new\jrotview" "C:\WINNT\System32\danim.dll")
//
// WARNING: Do not remove the comments that include "@com" directives.
// This source file must be compiled by a @com-aware compiler.
// If you are using the Microsoft Visual J++ compiler, you must use
// version 1.02.3920 or later. Previous versions will not issue an error
// but will not generate COM-enabled class files.
//

package danim;

import com.ms.com.*;
import com.ms.com.IUnknown;
import com.ms.com.Variant;

// VTable-only interface IStream
/** @com.interface(iid=0000000C-0000-0000-C000-000000000046, thread=AUTO) */
public interface IStream extends danim.ISequentialStream
{
  /** @com.method(vtoffset=0, addFlagsVtable=4)
      @com.parameters([out,size=1,type=ARRAY] pv, [in,type=U4] cb, [out,size=1,type=ARRAY] pcbRead) */
  public void RemoteRead(byte[] pv, int cb, int[] pcbRead);

  /** @com.method(vtoffset=1, addFlagsVtable=4)
      @com.parameters([in,size=1,type=ARRAY] pv, [in,type=U4] cb, [out,size=1,type=ARRAY] pcbWritten) */
  public void RemoteWrite(byte[] pv, int cb, int[] pcbWritten);

  /** @com.method(vtoffset=2, addFlagsVtable=4)
      @com.parameters([in,size=8,type=STRUCT] dlibMove, [in,type=U4] dwOrigin, [out,type=PTR] plibNewPosition) */
  public void RemoteSeek(danim._LARGE_INTEGER dlibMove, int dwOrigin, danim._ULARGE_INTEGER plibNewPosition);

  /** @com.method(vtoffset=3, addFlagsVtable=4)
      @com.parameters([in,size=8,type=STRUCT] libNewSize) */
  public void SetSize(danim._ULARGE_INTEGER libNewSize);

  /** @com.method(vtoffset=4, addFlagsVtable=4)
      @com.parameters([in,iid=0000000C-0000-0000-C000-000000000046,thread=AUTO,type=OBJECT] pstm, [in,size=8,type=STRUCT] cb, [out,type=PTR] pcbRead, [out,type=PTR] pcbWritten) */
  public void RemoteCopyTo(danim.IStream pstm, danim._ULARGE_INTEGER cb, danim._ULARGE_INTEGER pcbRead, danim._ULARGE_INTEGER pcbWritten);

  /** @com.method(vtoffset=5, addFlagsVtable=4)
      @com.parameters([in,type=U4] grfCommitFlags) */
  public void Commit(int grfCommitFlags);

  /** @com.method(vtoffset=6, addFlagsVtable=4)
      @com.parameters() */
  public void Revert();

  /** @com.method(vtoffset=7, addFlagsVtable=4)
      @com.parameters([in,size=8,type=STRUCT] libOffset, [in,size=8,type=STRUCT] cb, [in,type=U4] dwLockType) */
  public void LockRegion(danim._ULARGE_INTEGER libOffset, danim._ULARGE_INTEGER cb, int dwLockType);

  /** @com.method(vtoffset=8, addFlagsVtable=4)
      @com.parameters([in,size=8,type=STRUCT] libOffset, [in,size=8,type=STRUCT] cb, [in,type=U4] dwLockType) */
  public void UnlockRegion(danim._ULARGE_INTEGER libOffset, danim._ULARGE_INTEGER cb, int dwLockType);

  /** @com.method(vtoffset=9, addFlagsVtable=4)
      @com.parameters([out,type=PTR] pstatstg, [in,type=U4] grfStatFlag) */
  public void Stat(danim.tagSTATSTG pstatstg, int grfStatFlag);

  /** @com.method(vtoffset=10, addFlagsVtable=4)
      @com.parameters([out,size=1,type=ARRAY] ppstm) */
  public void Clone(danim.IStream[] ppstm);


  public static final com.ms.com._Guid iid = new com.ms.com._Guid((int)0xc, (short)0x0, (short)0x0, (byte)0xc0, (byte)0x0, (byte)0x0, (byte)0x0, (byte)0x0, (byte)0x0, (byte)0x0, (byte)0x46);
}
