INewShortcutHook interface

Exposes methods to create a new Internet shortcut.

Members

The INewShortcutHook interface inherits from the IUnknown interface. INewShortcutHook also has these types of members:

Methods

The INewShortcutHook interface has these methods.

MethodDescription
GetExtension

Gets the file name extension for the shortcut object.

GetFolder

Gets the folder name for the shortcut object.

GetName

Gets the file name of the shortcut object, without the extension.

GetReferent

Gets the referent of the shortcut object.

SetFolder

Sets the folder name for the shortcut object.

SetReferent

Sets the referent of the shortcut object.

 

Remarks

You do not typically implement INewShortcutHook. It is implemented by the Shell for Internet shortcuts.

You use INewShortcutHook when creating a new Internet shortcut. The methods provided by this interface are supplied as a convenience.

INewShortcutHook is derived from IUnknown. The listed methods are specific to INewShortcutHook.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlobj.h

DLL

Shell32.dll (version 4.0 or later)

 

 

Show: