unsigned long XpInputSelected ( display, context, event_mask )
Display *display;
XPContext context;
unsigned long *all_event_mask_return;
XpInputSelected returns a bit mask describing which event classes the client has selected to receive. The value returned to all_event_mask_return is the union of every client's event mask. XpInputSelected queries which X Print events from the specified print context the client has selected to receive. The X Print Events are generated from a print context, and not from a window as is the case with XSelectInput. As events arrive, the context field in the event is used to determine which print context generated the event. event_mask and all_event_mask (??return??) values.