SysSemTryΒΆ

This function of type BOOL can be called to check whether a semaphore currently is occupied by another task (via SysSemEnter).

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.