CONN_PHYSICAL_LOCKS

Returns a connection’s physical lock list

Service:Synchronization
Defined In:nwsync.h

Structure

  typedef struct 
  { 
     nuint16              nextRequest; 
     nuint16              numRecords; 
     CONN_PHYSICAL_LOCK   locks[51]; 
     nuint16              curRecord; 
     nuint8               reserved[22]; 
  } CONN_PHYSICAL_LOCKS;
  

Delphi Structure

  uses calwin32 
   
  CONN_PHYSICAL_LOCKS = packed Record 
      nextRequest : nuint16;  
      numRecords : nuint16;  
      locks : Array[0..50] Of CONN_PHYSICAL_LOCK;  
      curRecord : nuint16;  
      reserved : Array[0..21] Of nuint8;
    End;
  

Fields

nextRequest
Is used internally by NWScanPhysicalLocksByConnFile to retrieve the next request.
numRecords
Specifies the number of valid PHYSICAL_LOCK structures contained in locks.
locks
Specifies an array of CONN_PHYSICAL_LOCK structures.
curRecord
Specifies the current PHYSICAL_LOCK to return in lock.
reserved
Is reserved for future use.

Remarks

You must not modify the values in nextRequest, curOffset and curRecord; they are used internally to return the next record in a request.