[IHlink::SetStringReference may be altered or unavailable in subsequent versions of the operating system or product.]
Sets the name portion and the location portion of the target.
HRESULT retVal = object.SetStringReference(grfHLSETF, pwzTarget, pwzLocation);
- grfHLSETF [in]
An HLINKSETF-defined value that indicates whether to set the hyperlink target, the location within the target, or both.
- pwzTarget [in]
A string that contains the target name for the hyperlink.
- pwzLocation [in]
The address of a string that indicates the location in the hyperlink target to which the browser navigated. This must not be NULL.