IShellLink::SetRelativePath  1G5166

[Now Supported on Windows NT]

Sets the relative path to the shell link object.

HRESULT STDMETHODCALLTYPE SetRelativePath(

    ISHELLLINK FAR *pShlLnk,

 

    LPCSTR pszPathRel,

 

    LPCITEMIDLIST pidlRel

 

   );

 

 

Parameters

pShlLnk

Pointer to the IShellLink interface. In C++, this parameter is implicit.

pszPathRel

Pointer to a buffer that contains the new relative path.

pidlRel

Pointer to a list of item identifiers that identify the object.

 

Return Values

Returns NOERROR if successful or an OLE-defined error value otherwise.

See Also

IShellLink