Note The Microsoft ActiveX Hyperlink API is deprecated in Windows Internet Explorer 8 and later, and ActiveX technology as a whole is unsupported in the Microsoft Edge browser in favor of standards-based web APIs. For more information, see Saying goodbye to ActiveX, VBScript, attachEvent... and Get ready for plug-in free browsing.
Gets the moniker portion and the location portion of the target.
HRESULT retVal = object.GetMonikerReference(dwWhichRef, ppimkTarget, ppwzLocation);
An HLINKGETREF value that specifies whether to retrieve the absolute reference or the relative reference to the hyperlink target.
The address of the IMoniker pointer to the target moniker object, if any. If this is NULL, the caller does not receive the moniker to the hyperlink reference.
The address of the location portion of the target moniker, if any. If this is NULL, the caller does not receive the location portion of the hyperlink reference.