Reference Manual - 1.0.0
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.