Home |
Function RTFSetCurrentDir |
Function RTFSetCurrentDirRTFSetCurrentDir changes the current directory and drive: int RTFSetCurrentDir(const char * DirName); ParametersDirNamePointer to the name of the new current directory. The new directory can have any legal file name syntax. If no drive is given, the current drive is not changed. If only a drive, but no file name is given, only the drive is changed, and the current directory last used on the new drive is used. return valueIf the function succeeds, the return value is RTF_NO_ERROR. If the function fails, the return value is a negative error code. RTFiles-32 maintains a default directory for each drive, but only one current directory can be active at any one time.
|