This method is used to retreive any of the loader runtime interfaces.
The VALIDATEIF() macro should be used to help ensure type safety when using this routine. The runtime interfaces available are:
- Parameters
-
iid | [ in ] this is the interface ID of the interface to retrieve (previously declared using the P6DECLARE_IID() macro. |
ppIface | [ out ] This is the address of an interface pointer in which the pointer to the requested runtime interface will be placed if successful. |
- Returns
Success | P6R::eOk | The interface was retrieved. |
Failure | P6R::eNotInitialized | The [p6]COM runtime has no been initialized yet. You must call p6Initialize() before calling anything else. |
P6R::eNoInterface | The interface ID specified could not be found. Only the COM runtime's interfaces can be retreived using this method. To load a component please use p6CreateInstance(). |
P6R::eInvalidArg | ppIface was NULL. |