Compartilhar via


CreateURLMonikerEx (Windows CE 5.0)

Send Feedback

This function creates a URL moniker from either a full URL or from a base context URL moniker and a partial URL.

HRESULTCreateURLMonikerEx(LPMONIKERpMkCtx,LPCWSTRszURL,LPMONIKER* ppmk,DWORDdwFlags);

Parameters

  • pMkCtx
    Pointer to an IMoniker interface of the URL moniker to use as the base context when the szURL parameter is a partial URL string. The pMkCtx parameter can be NULL.
  • szURL
    BSTR value that contains the URL to be parsed.
  • ppmk
    Address of a pointer to an IMoniker interface for the new URL moniker.
  • dwFlags
    DWORD value that specifies which URL parser to use. This can be one of the values shown in the following table.
    Value Description
    URL_MK_LEGACY Use the same URL parser as CreateURLMoniker.
    URL_MK_UNIFORM Use the updated URL parser.

Return Values

Returns S_OK if successful or an error value otherwise.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Link Library: Urlmon.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.