Obtains information about whether a document object supports behaviors specified in the DOCMISC enumerator.
HRESULT GetDocMiscStatus(
DWORD *pdwStatus // Pointer to information about the document
// object
);
This method provides a way for containers to ascertain whether a document object supports multiple views, complex rectangles, opening in a pop-up window, or file read/write.
Values from this enumerator are also stored in the registry as the value of the DocObject key.
By calling this method prior to activating a document object, containers can take whatever steps are necessary to support or otherwise accommodate the specified behaviors.
This method must be completely implemented in any document object, even if the dereferenced value of pdwStatus is zero. E_NOTIMPL is not an acceptable return value. Normally, the returned DOCMISC value should be hard-coded for performance.
Windows NT: Use version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in docobj.h.