共用方式為


CFile::GetPosition

virtualDWORDGetPosition()const;
throw(CFileException);

Return Value

The file pointer as a 32-bit doubleword.

Remarks

Obtains the current value of the file pointer, which can be used in subsequent calls to Seek.

Example

//example for CFile::GetPosition
extern CFile cfile;
DWORD dwPosition = cfile.GetPosition();

CFile OverviewClass MembersHierarchy Chart