Reference Manual - 1.4.11
IDirectFB   GetInterface

Load an implementation of a specific interface type.

DFBResult GetInterface (
  IDirectFB   * thiz,
  const char   * type,
  const char   * implementation,
  void   * arg,
  void   ** ret_interface
);

This methods loads an interface implementation of the specified type of interface, e.g. "IFusionSound".

A specific implementation can be forced with the optional implementation argument.

Implementations are passed arg during probing and construction.

If an implementation has been successfully probed and the interface has been constructed, the resulting interface pointer is stored in interface.

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