Reference Manual - 1.2.7
IDirectFBSurface   Lock

Lock the surface for the access type specified.

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

Returns a data pointer and the line pitch of it.

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License