Line 43:
Line 43:
|-
|-
|OSDynLoad_Acquire
|OSDynLoad_Acquire
−
|<code>void OSDynLoad_Acquire(const char *rplname, uint32_t *handle)</code>
+
|<code>int OSDynLoad_Acquire(const char *rplname, uint32_t *handle)</code>
−
|Acquire a handle to an RPL by name
+
|Acquire a handle to an RPL by name and returns a error code
+
|-
+
|OSDynLoad_IsModuleLoaded
+
|<code>int OSDynLoad_Acquire(const char *rplname, uint32_t *handle)</code>
+
|Checks if a module is loaded. If the target module is loaded the function set the existing handle to the module otherwise the handle is not set. Returns a erorcode.
|-
|-
|OSDynLoad_FindExport
|OSDynLoad_FindExport
−
|<code>void OSDynLoad_FindExport(uint32_t handle, bool isdata, const char *symname, void **address)</code>
+
|<code>int OSDynLoad_FindExport(uint32_t handle, bool isdata, const char *symname, void **address)</code>
−
|Get a symbol address from a loaded RPL
+
|Get a symbol address from a loaded RPL and returns a error code
+
|-
+
|OSDynLoad_Release
+
|<code>void OSDynLoad_Release(uint32_t *handle)</code>
+
|Decrease the reference count and release the module if the referencecount hit zero. "coreinit.rpl" can´t be released.
|}
|}