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