INewShortcutHookW 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 INewShortcutHookW interface has these methods.
INewShortcutHookW::GetExtension Gets the file name extension for the shortcut object. (Unicode) |
INewShortcutHookW::GetFolder Gets the folder name for the shortcut object. (Unicode) |
INewShortcutHookW::GetName Gets the file name of the shortcut object, without the extension. (Unicode) |
INewShortcutHookW::GetReferent Gets the referent of the shortcut object. (Unicode) |
INewShortcutHookW::SetFolder Sets the folder name for the shortcut object. (Unicode) |
INewShortcutHookW::SetReferent Sets the referent of the shortcut object. (Unicode) |
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 |