IHlink::SetMonikerReferen...     IHlink::SetTargetFrameNam...     IHlink Interface    
Web Workshop (Miscellaneous)

IHlink::SetStringReference Method


Sets the name and location portions of the target.

Syntax

HRESULT SetStringReference(
    DWORD grfHLSETF,       
    LPCWSTR pwzTarget,     
    LPCWSTR pwzLocation    
);

Parameters

grfHLSETF
[in] HLINKSETF-defined value that indicates whether to set the hyperlink target, the location within the target, or both.
pwzTarget
[in] String that contains the target name for the hyperlink.
pwzLocation
[in] Address of a string that indicates the location within 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


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.