| C T L _ U D I R A S S I G N ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - CTL_#?
----------------------------------------------------------------------------
NAME
ctl_udirassign() - Micro directory assigner/unassigner.
SYNOPSIS
res = ctl_udirassign(vpath, obj, flags);
BOOL ctl_udirassign(UBYTE *, UBYTE *, ULONG);
FUNCTION
This function allows to quickly associate directories with
virtual paths. It does nearly what 'Assign' shell command
does.
INPUTS
vpath - Virtual path/node('mypath:'). Must include colon!
obj - Full path to directory to be referenced. Files are
not allowed and will be discarded!
flags - Op. type flags. See header file.
RETURNS
Func. may return TRUE if operation was successful or FALSE
if something failed.
BASES
(SysBase), DOSBase
NOTES
This function behaves pretty much like 'Assign' command so
if 'obj' is NULL then all the 'vpath' related entries get
removed including 'vpath'.
Removing or adding multiassign entries is possible thanks
to 'flags'. Also, late and path assigns are availale this
way.
SEE ALSO
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |