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 GetTempFileWindows SDK function. The file extension will always be "TFR" for the temporary file.

Requirements

Header: atlfile.h

See Also

Concepts

CAtlTemporaryFile Class

CAtlTemporaryFile Members