CAtlTemporaryFile::HandsOff
Call this method to disassociate the file from the CAtlTemporaryFile object.
HRESULT HandsOff( ) throw( );
Возвращаемое значение
Returns S_OK on success, or an error HRESULT on failure.
Заметки
HandsOff and CAtlTemporaryFile::HandsOn are used to disassociate the file from the object, and reattach it if needed. HandsOff will force any data remaining in the file buffer to be written to the temporary file, and then close the file. If you want to close and delete the file permanently, or if you want to close and retain the contents of the file with a given name, use CAtlTemporaryFile::Close.
Требования
Header: atlfile.h