STATSTG Struct

Definition

Warning

This API is now obsolete.

请改用 STATSTGUse STATSTG instead.

public value class STATSTG
[System.Runtime.InteropServices.ComVisible(false)]
public struct STATSTG
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.STATSTG instead. https://go.microsoft.com/fwlink/?linkid=14202", false)]
public struct STATSTG
[System.Obsolete]
public struct STATSTG
type STATSTG = struct
Public Structure STATSTG
Inheritance
STATSTG
Attributes

Fields

atime

指示此存储、流或字节数组的上次访问时间。Indicates the last access time for this storage, stream or byte array.

cbSize

指定流或字节数组的大小(以字节为单位)。Specifies the size in bytes of the stream or byte array.

clsid

指示存储对象的类标识符。Indicates the class identifier for the storage object.

ctime

指示此存储、流或字节数组的创建时间。Indicates the creation time for this storage, stream, or byte array.

grfLocksSupported

指示受该流或字节数组支持的区域锁定的类型。Indicates the types of region locking supported by the stream or byte array.

grfMode

指示打开对象时指定的访问模式。Indicates the access mode that was specified when the object was opened.

grfStateBits

指示存储对象的当前状态位(最近由 IStorage::SetStateBits 方法设置的值)。Indicates the current state bits of the storage object (the value most recently set by the IStorage::SetStateBits method).

mtime

指示此存储、流或字节数组的上次修改时间。Indicates the last modification time for this storage, stream, or byte array.

pwcsName

指向以 NULL 结尾的字符串的指针,该字符串包含此结构所描述的对象名称。Pointer to a null-terminated string containing the name of the object described by this structure.

reserved

留待将来使用。Reserved for future use.

type

指示存储对象的类型,该类型为 STGTY 枚举中的某个值。Indicates the type of storage object which is one of the values from the STGTY enumeration.

Applies to