FindFirstFileA v0.1.0

Source
Starts a file search and returns its first matching entry.

Package: Windows

Microsoft documentation: FindFirstFileA

Signature

func FindFirstFileA(
    fileName: *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 the invalid-handle sentinel (-1 as a handle) on failure. Release the search handle with FindClose, not CloseHandle.

See also