Interface IStream
Namespace: MediaFoundation.Misc
Assembly: MediaFoundation.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("0c733a30-2a1c-11ce-ade5-00aa0044773d")]
public interface IStream : ISequentialStream
Methods
Clone(out IStream)
Commit(STGC)
CopyTo(IStream, Int64, IntPtr, IntPtr)
Declaration
HResult CopyTo(IStream otherStream, long bytesCount, IntPtr bytesRead, IntPtr bytesWritten)
Parameters
IStream
otherStream
|
System.Int64
bytesCount
|
System.IntPtr
bytesRead
|
System.IntPtr
bytesWritten
|
Returns
HResult
|
LockRegion(Int64, Int64, Int32)
Declaration
HResult LockRegion(long offset, long bytesCount, int lockType)
Parameters
System.Int64
offset
|
System.Int64
bytesCount
|
System.Int32
lockType
|
Returns
HResult
|
Read(Byte[], Int32, IntPtr)
Declaration
HResult Read(byte[] buffer, int bytesCount, IntPtr bytesRead)
Parameters
System.Byte[]
buffer
|
System.Int32
bytesCount
|
System.IntPtr
bytesRead
|
Returns
HResult
|
Revert()
Seek(Int64, SeekOrigin, IntPtr)
Declaration
HResult Seek(long offset, SeekOrigin origin, IntPtr newPosition)
Parameters
System.Int64
offset
|
System.IO.SeekOrigin
origin
|
System.IntPtr
newPosition
|
Returns
HResult
|
SetSize(Int64)
Stat(out STATSTG, STATFLAG)
Declaration
HResult Stat(out STATSTG statstg, STATFLAG statFlag)
Parameters
STATSTG
statstg
|
STATFLAG
statFlag
|
Returns
HResult
|
UnlockRegion(Int64, Int64, Int32)
Declaration
HResult UnlockRegion(long offset, long bytesCount, int lockType)
Parameters
System.Int64
offset
|
System.Int64
bytesCount
|
System.Int32
lockType
|
Returns
HResult
|
Write(Byte[], Int32, IntPtr)
Declaration
HResult Write(byte[] buffer, int bytesCount, IntPtr bytesWritten)
Parameters
System.Byte[]
buffer
|
System.Int32
bytesCount
|
System.IntPtr
bytesWritten
|
Returns
HResult
|