JCL Help:PidlBindToParent

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Binds the Folder to the parent folder of the specified item identifier.


Pascal

 function PidlBindToParent(IdList: PItemIdList; out Folder: IShellFolder; out Last: PItemIdList): Boolean;


Parameters

Parameters Description
IdList: PItemIdList The item identifier list to whose parent folder you want to bind.
out Folder: IShellFolder On return contains a reference to the parent folder of IdList.
out Last: PItemIdList Item identifier list of IdList but relative to Folder.


Return Value

If the function succeeds the return value is True, otherwise the return value is False. In this latter case the Folder and Last parameter will contain nil on return.


Description

PidlBindToParent binds Folder to the parent folder of the absolute item identifier specified in IdList. The function also returns an item identifier for the IdList but relative to the parent folder. If the function succeeds it returns True, on failure it returns False


See Also

PathToPidlBind


About

Unit

JclShell


Donator

Marcel van Brakel


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page