[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Storage.ComStreamBase

Class ComStreamBase

Namespace
GrapeCity.Documents.DX.Storage
Assembly
GcDocs.DX.Windows.dll

ISequentialStream

[Guid("0c733a30-2a1c-11ce-ade5-00aa0044773d")]
public class ComStreamBase : ComObjectCallback, IUnknown, IStreamBase, ICallbackable, IDisposable
Inheritance
object
ComStreamBase
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

ComStreamBase(IntPtr)

Initializes a new instance of the ComStreamBase class.

public ComStreamBase(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Read(IntPtr, int)

HRESULT ISequentialStream::Read([Out, Buffer] void* pv,[In] unsigned int cb,[Out, Optional] unsigned int* pcbRead)

public int Read(IntPtr vRef, int cb)

Parameters

vRef System.IntPtr
cb int

Returns

int

Write(IntPtr, int)

HRESULT ISequentialStream::Write([In, Buffer] const void* pv,[In] unsigned int cb,[Out, Optional] unsigned int* pcbWritten)

public int Write(IntPtr vRef, int cb)

Parameters

vRef System.IntPtr
cb int

Returns

int

Operators

explicit operator ComStreamBase(IntPtr)

Performs an explicit conversion from System.IntPtr to ComStreamBase.

public static explicit operator ComStreamBase(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

ComStreamBase