JCL Help:PidlGetDepth

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the depth of the given item identifier list.


Pascal

 function PidlGetDepth(Pidl: PItemIdList): Integer;


Parameters

Parameters Description
Pidl: PItemIdList The item identifier list for which to determine the depth.


Return Value

The depth of the item identifier list. If the supplied pidl is either unassigned or empty the function returns 0. If the pidl is invalid (depth is greater than MAX_PATH) the function returns -1.


Description

PidlGetDepth returns the number of items in the item identifier list excluding the zero terminator.


See Also

PidlGetLength


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