PHYSICAL_LOCKS

Returns a list of physical locks

Service:Synchronization
Defined In:nwsync.h

Structure

  typedef struct 
  { 
     nuint16         nextRequest; 
     nuint16         numRecords; 
     PHYSICAL_LOCK   locks[32]; 
     nuint16         curRecord; 
     nuint8          reserved[8]; 
  } PHYSICAL_LOCKS;
  

Delphi Structure

  uses calwin32
  
  PHYSICAL_LOCKS = packed Record 
     nextRequest : nuint16;
     numRecords : nuint16; 
     locks : Array[0..31] Of PHYSICAL_LOCK; 
     curRecord : nuint16; 
     reserved : Array[0..7] Of nuint8;
  End;
  

Fields

nextRequest
Is used internally by NWScanPhysicalLocksByFile to retrieve the next request.
numRecords
Specifies the number of valid PHYSICAL_LOCK structures.
locks
Specifies an array of PHYSICAL_LOCK structures.
curRecord
Specifies the current PHYSICAL_LOCK structure.
reserved
Is reserved for future use.