_findfirst (MSVCRT.@)
intptr_t CDECL _findfirst ( const char* fspec, struct _finddata_t* ft )
Open a handle for iterating through a directory.
fspec | [In] | File specification of files to iterate. |
ft | [Out] | Information for the first file found. |
Success: A handle suitable for passing to _findnext and _findclose. ft is populated with the details of the found file.
Failure: -1. errno indicates the error.
See FindFirstFileA.
Declared in "tchar.h". https://source.winehq.org/source/include/tchar.h
Implemented in "dlls/msvcrt/dir.c". https://source.winehq.org/source/dlls/msvcrt/dir.c
Debug channel "msvcrt".
Copyright © 2023 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Sep 2023.