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".