NWReleasePhysicalRecordSet

Unlocks, but does not remove, all records currently logged as physical records in the requesting workstation’s log table

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Synchronization

Syntax

  #include <nwfile.h> 
  or 
  #include <nwcalls.h> 
   
  N_EXTERN_LIBRARY( NWCCODE )NWReleasePhysicalRecordSet  ( 
     void);
  

Delphi Syntax

  uses calwin32 
   
  Function NWReleasePhysicalRecordSet 
    : NWCCODE;
  

Return Values

These are common return values; see Return Values (NDK: Connection, Message, and NCP Extensions) for more information.

0x0000

SUCCESSFUL

Remarks

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 locked only if all records in the log table are available for locking. This is done to avoid deadlock.

NWReleasePhysicalRecordSet is ignored if the workstation does not have locked physical records.

NCP Calls

See Also

NWClearPhysicalRecord, NWClearPhysicalRecordSet, NWLockPhysicalRecordSet, NWLogPhysicalRecord, NWReleasePhysicalRecord