NWCloseSemaphore
Closes a semaphore and decrements the open count of the semaphore, indicating one less process is holding the semaphore open
#include <nwsync.h>
or
#include <nwcalls.h>
N_EXTERN_LIBRARY( NWCCODE )NWCloseSemaphore (
NWCONN_HANDLE conn,
nuint32 semHandle);
uses calwin32
Function NWCloseSemaphore
(conn : NWCONN_HANDLE;
semHandle : nuint32
) : NWCCODE;
These are common return values; see Return Values (NDK: Connection, Message, and NCP Extensions) for more information.
If the requesting process is the last process to have this semaphore open, the semaphore is deleted.