---
name: "MSVCRT__findnext"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/MSVCRT__findnext"
---

# MSVCRT\_\_findnext(3w)

## NAME

**MSVCRT\_\_findnext** (MSVCRT.@)

## SYNOPSIS

int CDECL  MSVCRT\_\_findnext\
  (\
   MSVCRT\_intptr\_t            *hand*,\
   struct MSVCRT\_\_finddata\_t\* *ft*\
  )

## DESCRIPTION

Find the next file from a file search handle.

## PARAMS

*hand* **\[In\]**  Handle to the search returned from **\_findfirst(3w)**.

*ft* **\[Out\]**  Information for the file found.

## RETURNS

**Success:** **0.** *ft* is populated with the details of the found file.

**Failure:** **-1.** errno indicates the error.

## NOTES

See **[FindNextFileA(3w)](/FindNextFileA/3w.md)**.

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in **"dlls/msvcrt/dir.c"**.

Debug channel **"msvcrt"**.
