Reference Manual - 1.0.0
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
);