Retrieves information about a Stream object.
Long stream.Stat(StatStg, StatFlag)
A Long value indicating the status of the operation.
A STATSTG structure that will be filled in with information about the stream. The implementation of the Stat method used by the ADO Stream object does not fill in all of the fields of the structure.
Specifies that this method does not return some of the members in the STATSTG structure, thus saving a memory allocation operation. Values are taken from the STATFLAG enumeration. The STATFLAG enumeration has two values
The version of the Stat method implemented for the ADO Stream object fills in the following fields of the STATSTG structure:
A string containing the name of the stream, if one is available and the StatFlag value STATFLAG_NONAME was not specified.
Specifies the size in bytes of the stream or byte array.
Indicates the last modification time for this storage, stream, or byte array.
Indicates the creation time for this storage, stream, or byte array.
Indicates the last access time for this storage, stream or byte array.
If STATFLAG_NONAME is specified in the StatFlag parameter, the name of the stream is not returned.
If STATFLAG_NONAME was not specified in the StatFlag parameter, and there is no name available for the current stream, this value will be E_NOTIMPL.