CONN_SEMAPHORES

Returns a connection’s semaphore list

Service:Synchronization
Defined In:nwsync.h

Structure

  typedef struct 
  { 
     nuint16   nextRequest; 
     nuint16   numRecords; 
     nuint8    records[508]; 
     nuint16   curOffset; 
     nuint16   curRecord; 
  } CONN_SEMAPHORES;
  

Delphi Structure

  uses calwin32 
   
    CONN_SEMAPHORES = packed Record 
      nextRequest : nuint16;  
      numRecords : nuint16;  
      records : Array[0..507] Of nuint8;  
      curOffset : nuint16;  
      curRecord : nuint16;
    End;
  

Fields

nextRequest
Is used internally by NWScanSemaphoresByConn to retrieve the next record.
numRecords
Specifies the number of CONN_SEMAPHORE structures that are contained in records.
records
Specifies a buffer of CONN_SEMAPHORE structures.
curOffset
Is for internal use only.
curRecord
Is for internal use only.

Remarks

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