NWReleaseLogicalRecord
Unlocks a logical record but does not remove it from the log table
#include <nwfile.h> or #include <nwcalls.h> N_EXTERN_LIBRARY(NWCCODE) NWReleaseLogicalRecord ( NWCONN_HANDLE conn, const nstr8 N_FAR *logRecName);
uses calwin32 Function NWReleaseLogicalRecord (conn : NWCONN_HANDLE; logRecName : pnstr8 ) : NWCCODE;
These are common return values; see Return Values (NDK: Connection, Message, and NCP Extensions) for more information.
A logical record is simply a name (a string) registered with the NetWare server. The name (as with a semaphore) can then be locked or unlocked by applications and can be used as an inter-application locking mechanism.
NOTE:Locking or unlocking a logical record does not physically lock or unlock those resources associated with the logical record; only the applications using the record know about such an association.
File Log Table contains data locking information used by a NetWare server. The NetWare server tracks this information for each workstation and workstation task. Whenever a file, logical record, or physical record is logged, information identifying the data being logged is placed in the File Log Table. Normally, a set of files or records is logged and then locked as a set. However, a single file or record can also be locked when it is placed in the table.
NWReleaseLogicalRecord is ignored if the requesting workstation has no records to release.