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.