HlinkSetSpecialReference function

[HlinkSetSpecialReference 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.

 

Inserts a string into a specified member of the HLSR enumeration.

Syntax

HRESULT HlinkSetSpecialReference(
  _In_ unsigned long uReference,
  _In_ LPCWSTR       pwzReference
);

Parameters

  • uReference [in]
    A value taken from the HLSR enumeration.

  • pwzReference [in]
    The address of the special reference string.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

The string set by this function contains the current user's default home page, search page, or history page.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Hlink.h

Library

Hlink.lib

DLL

Hlink.dll

See also

HlinkGetSpecialReference