다음을 통해 공유


CAtlFile::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

Calls SetFilePointer to get the current file pointer position.

Requirements

Header: atlfile.h

See Also

Reference

CAtlFile Class

CAtlFile::GetSize