Reference Manual - 0.9.25
IDirectFBSurface   GetPixelFormat

Get the current pixel format.

GetPixelFormat (
  IDirectFBSurface   * thiz,
  DFBSurfacePixelFormat   * ret_format
);