CreateURLMonikerEx2 function
Creates a new URL moniker from a full Uniform Resource Identifier (URI), or from a base context URL moniker and a relative URI.
Syntax
HRESULT CreateURLMonikerEx2( IMoniker *pMkCtx, IUri *pUri, IMoniker **ppmk, DWORD dwFlags );
Parameters
- pMkCtx
-
A pointer to an IMoniker interface of the URL moniker to use as the base context. The pMkCtx parameter can be NULL.
- pUri
-
A pointer to an IUri interface that contains a full or relative URI.
- ppmk
-
A pointer to an IMoniker interface for the new URL moniker.
- dwFlags
-
An unsigned long integer value that contains a combination of the following flags.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Any two URIs can be combined. The base URI and context URI can be any combination of relative and absolute. This is also true for the CoInternetCombineUrl function, the CoInternetCombineUrlEx function, and the CoInternetCombineIUri function.
Requirements
|
Minimum supported client |
Windows XP with SP2 |
|---|---|
|
Minimum supported server |
Windows Server 2003 with SP1 |
|
Product |
Internet Explorer 7 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
- Reference
- CreateURLMonikerEx
- CreateUri