Function Reference


_StreamGetSize

Retrieves the size of the stream from its STATSTG structure.

_StreamGetSize(ByRef $oStream)

Parameters

$oStream IStream COM object.

Return Value

Success: Size of the stream in bytes.
Failure: 0, sets @error to:
1 - Invalid stream object.
2 - Failed to get STATSTG or create structure.

Remarks

Uses _StreamGetStat to retrieve the stream size.

Related

_StreamGetStat, _StreamSetSize