INewShortcutHookA interface (shlobj.h)

Exposes methods to create a new Internet shortcut.

Inheritance

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

Methods

The INewShortcutHookA interface has these methods.

 
INewShortcutHookA::GetExtension

Gets the file name extension for the shortcut object. (ANSI)
INewShortcutHookA::GetFolder

Gets the folder name for the shortcut object. (ANSI)
INewShortcutHookA::GetName

Gets the file name of the shortcut object, without the extension. (ANSI)
INewShortcutHookA::GetReferent

Gets the referent of the shortcut object. (ANSI)
INewShortcutHookA::SetFolder

Sets the folder name for the shortcut object. (ANSI)
INewShortcutHookA::SetReferent

Sets the referent of the shortcut object. (ANSI)

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.

Note

The shlobj.h header defines INewShortcutHook as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shlobj.h