Contents Index Topic Contents | ||
Previous Topic: CreateURLBinding Next Topic: FindMediaType |
CreateURLMoniker
HRESULT CreateURLMoniker( [in] IMoniker *pmkContext, [in] LPWSTR szURL, [out] IMoniker **ppmk );Creates a URL moniker from either a full URL string or from a base context URL moniker and a partial URL string.
- Returns one of the following values:
S_OK Success. E_OUTOFMEMORY The operation ran out of memory. MK_E_SYNTAX A moniker could not be created because szURL does not correspond to valid URL syntax for a full or partial URL. This is uncommon, because most parsing of the URL occurs during binding and because the syntax for URLs is extremely flexible.
- pmkContext
- Address of the IMoniker interface for the URL moniker to use as the base context when the szURL parameter is a partial URL string. The pmkContext parameter can be NULL.
- szURL
- Display name to be parsed.
- ppmk
- Indirect pointer to an IMoniker interface for the new URL moniker.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.