Function 40 - set the mask for expected events.
The mask for expected events affects function working with events
10, 11, 23 - they notify only about events allowed by this mask.
Parameters:
- eax = 40 - function number
- ebx = mask: bit i corresponds to event i+1 (see list of events)
(set bit permits notice on event)
Returned value:
- function does not return value
Remarks:
- Default mask (7=111b) enables nofices about redraw,
keys and buttons. This is enough for many applications.
- Events prohibited in the mask are saved anyway, when come;
they are simply not informed with event functions.
- Event functions take into account the mask on moment of
function call, not on moment of event arrival.