DirectFB Reference Manual
IDirectFBSurface   Lock

Lock the surface for the access type specified.

Lock (
  IDirectFBSurface *thiz
  DFBSurfaceLockFlags flags
  void **ptr
  int *pitch
);

Returns a data pointer and the line pitch of it.

  (C) Copyright by convergence GmbH