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

# PathFindOnPathExA(3w)

## NAME

**PathFindOnPathExA** (SHLWAPI.5)

## SYNOPSIS

BOOL PathFindOnPathExA\
  (\
   LPSTR   *lpszFile*,\
   LPCSTR\* *lppszOtherDirs*,\
   DWORD   *dwWhich*\
  )

## DESCRIPTION

Search a range of paths for a specific type of executable.

## PARAMS

*lpszFile* **\[In/Out\]**  File to search for.

*lppszOtherDirs* **\[In\]**  Other directories to look in.

*dwWhich* **\[In\]**  Type of executable to search for.

## RETURNS

**Success:** **TRUE**. The path to the executable is stored in *lpszFile*.

**Failure:** **FALSE**. The path to the executable is unchanged.

## IMPLEMENTATION

Exported by ordinal only. Use **[GetProcAddress(3w)](/GetProcAddress/3w.md)** to obtain a pointer to the function.

Implemented in **"dlls/shlwapi/path.c"**.

Debug channel **"shell"**.
