NWScanSemaphoresByName
Scans information about a semaphore by name
#include <nwsync.h>
or
#include <nwcalls.h>
N_EXTERN_LIBRARY(NWCCODE) NWScanSemaphoresByName (
NWCONN_HANDLE conn,
const nstr8 N_FAR *semName,
pnint16 iterHandle,
SEMAPHORE N_FAR *semaphore,
SEMAPHORES N_FAR *semaphores);
uses calwin32
Function NWScanSemaphoresByName
(conn : NWCONN_HANDLE;
semName : pnstr8;
iterHandle : pnint16;
Var semaphore : SEMAPHORE;
Var semaphores : SEMAPHORES
) : NWCCODE;
These are common return values; see Return Values (NDK: Connection, Message, and NCP Extensions) for more information.
The client must have console operator rights to call NWScanSemaphoresByName.
iterHandle returns -1 upon completion, and should not be changed during the scan.
If semaphore is a NULL pointer, semaphores returns the records in groups, instead of one by one .