dlist = AttemptLockDosList(flags)
D0 D1
struct DosList *AttemptLockDosList(ULONG)
Locks the DOS device list in preparation to walk the list. If the list is 'busy' then this function will return NULL. See
LockDosList() for more information.
In V36 through V39.23 dos.library, this would return NULL or 0x00000001 for failure. Fixed in V39.24 dos.library (after kickstart 39.106).