SysSemEnterΒΆ

This function of type BOOL must be called before a task accesses data which also are used by other tasks. Thus the data will be blocked for other tasks, which also use SysSemEnter until by function SysSemLeave the semaphore will be set free again.

The semaphore is identified by the handle which was returned by SysSemCreate. TRUE will be returned in case of success, otherwise FALSE.

Input Variable Data Type Description
dwHandle DWORD Handle of the semaphore; was returned by SysSemCreate.