Partager via


CAtlTemporaryFile::GetPosition

Call this method to get the current file pointer position.

HRESULT GetPosition(
   ULONGLONG& nPos 
) const throw( );

Parameters

  • nPos
    The position in bytes.

Return Value

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

Remarks

To change the file pointer position, use CAtlTemporaryFile::Seek.

Requirements

Header: atlfile.h

See Also

Reference

CAtlTemporaryFile Class

CAtlFile::GetPosition

Other Resources

CAtlTemporaryFile Members