Returns the current directory name
Source position: amigados.pas line 2294
function GetCurrentDirName( |
Buf: PChar; |
Len: LongInt |
):LongBool; |
Buf |
|
Number of bytes of space in buffer |
Buffer to hold extracted name
Extracts the current directory name from the CLI structure and puts it into the buffer. If the buffer is too small, the name is truncated appropriately and a failure code returned. If no CLI structure is present, a null string is returned in the buffer, and failure from the call (with IoErr() = ERROR_OBJECT_WRONG_TYPE);
|
Sets the directory name for the process |