MkParseDisplayNameExMkParseDisplayNameEx*
*Contents  *Index  *Topic Contents
*Previous Topic: IsValidURL
*Next Topic: ObtainUserAgentString

MkParseDisplayNameEx

HRESULT MkParseDisplayNameEx(
    [in] IBindCtx*pbc,
    [in] LPWSTR  szDisplayName,
    [out] ULONG *pcchEaten,
    [out] IMoniker **ppmk
);

Given a string, returns a moniker of the object that the string denotes.

pbc
Address of the bind context in which to accumulate bound objects.
szDisplayName
Display name to be parsed.
pcchEaten
Address of the number of characters of the display name that were successfully parsed. Most useful on syntax error, when a nonzero value is often returned and therefore a subsequent call to MkParseDisplayNameEx with the same pbc parameter and a shortened szDisplayName parameter should return a valid moniker.
ppmk
Indirect pointer to the resulting moniker.

See also IParseDisplayName


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.