IHlink::GetMonikerReference
Retrieves the moniker and location portions of the hyperlink reference. 
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
);
 
Parameters
- 
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. May 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. 
Return Values
- 
S_OK
- 
Indicates the moniker and location portions of the target of the hyperlink target have been successfully supplied. 
QuickInfo
  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in hlink.h.
See Also
HLINKGETREF, IHlinkSite::GetMoniker, IHlinkTarget::GetMoniker