IStream class com Interface

The IStream interface lets you read and write data to stream objects. Stream objects contain the data in a structured storage object, where storages provide the structure. Simple data can be written directly to a stream but, most frequently, streams are elements nested within a storage object. They are similar to standard files.

Inheritance

Constructors

IStream(Pointer<COMObject> ptr)
IStream.from(IUnknown interface)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
inherited
clone(Pointer<Pointer<COMObject>> ppstm) int
commit(int grfCommitFlags) int
copyTo(Pointer<COMObject> pstm, int cb, Pointer<Uint64> pcbRead, Pointer<Uint64> pcbWritten) int
lockRegion(int libOffset, int cb, int dwLockType) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
inherited
read(Pointer<NativeType> pv, int cb, Pointer<Uint32> pcbRead) int
inherited
release() int
inherited
revert() int
seek(int dlibMove, int dwOrigin, Pointer<Uint64> plibNewPosition) int
setSize(int libNewSize) int
stat(Pointer<STATSTG> pstatstg, int grfStatFlag) int
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited
unlockRegion(int libOffset, int cb, int dwLockType) int
write(Pointer<NativeType> pv, int cb, Pointer<Uint32> pcbWritten) int
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited