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:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public struct STATSTG

The STATSTG type exposes the following members.

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