Reference Manual - 1.0.0
IDirectFBScreen   GetSize

Get the screen's width and height in pixels.

GetSize (
  IDirectFBScreen   * thiz,
  int   * ret_width,
  int   * ret_height
);