C
WORD MPFSPutArray( MPFS_HANDLE hMPFS, BYTE* cData, WORD wLen );
Description
Writes an array of data to the MPFS image.
Preconditions
MPFSFormat was sucessfully called.
Parameters
Parameters |
Description |
the file handle for writing | |
cData |
the array of bytes to write |
wLen |
how many bytes to write |
Returns
The number of bytes successfully written.
Remarks
For EEPROM, the actual write may not initialize until the internal write page is full. To ensure that previously written data gets stored, MPFSPutEnd must be called after the last call to MPFSPutArray.