Sets the moniker reference of the target.
Syntax
HRESULT SetMonikerReference( DWORD grfHLSETF, IMoniker *pimkTarget, LPCWSTR pwzLocation );
Parameters
- grfHLSETF
- [in] HLINKSETF-defined value that indicates whether to set the hyperlink target, the location within the target, or both.
- pimkTarget
- [in] Address of an IMoniker interface on the hyperlink target.
- pwzLocation
- [in] Address of a string that indicates the location in the hyperlink target to which the browser navigated. This must not be NULL.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0