FindFirstFileA
Starts a file search and returns its first matching entry.
Module: Windows
Microsoft documentation: FindFirstFileA
Signature
rux
func FindFirstFileA(fileName: *const char8,
findFileData: *Win32FindDataA) -> *opaque;fileName is a null-terminated ANSI path pattern and may contain wildcards. findFileData receives the first result. Returns a search handle on success or INVALID_HANDLE_VALUE on failure. Release the search handle with FindClose, not CloseHandle.
See also
FindNextFileA— continue the searchFile enumeration— enumeration overview