DirectFB Reference Manual
IDirectFBSurface   Lock

Lock the surface for the access type specified.

Lock (
  IDirectFBSurface   * thiz,
  DFBSurfaceLockFlags   flags,
  void   ** ret_ptr,
  int   * ret_pitch
);

Returns a data pointer and the line pitch of it.

  (C) Copyright by convergence GmbH