DosMuxSemWait

DosMuxSemWait

MUXSEMLIST struc
 
  mxsl_cmxs dw  ? ;count of MuxSem structures
  mxsl_amxs dw (size MUXSEM)/2 * 16 dup (?) ;MuxSem structure
 
MUXSEMLIST ends

MUXSEM  struc
 
  mxs_zero  dw  ? ;zero
  mxs_hsem  dd  ? ;semaphore handle
 
MUXSEM  ends

EXTRN  DosMuxSemWait:FAR
INCL_DOSSEMAPHORES  EQU 1

PUSH@  WORD    IndexNbr      ;Index number of event (returned)
PUSH@  OTHER   ListAddr      ;Semaphore list
PUSH   DWORD   Timeout       ;Timeout (in milliseconds)
CALL   DosMuxSemWait

Returns WORD


[Back: DosMove]
[Next: DosNewSize]