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

# UrlCombineA(3w)

## NAME

**UrlCombineA** (SHLWAPI.@)

## SYNOPSIS

HRESULT UrlCombineA\
  (\
   LPCSTR  *pszBase*,\
   LPCSTR  *pszRelative*,\
   LPSTR   *pszCombined*,\
   LPDWORD *pcchCombined*,\
   DWORD   *dwFlags*\
  )

## DESCRIPTION

Combine two Urls.

## PARAMS

*pszBase* **\[In\]**  Base Url.

*pszRelative* **\[In\]**  Url to combine with *pszBase*.

*pszCombined* **\[Out\]**  Destination for combined Url.

*pcchCombined* **\[Out\]**  Destination for length of *pszCombined*.

*dwFlags* **\[In\]**  **URL\_** flags from **"shlwapi.h"**.

## RETURNS

**Success:** **S\_OK**. *pszCombined* contains the combined Url, *pcchCombined* contains its length.

**Failure:** An **HRESULT** error code indicating the error.

## IMPLEMENTATION

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

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

Debug channel **"shell"**.
