MPFSSeek Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
MPFSSeek Function
C
BOOL MPFSSeek(
    MPFS_HANDLE hMPFS, 
    DWORD dwOffset, 
    MPFS_SEEK_MODE tMode
);
Description

Moves the current read pointer to a new location.

Preconditions

The file handle referenced by hMPFS is already open.

Parameters
Parameters 
Description 
the file handle to seek with 
dwOffset 
offset from the specified position in the specified direction 
tMode 
one of the MPFS_SEEK_MODE constants 
Returns

TRUE - the seek was successful FALSE - either the new location or the handle itself was invalid

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