MPFSOpenID Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
MPFSOpenID Function
C
MPFS_HANDLE MPFSOpenID(
    WORD hFatID
);
Description

Quickly re-opens a file in the MPFS2 file system. Use this function along with MPFSGetID() to quickly re-open a file without tying up a permanent MPFSStub.

Preconditions

None

Parameters
Parameters 
Description 
hFatID 
the ID of a previous opened file in the FAT 
Returns

An MPFS_HANDLE to the opened file if found, or MPFS_INVALID_HANDLE if the file could not be found or no free handles exist.

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