EXTRN DosSemRequest:FAR INCL_DOSSEMAPHORES EQU 1 PUSH DWORD SemHandle ;Semaphore handle PUSH DWORD Timeout ;Timeout (in milliseconds) CALL DosSemRequest Returns WORD