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

# PathParseIconLocationA(3w)

## NAME

**PathParseIconLocationA** (SHLWAPI.@)

## SYNOPSIS

int PathParseIconLocationA\
  (\
   LPSTR *lpszPath*\
  )

## DESCRIPTION

Parse the location of an icon from a path.

## PARAMS

*lpszPath* **\[In/Out\]**  The path to parse the icon location from.

## RETURNS

**Success:** The number of the icon

**Failure:** **0** if the path does not contain an icon location or is **NULL**.

## NOTES

The path has surrounding quotes and spaces removed regardless of whether the call succeeds or not.

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
