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

# PathCreateFromUrlW(3w)

## NAME

**PathCreateFromUrlW** (SHLWAPI.@)

## SYNOPSIS

HRESULT PathCreateFromUrlW\
  (\
   LPCWSTR *pszUrl*,\
   LPWSTR  *pszPath*,\
   LPDWORD *pcchPath*,\
   DWORD   *dwReserved*\
  )

## DESCRIPTION

Create a path from a **URL**.

## PARAMS

lpszUrl **\[In\]**  Url to convert into a path.

lpszPath **\[Out\]**  Output buffer for the resulting Path.

*pcchPath* **\[In\]**  Length of lpszPath.

dwFlags **\[In\]**  Flags controlling the conversion.

## RETURNS

**Success:** **S\_OK**. lpszPath contains the Url in path format,

**Failure:** An **HRESULT** error code such as **E\_INVALIDARG**.

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
