GetMonikerReference method
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.
Syntax
HRESULT retVal = object.GetMonikerReference(dwWhichRef, ppimkTarget, ppwzLocation);
Parameters
dwWhichRef [in]
Type: DWORDAn HLINKGETREF value that specifies whether to retrieve the absolute reference or the relative reference to the hyperlink target.
ppimkTarget [out]
Type: IMonikerThe 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.
ppwzLocation [out]
Type: LPWSTRThe 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.
See also
Reference