_DocumentMode enumeration (mmcobj.h)

The DocumentMode enumeration is used by the Document.Mode property and specifies how the document is opened. This enumeration applies to the MMC 2.0 Automation Object Model.

Syntax

typedef enum DocumentMode {
  DocumentMode_Author = 0,
  DocumentMode_User,
  DocumentMode_User_MDI,
  DocumentMode_User_SDI
} _DocumentMode, DOCUMENTMODE, *PDOCUMENTMODE;

Constants

 
DocumentMode_Author
Value: 0
The document is opened in Author Mode.
DocumentMode_User
The document is opened in Full-Access User Mode.
DocumentMode_User_MDI
The document is opened in Limited-Access User Mode with multiple windows.
DocumentMode_User_SDI
The document is opened in Limited-Access User Mode with a single window.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header mmcobj.h

See also

Document object

Document.Mode