NWReleasePhysicalRecord
Unlocks the specified physical record currently locked in the log table of the requesting workstation but does not remove it from the table
#include <nwfile.h> or #include <nwcalls.h> N_EXTERN_LIBRARY( NWCCODE )NWReleasePhysicalRecord ( NWFILE_HANDLE fileHandle, nuint32 recStartOffset, nuint32 recSize);
uses calwin32 Function NWReleasePhysicalRecord (fileHandle : NWFILE_HANDLE; recStartOffset : nuint32; recSize : nuint32 ) : NWCCODE;
These are common return values; see Return Values (NDK: Connection, Message, and NCP Extensions) for more information.
A physical record lock, as opposed to a logical lock, is the actual lock of a specified record relative to a physical file. When a record is locked, it is also entered into a log table. Records are allowed to be locked only if all records in the log table are available for locking. This is done to avoid deadlock.
NWReleasePhysicalRecord is ignored if the requesting workstation or process does not have locked physical records.