Important: The information in this document is obsolete and should not be used for new development.
FSpRstFLock
You can use theFSpRstFLock
function to unlock a file.
FUNCTION FSpRstFLock (spec: FSSpec): OSErr;
spec
- An
FSSpec
record specifying the file to unlock.DESCRIPTION
TheFSpRstFLock
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 useFSpRstFLock
to unlock a directory.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector forFSpRstFLock
are
Trap macro Selector _HighLevelHFSDispatch $000A RESULT CODES