Important: The information in this document is obsolete and should not be used for new development.
HRstFLock
You can use theHRstFLock
function 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
TheHRstFLock
function unlocks a file.If the
PBHGetVolParms
function indicates that the volume supports folder locking (that is, thebHasFolderLock
bit of thevMAttrib
field is set), you can useHRstFLock
to unlock a directory.RESULT CODES