CreateUriWithFragment(3w)

CreateUriWithFragment3w

Usage

HRESULT CreateUriWithFragment
(
LPCWSTR pwzURI,
LPCWSTR pwzFragment,
DWORD dwFlags,
DWORD_PTR dwReserved,
IUri** ppURI
)

Overview

Creates a new IUri object. This is almost the same as CreateUri, expect that it allows you to explicitly specify a fragment (pwzFragment) for pwzURI.

Params

pwzURI [In] The URI to parse and perform canonicalization on.

pwzFragment [In] The explicit fragment string which should be added to pwzURI.

dwFlags [In] The flags which will be passed to CreateUri.

dwReserved [In] Reserved (not used).

ppURI [Out] The resulting IUri after parsing/canonicalization.

Returns

Success: S_OK. ppURI contains the pointer to the newly allocated IUri.

Failure: E_INVALIDARG if pwzURI already contains a fragment and pwzFragment isn't NULL. Will also return E_INVALIDARG for the same reasons as CreateUri will. E_OUTOFMEMORY if any allocation fails.

Implementation

Declared in "urlmon.h".

Implemented in "dlls/urlmon/uri.c".

Debug channel "urlmon".

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.