Opens an event semaphore.

#define INCL_DOSSEMAPHORES
#include <os2.h>

PSZ       pszName;  /*  A pointer to the ASCIIZ name of the semaphore to open. */
PHEV      phev;     /*  A pointer to the event-semaphore handle. */
APIRET    ulrc;     /*  Return Code. */

ulrc = DosOpenEventSem(pszName, phev);


[Back] [Next]