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

# PathMatchSpecA(3w)

## NAME

**PathMatchSpecA** (SHLWAPI.@)

## SYNOPSIS

BOOL PathMatchSpecA\
  (\
   LPCSTR *lpszPath*,\
   LPCSTR *lpszMask*\
  )

## DESCRIPTION

Determine if a path matches one or more search masks.

## PARAMS

*lpszPath* **\[In\]**  Path to check.

*lpszMask* **\[In\]**  Search mask(s).

## RETURNS

**TRUE** If *lpszPath* is valid and is matched **FALSE** Otherwise.

## NOTES

Multiple search masks may be given if they are separated by **";"**. The pattern **"\*.\*"** is treated specially in that it matches all paths (for backwards compatibility with **DOS**).

## IMPLEMENTATION

Declared in **"shlwapi.h"**.

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

Debug channel **"shell"**.
