Used to retrieve and instance of the modules component p6IFactory interface.
This interface is used to create instances of the module's components. If you need to create many instances, then this interface would be more efficient than using p6CreateInstance().
- Parameters
-
cid | [ in ] A reference to the component ID of the component. |
iid | [ in ] The interface ID if the factory being requested. |
ppIface | [ out ] A pointer to the interface pointer specified by iid. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eAccessFault | ppIface is NULL |
P6R::eNoInterface | The requested factory interface was not found. |
P6R::eNoMemory | There was not enough memory to satisfy the request. |
P6R::eComponentNotFound | The component ID secified in cid was not found in this module. |