STATSTG STATSTG STATSTG STATSTG Struct

定义

警告

此 API 现已过时。

请改用 STATSTGUse STATSTG instead.

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

字段

atime atime atime atime

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

cbSize cbSize cbSize cbSize

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

clsid clsid clsid clsid

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

ctime ctime ctime ctime

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

grfLocksSupported grfLocksSupported grfLocksSupported grfLocksSupported

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

grfMode grfMode grfMode grfMode

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

grfStateBits grfStateBits grfStateBits grfStateBits

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

mtime mtime mtime mtime

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

pwcsName pwcsName pwcsName pwcsName

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

reserved reserved reserved reserved

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

type type type type

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

适用于