XMaskEvent(display, event_mask, event_return)
      Display *display;
      long event_mask;
      XEvent *event_return;
| display | Specifies the connection to the X server. | 
| event_mask | Specifies the event mask. | 
| event_return | Returns the matched event's associated structure. |