![]() | Reference Manual - 0.9.25 | ||
|
Load an implementation of a specific interface type.
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.