Share via


CAtlFile::Flush

Call this method to clear the buffers for the file and cause all buffered data to be written to the file.

HRESULT Flush( ) throw( );

Return Value

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

Remarks

Calls FlushFileBuffers to flush buffered data to the file.

Requirements

Header: atlfile.h

See Also

Reference

CAtlFile Class

Other Resources

CAtlFile Members