Creates an assignment to a specified path later
Source position: amigados.pas line 2304
function AssignLate( |
const Name: PChar; |
const Path: PChar |
):LongBool; |
Name |
|
Name of device to be assigned (without trailing ':') |
Path |
|
Name of late assignment to be resolved on the first reference. |
IoErr() gives more information of fail
Create an assign for the given name, which will be resolved upon the first reference to it. If this succeeds (i.e. the path exists and can be locked) it will be turned into an AssignLock() type assign. This way you can create assigns to unmounted volumes which will only be requested when accessed.
|
Lock a directory or file |
|
|
Adds a lock to an assign for multi-directory assigns |
|
|
Creates an assignment to a specified path |
|
|
Creates an assignment to a locked object |