Reference Manual - 0.9.25
IDirectFBEventBuffer   HasEvent

Check if there is a pending event in the queue. This function returns DFB_OK if there is at least one event, DFB_BUFFER_EMPTY otherwise.

HasEvent (
  IDirectFBEventBuffer   * thiz
);