IStream class com
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
-
- Object
- IUnknown
- ISequentialStream
- IStream
Constructors
-
IStream(Pointer<
COMObject> ptr) - IStream.from(IUnknown interface)
-
factory
Properties
Methods
-
addRef(
) → int -
Increments the reference count for an interface pointer to a COM object.
inherited
-
clone(
Pointer< Pointer< ppstm) → intCOMObject> > -
commit(
int grfCommitFlags) → int -
copyTo(
Pointer< COMObject> pstm, int cb, Pointer<Uint64> pcbRead, Pointer<Uint64> pcbWritten) → int -
detach(
) → void -
Detaches the object from the
Finalizer
.inherited -
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< ppvObject) → intNativeType> > -
Queries a COM object for a pointer to one of its interface; identifying
the interface by a reference to its interface identifier (IID).
inherited
-
read(
Pointer< NativeType> pv, int cb, Pointer<Uint32> pcbRead) → int -
inherited
-
release(
) → int -
Decrements the reference count for an interface on a COM object.
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