Reference Manual - 0.9.25
IDirectFBDataBuffer   HasData

Check if there is data available.

HasData (
  IDirectFBDataBuffer   * thiz
);

This method returns DFB_OK if there is data available, DFB_BUFFER_EMPTY otherwise.