IHlink::SetMonikerReferenceIHlink::SetMonikerReference*
*Contents  *Index  *Topic Contents
*Previous Topic: IHlink::SetHlinkSite
*Next Topic: IHlink::SetStringReference

IHlink::SetMonikerReference

HRESULT SetMonikerReference(
    DWORD grfHLSETF,    //Specifies whether to set the hyperlink target, the location 
                        // within the target, or both.
    IMoniker * pimkTarget,   //Moniker interface pointer of the hyperlink target
    LPCWSTR pwzLocation      //Location within the hyperlink target of new hyperlink
   );

Sets the target moniker or location string values for a hyperlink object.

grfHLSETF
[in] Used to indicate whether to set the hyperlink target, the location within the target, or both.
pimkTarget
[in, unique] Address of an IMoniker interface on the hyperlink target.
pwzLocation
[in, unique] A string identifying the location within the hyperlink target that was navigated to. Must not be NULL.

See also HLINKSETF


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.