Reference Manual - 0.9.25
IDirectFB   SetCooperativeLevel

Puts the interface into the specified cooperative level.

SetCooperativeLevel (
  IDirectFB   * thiz,
  DFBCooperativeLevel   level
);

Function fails with DFB_LOCKED if another instance already is in a cooperative level other than DFSCL_NORMAL.