FsFindNext
FsFindNext is called to retrieve the next file in a directory of the plugin's file system.
Declaration:
BOOL __stdcall FsFindNext(HANDLE Hdl, WIN32_FIND_DATA *FindData);
Description of parameters:
Hdl The find handle returned by FsFindFirst.
FindData A standard
WIN32_FIND_DATA struct as defined in the Windows SDK, which contains the file or directory details. Use the dwFileAttributes field set to FILE_ATTRIBUTE_DIRECTORY to distinguish files from directories. On Unix systems, you can | (or) the dwFileAttributes field with 0x80000000 and set the
dwReserved0 parameter to the Unix file mode (permissions).
Return value:
Return FALSE if an error occurs or if there are no more files, and TRUE otherwise. SetLastError() does not need to be called.