Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the document name from a CDocument object.
virtual CString GetDocumentListName(
CDocument *pDocument
) const;
Parameters
Parameter |
Description |
[in] pDocument |
A pointer to a CDocument. GetDocumentListName retrieves the document name from this CDocument. |
Return Value
The document name from pDocument.
Remarks
The CDataRecoveryHandler uses the document name as the key in m_mapDocNameToAutosaveName, m_mapDocNameToDocumentPtr, and m_mapDocNameToRestoreBool. These parameter enable the CDataRecoveryHandler to monitor CDocument objects, the autosave file name, and the autosave settings.
Requirements
Header: afxdatarecovery.h