CAtlTemporaryFile::HandsOn

Call this method to open an existing temporary file and position the pointer at the end of the file.

HRESULT HandsOn( ) throw( );

Return Value

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

Remarks

CAtlTemporaryFile::HandsOff and HandsOn are used to disassociate the file from the object, and reattach it if needed.

Requirements

Header: atlfile.h

See Also

Concepts

CAtlTemporaryFile Class

CAtlTemporaryFile Members

CAtlTemporaryFile::HandsOff