| Home
| Previous
| Next
| Up

EVT_halt

Halts until and event of the specified type is recieved.

Declaration

void EVTAPI EVT_halt(
event_t *evt,
ulong mask)

Prototype In

event.h

Parameters

evt | Pointer to
mask | Mask specifying the types of events that should be removed

Description

This functions halts exceution until an event of the specified type is recieved into the event queue. It does not flush the event queue of events before performing the busy loop. However this function does throw away any events other than the ones you have requested via the event mask, to avoid the event queue filling up with unwanted events (like EVT_KEYUP or EVT_MOUSEMOVE events).

See Also

EVT_getNext, EVT_flush, EVT_peekNext

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com