Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

STGTY enumeration (objidl.h)

The STGTY enumeration values are used in the type member of the STATSTG structure to indicate the type of the storage element. A storage element is a storage object, a stream object, or a byte-array object (LOCKBYTES).

Syntax

typedef enum tagSTGTY {
 STGTY_STORAGE = 1,
 STGTY_STREAM = 2,
 STGTY_LOCKBYTES = 3,
 STGTY_PROPERTY = 4
} STGTY;

Constants

 
STGTY_STORAGE
Value: 1
Indicates that the storage element is a storage object.
STGTY_STREAM
Value: 2
Indicates that the storage element is a stream object.
STGTY_LOCKBYTES
Value: 3
Indicates that the storage element is a byte-array object.
STGTY_PROPERTY
Value: 4
Indicates that the storage element is a property storage object.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header objidl.h

See also

IStream

STATSTG


Feedback

Was this page helpful?

Additional resources