[]
ISequentialStream
[Guid("0c733a30-2a1c-11ce-ade5-00aa0044773d")]
public class ComStreamBase : ComObjectCallback, IUnknown, IStreamBase, ICallbackable, IDisposable
Initializes a new instance of the ComStreamBase class.
public ComStreamBase(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
HRESULT ISequentialStream::Read([Out, Buffer] void* pv,[In] unsigned int cb,[Out, Optional] unsigned int* pcbRead)
public int Read(IntPtr vRef, int cb)
vRef
System.IntPtrcb
intHRESULT ISequentialStream::Write([In, Buffer] const void* pv,[In] unsigned int cb,[Out, Optional] unsigned int* pcbWritten)
public int Write(IntPtr vRef, int cb)
vRef
System.IntPtrcb
intPerforms an explicit conversion from System.IntPtr to ComStreamBase.
public static explicit operator ComStreamBase(IntPtr nativePointer)
nativePointer
System.IntPtr