Поделиться через


CAtlTemporaryFile::Flush

Call this method to force any data remaining in the file buffer to be written to the temporary file.

HRESULT Flush( ) throw( );

Возвращаемое значение

Returns S_OK on success, or an error HRESULT on failure.

Заметки

Similar to CAtlTemporaryFile::HandsOff, except that the file is not closed.

Пример

See the example for CAtlTemporaryFile::CAtlTemporaryFile.

Требования

Header: atlfile.h

См. также

Основные понятия

CAtlTemporaryFile Class

CAtlTemporaryFile Members