MPFSGetArray Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
MPFSGetArray Function
C
WORD MPFSGetArray(
    MPFS_HANDLE hMPFS, 
    BYTE* cData, 
    WORD wLen
);
Description

Reads a series of bytes from a file.

Preconditions

The file handle referenced by hMPFS is already open.

Parameters
Parameters 
Description 
the file handle from which to read 
cData 
where to store the bytes that were read 
wLen 
how many bytes to read 
Returns

The number of bytes successfully read. If this is less than wLen, an EOF occurred while attempting to read.

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