CAtlTemporaryFile::TempFileName

Call this method to return the name of temporary file.

LPCTSTR TempFileName( ) throw( );

Return Value

Returns the LPCTSTR pointing to the file name.

Remarks

The file name is generated in CAtlTemporaryFile::CAtlTemporaryFile with a call to the GetTempFile Windows SDK function. The file extension will always be "TFR" for the temporary file.

Requirements

Header: atlfile.h

See Also

Reference

CAtlTemporaryFile Class

Other Resources

CAtlTemporaryFile Members