Partager via


HlinkIsShortcut function

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

 

Indicates if the submitted string is a hyperlink shortcut file.

Syntax

HRESULT HlinkIsShortcut(
   LPCWSTR pwzShortcutFileName
);

Parameters

  • pwzShortcutFileName
    The submitted string.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header

HLink.h

Library

HLink.Idl

DLL

Hlink.dll