JCL Help: PidlCompare Function
- Project summary
Search in JCL HelpSearch in all projects
Compares two item identifier lists.
function PidlCompare(Pidl1: PItemIdList; Pidl2: PItemIdList): Boolean;
|Pidl1: PItemIdList||An item identifier list to compare against Pidl2|
|Pidl2: PItemIdList||An item identifier list to compare against Pidl1|
If the two pidl's are equal the function returns True, if they are not equal it returns False.
PidlCompare compares the two supplied item identifier lists (pidl's). If they are equal the result is True, otherwise the result is False. Note that if both pidl's are nil they considered equal. Equality is determined by directly comparing the memory block that the item identifier lists point to. This may lead to incorrect results because a namespace extension is free to implement a pidl in any way it likes. To compare pidl's in a reliable manner you must use the IShellFolder's CompareIDs method.
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