Function Reference


_StreamGetName

Retrieves the name of the stream from its STATSTG structure.

_StreamGetName(ByRef $oStream)

Parameters

$oStream IStream COM object.

Return Value

Success: String containing the stream name, or empty string if none.
Failure: Empty string, sets @error to:
1 - Invalid stream object.
2 - Failed to get STATSTG or create structure.

Remarks

Uses _StreamGetStat to retrieve the stream name.

Related

_StreamGetStat, _StreamGetType