Important: The information in this document is obsolete and should not be used for new development.
HRstFLock
You can use theHRstFLockfunction to unlock a file.
FUNCTION HRstFLock (vRefNum: Integer; dirID: LongInt; fileName: Str255): OSErr;
vRefNum- A volume reference number, a working directory reference number, or 0 for the default volume.
dirID- A directory ID.
fileName- The name of the file.
DESCRIPTION
TheHRstFLockfunction unlocks a file.If the
PBHGetVolParmsfunction indicates that the volume supports folder locking (that is, thebHasFolderLockbit of thevMAttribfield is set), you can useHRstFLockto unlock a directory.RESULT CODES