HLINKGETREF enumeration

[HLINKGETREF may be altered or unavailable in subsequent versions of the operating system or product.]

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.

Specifies whether the client is requesting the absolute, relative, or default reference for the hyperlink target. The constants are used in the IHlink::GetMonikerReference and IHlink::GetStringReference methods.

Syntax

typedef enum tagHLINKGETREF { 
  HLINKGETREF_DEFAULT   = 0,
  HLINKGETREF_ABSOLUTE  = 1,
  HLINKGETREF_RELATIVE  = 2
} HLINKGETREF;

Constants

  • HLINKGETREF_DEFAULT
    Used to specify that the client of the hyperlink wants to retrieve the default reference for the hyperlink target. This depends on whether the hyperlink was initialized as a relative or an absolute reference.

  • HLINKGETREF_ABSOLUTE
    Used to specify that the client of the hyperlink wants to retrieve the absolute reference for the hyperlink target.

  • HLINKGETREF_RELATIVE
    Used to specify that the client of the hyperlink wants to retrieve the relative reference for the hyperlink target.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Hlink.h