FSpRstFLock
You can use theFSpRstFLockfunction to unlock a file.
FUNCTION FSpRstFLock (spec: FSSpec): OSErr;
spec- An
FSSpecrecord specifying the file to unlock.DESCRIPTION
TheFSpRstFLockfunction unlocks a file.If the
PBHGetVolParmsfunction indicates that the volume supports folder locking (that is, thebHasFolderLockbit of thevMAttribfield is set), you can useFSpRstFLockto unlock a directory.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector forFSpRstFLockare
Trap macro Selector _HighLevelHFSDispatch $000A RESULT CODES