다음을 통해 공유


CDataRecoveryHandler::GenerateAutosaveFileName

Generates the name for an autosave file associated with the supplied document file name.

virtual CString GenerateAutosaveFileName(
   const CString &strDocumentName
) const;

Parameters

  • [in] strDocumentName
    A string that contains the document name. GenerateAutosaveFileName uses this document name to generate a corresponding autosave file name.

Return Value

The autosave file name generated from strDocumentName.

Remarks

Each document name has a one-to-one mapping with an autosave file name.

Requirements

Header: afxdatarecovery.h

See Also

Reference

CDataRecoveryHandler Class

Hierarchy Chart