Returns a lock to the parent directory of the supplied lock.
INPUTS
lock
Lock to get parent directory of.
RESULT
Returns a lock to the parent directory or NULL, in which case the supplied lock has no parent directory (because it is the root directory) or an error occured. IoErr() returns 0 in the former case and a different value on error.
EXAMPLE
SEE ALSO
NOTES
BUGS
Locks get via ParentDir() are currently never unlocked! Use this function with care.