Reference Manual - 0.9.25
IDirectFBSurface   GetPalette

Get access to the surface's palette.

GetPalette (
  IDirectFBSurface   * thiz,
  IDirectFBPalette   ** ret_interface
);

Returns an interface that can be used to gain read and/or write access to the surface's palette.