(C) 1998 AROS - The Amiga Research OS
DeviceProc() will fail if you ask for the Process of a device created with AssignPath() as there is no process to return. If the device requested is an assign, the IoErr() will contain the Lock to the directory (the function will return the device on which the lock is set).
Moved #include's into first column