IHlink::GetMonikerReferenceIHlink::GetMonikerReference*
*Contents  *Index  *Topic Contents
*Previous Topic: IHlink::GetMiscStatus
*Next Topic: IHlink::GetStringReference

IHlink::GetMonikerReference

HRESULT GetMonikerReference(
    DWORD dwWhichRef,          /Absolute or relative reference
    IMoniker * ppimkTarget,    //Receives a pointer to the moniker of the hyperlink target
    LPWSTR * ppwzLocation      //Receives the location portion of the hyperlink target
   );

Retrieves the moniker and location portions of the hyperlink reference.

dwWhichRef
[in] Value from the HLINKGETREF enumeration specifying whether to get the absolute or relative reference to the hyperlink target.
ppimkTarget
[out] On return, points to the IMoniker pointer of the target's moniker object, if any. Can be NULL, in which case the caller is not interested in the moniker to the hyperlink reference.
ppwzLocation
[out] On return, points to the string location portion of the target, if any. If NULL, the caller is not interested in the location portion of the hyperlink reference.

See also HLINKGETREF, IHlinkSite::GetMoniker, IHlinkTarget::GetMoniker


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