| Reference Manual - 1.0.1 | ||
| |||
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".
这个方法论装载完成一个指定的接口,例如"IFusionSound".
A specific implementation can be forced with the optional implementation argument.
具体的实施可以用implementation变量强制
Implementations are passed arg during probing and construction.
在装置与构造实施其间传递arg变量
If an implementation has been successfully probed and the interface has been constructed, the resulting interface pointer is stored in interface.
如果成功实施装置,同时接口也构建了,返回的接口指针存储在interface中。
| This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License |