|
STATSTATE
The STATSTATE enumeration values indicate state information about the storage object and
are used as a mask. The values are used in the IStorage::SetStateBits method.
Defined in the ().
typedef enum tagSTATSTATE
{
STATSTATE_DOC = 1,
STATSTATE_CONVERT = 2,
STATSTATE_FILESTGSAME = 4
} STATSTATE;
Elements
STATSTATE_DOC
.
Indicates that the storage object is a document file. This bit is set on the
root storage object as part of a normal File/Save sequence. With nested storage
objects, the application manages the storage objects and sets or clears this
bit as appropriate. If the nested object is an embedded object, this bit can be
ignored. It is cleared in a newly created storage object. However, some
applications might use this bit to enable editing an embedded storage object without
first copying the object to the file system. For example, a mail application
might set this bit for attachments so the attachments can be edited without copying
them first to a file.
STATSTATE_CONVERT
Indicates that a convert operation was done on this storage object while it
was in a passive state.
STATSTATE_FILESTGSAME
Indicates that the embedded object and document representations for the
storage object are the same. Thus, the storage object can be saved in a document file
simply by copying the storage object bits.
See Also
IStorage::SetStateBits.
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|