Click or drag to resize

STATSTG Structure

Contains statistical data about an open storage, stream, or byte-array object. Maps to Windows' STATSTG structure.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public struct STATSTG

The STATSTG type exposes the following members.

Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields
  NameDescription
Public fieldatime
Indicates the last access time for this storage, stream, or byte array.
Public fieldcbSize
Specifies the size, in bytes, of the stream or byte array.
Public fieldclsid
Indicates the class identifier for the storage object; set to CLSID_NULL for new storage objects. This member is not used for streams or byte arrays.
Public fieldctime
Indicates the creation time for this storage, stream, or byte array.
Public fieldgrfLocksSupported
Indicates the types of region locking supported by the stream or byte array. For more information about the values available, see the LOCKTYPE enumeration. This member is not used for storage objects.
Public fieldgrfMode
Indicates the access mode specified when the object was opened.
Public fieldgrfStateBits
Indicates the current state bits of the storage object; that is, the value most recently set by the IStorage::SetStateBits method. This member is not valid for streams or byte arrays.
Public fieldmtime
Indicates the last modification time for this storage, stream, or byte array.
Public fieldpwcsName
A pointer to a NULL-terminated Unicode string that contains the name.
Public fieldreserved
Reserved.
Public fieldtype
Indicates the type of storage object. This is one of the values from the STGTY enumeration.
Top
See Also