[Now Supported on Windows NT]
设置shell链接对象的相对路径。
HRESULT STDMETHODCALLTYPE SetRelativePath(
ISHELLLINK FAR*【pShlLnk】, | |
LPCSTR 【pszPathRel】, | |
LPCITEMIDLIST 【Pointer to a buffer that contains the new relative path.】 | |
); |
参数
【pShlLnk】
指向IShellLink界面。在C ++中,此参数是隐式的。
【pszPathRel】
指向包含新相对路径的缓冲区。
【Pointer to a buffer that contains the new relative path.】
指向标识对象的项目标识符列表。
返回值
如果成功返回NOERROR,否则返回OLE定义的错误值。
也可以看看