[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'LazFileUtils' (#lazutils)

FindNextUTF8

Locates another file matching the search criteria.

Declaration

Source position: lazfileutils.pas line 115

function FindNextUTF8(

  var Rslt: TSearchRec

):LongInt;

Arguments

Rslt

  

Search criteria for the function.

Function result

Last error number.

Description

FindNextUTF8 is a Longint function used to locate another file matching the TSearchRec value in Rslt. Rslt is populated in a prior call to FindFirstUTF8, and updated in FindNextUTF8.

For the Windows environment, FindNextFileW is called to compare the TWIN32FINDDATAW for the matching file. For UNIX-like environments, the FindNext function in SysUtils is used.

The return value contains the result from GetLastError; a non-zero value indicates that an error was encountered.


Version 4.0 Generated 2025-05-03 Home