Packages
 In this topic

*Fields

 

Packages   PreviousThis PackageNext
Package com.ms.com   Previous This
Package
Next

 


Class STATSTG

public final class STATSTG
{
  // Fields
  public long atime;
  public long cbSize;
  public byte clsid_b0;
  public byte clsid_b1;
  public byte clsid_b10;
  public byte clsid_b11;
  public byte clsid_b12;
  public byte clsid_b13;
  public byte clsid_b14;
  public byte clsid_b15;
  public byte clsid_b2;
  public byte clsid_b3;
  public byte clsid_b4;
  public byte clsid_b5;
  public byte clsid_b6;
  public byte clsid_b7;
  public byte clsid_b8;
  public byte clsid_b9;
  public int clsid_data1;
  public short clsid_data2;
  public short clsid_data3;
  public long ctime;
  public int grfLocksSupported;
  public int grfMode;
  public int grfStateBits;
  public long mtime;
  public String pwcsName;
  public int reserved;
  public final static int STGTY_LOCKBYTES;
  public final static int STGTY_PROPERTY;
  public final static int STGTY_STORAGE;
  public final static int STGTY_STREAM;
  public int type;
}

This class represents an STATSTG structure, which contains statistical information about an open storage, stream or byte array object.

Fields

atime
The last access time for the storage, stream, or byte array.
cbSize
The size, in bytes, of the stream or byte array.
clsid_b0
A byte field of the CLSID structure that represents the class identifier.
clsid_b1
A byte field of the CLSID structure that represents the class identifier.
clsid_b10
A byte field of the CLSID structure that represents the class identifier.
clsid_b11
A byte field of the CLSID structure that represents the class identifier.
clsid_b12
A byte field of the CLSID structure that represents the class identifier.
clsid_b13
A byte field of the CLSID structure that represents the class identifier.
clsid_b14
A byte field of the CLSID structure that represents the class identifier.
clsid_b15
A byte field of the CLSID structure that represents the class identifier.
clsid_b2
A byte field of the CLSID structure that represents the class identifier.
clsid_b3
A byte field of the CLSID structure that represents the class identifier.
clsid_b4
A byte field of the CLSID structure that represents the class identifier.
clsid_b5
A byte field of the CLSID structure that represents the class identifier.
clsid_b6
A byte field of the CLSID structure that represents the class identifier.
clsid_b7
A byte field of the CLSID structure that represents the class identifier.
clsid_b8
A byte field of the CLSID structure that represents the class identifier.
clsid_b9
A byte field of the CLSID structure that represents the class identifier.
clsid_data1
An integer field of the CLSID structure that represents the class identifier.
clsid_data2
A short integer field of the CLSID structure that represents the class identifier.
clsid_data3
A short integer field of the CLSID structure that represents the class identifier.
ctime
The creation time for the storage, stream, or byte array.
grfLocksSupported
The types of region locking supported by the stream or byte array. The value must be LOCK_WRITE, LOCK_EXCLUSIVE, or LOCK_ONLYONCE. This member is not used for storage objects.
grfMode
The access mode specified when the object was opened. This member is valid only in calls to Stat methods.
grfStateBits
The current state bits of the storage object. This member is not valid for streams or byte arrays. It is the value most recently set by the IStorage::SetStateBits method.
mtime
The last modification time for the storage, stream, or byte array.
pwcsName
The name of the structure.
reserved
Reserved.
STGTY_LOCKBYTES
The value indicating that the storage element is a byte array object.
STGTY_PROPERTY
The value indicating that the storage element is a property storage object.
STGTY_STORAGE
The value indicating that the storage element is a storage object.
STGTY_STREAM
The value indicating that the storage element is a stream object.
type
The type of storage object described by the structure. The value must be STGTY_STORAGE, STGTY_STREAM, STGTY_LOCKBYTES, or STGTY_PROPERTY.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.