MPFSGetPosition Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
MPFSGetPosition Function
C
DWORD MPFSGetPosition(
    MPFS_HANDLE hMPFS
);
Description

Determines the current position in the file

Preconditions

The file handle referenced by hMPFS is already open.

Parameters
Parameters 
Description 
the file handle for which to determine position 
Returns

The position in the file as a DWORD (or MPFS_PTR)

Remarks

Calling MPFSSeek(hMPFS, pos, MPFS_SEEK_START) will return the pointer to this position at a later time. (Where pos is the value returned by this function.)

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.