Reference Manual - 1.0.0
IDirectFB   SetVideoMode

Switch the current video mode (primary layer).

SetVideoMode (
  IDirectFB   * thiz,
  int   width,
  int   height,
  int   bpp
);

If in shared cooperative level this function sets the resolution of the window that is created implicitly for the primary surface.