[]
        
(Showing Draft Content)

C1.Util.DX.Storage.ComStream

ComStream Class

IStream

Namespace: C1.Util.DX.Storage
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("0000000c-0000-0000-C000-000000000046")]
public class ComStream : ComStreamBase, IUnknown, IStream, IStreamBase, ICallbackable, IDisposable

Constructors

Name Description
ComStream(IntPtr)

Initializes a new instance of the ComStream class.

Methods

Name Description
Clone()

HRESULT IStream::Clone([Out] IStream** ppstm)

Commit(CommitFlags)

HRESULT IStream::Commit([In] STGC grfCommitFlags)

CopyTo(IStream, long, out long)

Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.

GetStatistics(StorageStatisticsFlags)

HRESULT IStream::Stat([Out] STATSTG* pstatstg,[In] STATFLAG grfStatFlag)

LockRegion(long, long, LockType)

HRESULT IStream::LockRegion([In] ULARGE_INTEGER libOffset,[In] ULARGE_INTEGER cb,[In] LOCKTYPE dwLockType)

Revert()

HRESULT IStream::Revert()

Seek(long, SeekOrigin)

HRESULT IStream::Seek([In] LARGE_INTEGER dlibMove,[In] SHARPDX_SEEKORIGIN dwOrigin,[Out, Optional] ULARGE_INTEGER* plibNewPosition)

SetSize(long)

HRESULT IStream::SetSize([In] ULARGE_INTEGER libNewSize)

ToIntPtr(IStream)

Gets a com pointer to the underlying IStream object.

UnlockRegion(long, long, LockType)

HRESULT IStream::UnlockRegion([In] ULARGE_INTEGER libOffset,[In] ULARGE_INTEGER cb,[In] LOCKTYPE dwLockType)

Operators

Name Description
explicit operator ComStream(IntPtr)

Performs an explicit conversion from IntPtr to ComStream.