Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than ole32, prefix the name with the module name and a period.
static extern int MkParseDisplayName(UCOMIBindCtx pbc,
[MarshalAs(UnmanagedType.LPWStr)] string szUserName, out uint pchEaten,
out UCOMIMoniker ppmk);
/// Converts a string into a moniker that identifies
/// the object named by the string
/// <param name="pbc">A pointer to the IBindCtx interface on the bind context object to be used in this binding operation.</param>
/// <param name="szUserName">A pointer to the display name to be parsed.</param>
/// <param name="pchEaten">A pointer to the number of characters of szUserName that were consumed. If the function is successful, *pchEaten is the length of szUserName; otherwise, it is the number of characters successfully parsed.</param>
/// <param name="ppmk">The address of the IMoniker* pointer variable that receives the interface pointer to the moniker that was built from szUserName. When successful, the function has called AddRef on the moniker and the caller is responsible for calling Release. If an error occurs, the specified interface pointer will contain as much of the moniker that the method was able to create before the error occurred.</param>
[DllImport("ole32.dll", CharSet = CharSet.Unicode)]
public static extern
int MkParseDisplayName(IBindCtx pbc, string szUserName, ref int pchEaten, out IMoniker ppmk);
Tips & Tricks:
Please add some!
Please add some!
Alternative Managed API:
Do you know one? Please contribute it!
The MkParseDisplayName API
5/19/2012 2:37:51 PM - -18.104.22.168
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).