Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6API P6ERR P6CCALL P6R::p6GetRuntimeIface ( const P6R::P6IID iid,
P6VOID **  ppIface 
)

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
SuccessP6R::eOkThe interface was retrieved.
FailureP6R::eNotInitializedThe [p6]COM runtime has no been initialized yet. You must call p6Initialize() before calling anything else.
P6R::eNoInterfaceThe 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::eInvalidArgppIface was NULL.