Retrieves the attributes of the document.
Syntax
HRESULT GetDocumentAttributes(
    TEXT_DOC_ATTR *ptextdocattr
);
Parameters
- ptextdocattr
- [out] Address of a TEXT_DOC_ATTR constant.
Return Value
Returns S_OK if successful, or an error code otherwise.