SysSemLeave (FUN)ΒΆ

FUNCTION SysSemLeave : BOOL

This function must be called after an access on data which are also used by other tasks. This is necessary to release the semaphore, which has been blocked before the access by function SysSemEnter. The semaphore is identified by its handle.

InOut:

Scope

Name

Type

Comment

Return

SysSemLeave

BOOL

Returns the runtime system error code (see CmpErrors.library)

Input

dwHandle

DWORD

Handle of the semaphore