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

# CreateURLMonikerEx(3w)

## NAME

**CreateURLMonikerEx** (URLMON.@)

## SYNOPSIS

HRESULT CreateURLMonikerEx\
  (\
   IMoniker\*  *pmkContext*,\
   LPCWSTR    *szURL*,\
   IMoniker\*\* *ppmk*,\
   DWORD      *dwFlags*\
  )

## DESCRIPTION

Create a Url moniker.

## PARAMS

*pmkContext* **\[In\]**  Context.

*szURL* **\[In\]**  Url to create the moniker for.

*ppmk* **\[Out\]**  Destination for created moniker.

*dwFlags* **\[In\]**  Flags.

## RETURNS

**Success:** **S\_OK**. *ppmk* contains the created **IMoniker** object.

**Failure:** **MK\_E\_SYNTAX** if *szURL* is not a valid url, or **E\_OUTOFMEMORY** if memory allocation fails.

## IMPLEMENTATION

Declared in **"urlmon.h"**.

Implemented in **"dlls/urlmon/umon.c"**.

Debug channel **"urlmon"**.
