SEMAPHORES
Returns a list of semaphores
typedef struct
{
nuint16 nextRequest;
nuint16 openCount;
nuint16 semaphoreValue;
nuint16 semaphoreCount;
SEMAPHORE semaphores[170];
nuint16 curRecord;
} SEMAPHORES;
uses calwin32
SEMAPHORES = Record
nextRequest : nuint16;
openCount : nuint16;
semaphoreValue : nuint16;
semaphoreCount : nuint16;
semaphores : Array[0..169] Of SEMAPHORE;
curRecord : nuint16;
End;
You must not modify the values in nextRequest and curRecord; they are used internally to return the next record in a request.