MPFSGetFilename Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
MPFSGetFilename Function
C
BOOL MPFSGetFilename(
    MPFS_HANDLE hMPFS, 
    BYTE* cName, 
    WORD wLen
);
Description

Reads the file name of a file that is already open.

Preconditions

The file handle referenced by hMPFS is already open.

Parameters
Parameters 
Description 
the file handle from which to determine the file name 
cName 
where to store the name of the file 
wLen 
the maximum length of data to store in cName 
Return Values
Return Values 
Description 
TRUE 
the file name was successfully located 
FALSE 
the file handle provided is not currently open 
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.