Share via


CAtlTemporaryFile::GetSize

Call this method to get the size in bytes of the temporary file.

HRESULT GetSize( 
   ULONGLONG& nLen  
) const throw( );

Parameters

  • nLen
    The number of bytes in the file.

Return Value

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

Requirements

Header: atlfile.h

See Also

Reference

CAtlTemporaryFile Class

CAtlFile::GetSize

CAtlTemporaryFile::SetSize