#include <mo/Mobiclip.h>MOResult MOCreateInstance(MOInstance **ppInstance, MO_MEDIUM_CONTROL *pControlFunc, MO_DEBUG_FUNCS *pDebugFuncs);
| ppInstance | The created instance. If MOCreateInstance fails, instance will be set to NULL. |
| pControlFunc | Set of functions to access a medium. |
| pDebugFuncs | Callbacks to retrieve logs and fatalError from libMobiclip. |
MO_RESULT_OK |
Success. |
MO_RESULT_OUT_OF_MEMORY |
Not enough memory. |
MO_RESULT_NULL |
MOInstance** or MO_MEDIUM_CONTROL is NULL. |
MO_RESULT_NOT_INITIALIZED |
MOInit has not been called yet. |
That function is used to create a MOInstance handle.
02/24/2010 Added a Description section.
03/26/2009 Parameter renaming done. Added description of MO_RESULT_NOT_INITIALIZED return value.
08/25/2008 Initial version.