IResolveShellLink interface (shobjidl_core.h)

Exposes a method that enables an application to request that a Shell folder object resolve a link for one of its items.

Inheritance

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

Methods

The IResolveShellLink interface has these methods.

 
IResolveShellLink::ResolveShellLink

Requests that a folder object resolve a Shell link.

Remarks

Namespace extensions implement this object to support link resolution.

This interface is not typically used by applications.

With namespace extensions, shortcut objects (.lnk files) implement the essential functionality of IShellLink::Resolve by calling IResolveShellLink::ResolveShellLink. IResolveShellLink is exported by a link resolution object that is created on request by the Shell folder.

To retrieve a pointer to a link resolution object's IResolveShellLink interface:

  • For an object that is contained by a folder, call the folder's IShellFolder::GetUIObjectOf method and request an IResolveShellLink pointer (IID_IResolveShellLink).
  • For the folder object itself, call the folder's IShellFolder::CreateViewObject method and request an IResolveShellLink pointer (IID_IResolveShellLink).
Note  Prior to Windows Vista this interface was declared in Shlobj.h.
 

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)