The DOCMISC enumeration provides miscellaneous property information about a document object. A combination of values from DOCMISC is returned in at the location specified by the pdwStatus parameter in IOleDocument::GetDocMiscStatus.
typedef enum
{
DOCMISC_CANCREATEMULTIPLEVIEWS = 1,
DOCMISC_SUPPORTCOMPLEXRECTANGLES = 2,
DOCMISC_CANTOPENEDIT, = 4,
DOCMISC_NOFILESUPPORT = 8
} DOCMISC;
Objects that have a limited user interface for activation purposes should set DOCMISC_CANTOPENEDIT. Those that support IPersistStorage only as a persistence mechanism should specify DOCMISC_NOFILESUPPORT. Otherwise, an object must also implement IPersistFile.
If an object requires none of these flags, it must write a zero to the *pdwStatus parameter of IOleDocument::GetDocMiscStatus.
IOleDocument::GetDocMiscStatus, IOleDocumentView::Open, IOleDocumentView::SetRectComplex, IPersistFile, IPersistStorage