Resets an event semaphore.

#define INCL_DOSSEMAPHORES
#include <os2.h>

HEV       hev;        /*  The handle of the event semaphore to reset. */
PULONG    pulPostCt;  /*  A pointer to a ULONG in which the event semaphore's post count is returned. */
APIRET    ulrc;       /*  Return Code. */

ulrc = DosResetEventSem(hev, pulPostCt);


[Back] [Next]