Create a multi-directory assign, or adds to it if it already was one. Do not use or free the lock after calling this function - it becomes the assign and will be freed by the system when the assign is removed.
INPUTS
name
NULL terminated name of the assign.
lock
Lock on the assigned directory.
RESULT
!=0 success, 0 on failure. IoErr() gives additional information in that case. The lock is not freed on failure.