IBindHost::CreateMoniker (Windows CE 5.0)
This method creates a moniker to bind to a URL.
HRESULTCreateMoniker(LPOLESTRszName,IBindCtx* pBC,IMoniker** ppmk,DWORDdwReserved);
Parameters
- szName
[in] Pointer to a string that contains the URL to bind to. - pBC
[in] Pointer to the IBindCtx interface of the optional bind context to be used when creating the moniker. This parameter is currently ignored but might be used in the future for passing additional information. - ppmk
[out] Address of a pointer to the IMoniker interface of the moniker that is created. - dwReserved
[in] Reserved. Must be set to 0.
Return Values
This method returns one of the values shown in the following table.
Value | Description |
---|---|
S_OK | The moniker was successfully obtained and the caller is responsible for the interface pointer. |
E_OUTOFMEMORY | There is insufficient memory to create the moniker. |
E_UNEXPECTED | An unknown error occurred. |
MK_E_SYNTAX | The bind host was unable to parse the string into a moniker because the information in the name was unrecognizable. |
Remarks
E_NOTIMPL is disallowed — a bind host is responsible for providing moniker parsing services.
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