NAME

_findfirst  (MSVCRT.@)

SYNOPSIS

 intptr_t CDECL  _findfirst
 (
  const char*         fspec,
  struct _finddata_t* ft
 )

DESCRIPTION

Open a handle for iterating through a directory.

PARAMS

fspec [In] File specification of files to iterate.
ft [Out] Information for the first file found.

RETURNS

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.

NOTES

See FindFirstFileA.

IMPLEMENTATION

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 © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.