111 WUT_UNKNOWN_BYTES(0x60 - 0x28);
173 WUT_UNKNOWN_BYTES(0x94 - 0x58);
289 int32_t *nameBufSize);
OSDynLoad_LoaderUserFileInfo * userFileInfo
uint32_t userFileInfoSize
OSDynLoad_InternalData * next
OSDynLoad_LoaderSectionInfo * sectionInfo
uint32_t sectionInfoCount
OSDynLoad_InternalData ** importModules
uint32_t importModuleCount
OSDynLoadFreeFn dynLoadFreeFn
OSDynLoad_NotifyData * notifyData
uint32_t codeHeapLargestFree
uint32_t pathStringLength
void(* OSDynLoadFreeFn)(void *addr)
OSDynLoad_Error OSDynLoad_FindExport(OSDynLoad_Module module, OSDynLoad_ExportType exportType, char const *name, void **outAddr)
Retrieve the address of a function or data export from a module.
BOOL OSDynLoad_GetRPLInfo(uint32_t first, uint32_t count, OSDynLoad_NotifyData *outInfos)
Get information about the currently loaded RPLs.
OSDynLoad_Error OSDynLoad_GetLoaderHeapStatistics(OSDynLoad_LoaderHeapStatistics *outLoaderHeapStatistics)
Get loader heap statistics.
OSDynLoad_Error OSDynLoad_AddNotifyCallback(OSDynLoadNotifyFunc notifyFn, void *userContext)
Registers a callback that's called whenever a new .rpl is loaded or unloaded.
OSDynLoad_Error OSDynLoad_GetAllocator(OSDynLoadAllocFn *outAllocFn, OSDynLoadFreeFn *outFreeFn)
Get the allocator functions used for dynamic loading.
OSDynLoad_Error OSDynLoad_SetTLSAllocator(OSDynLoadAllocFn allocFn, OSDynLoadFreeFn freeFn)
Set the allocator functions to use for thread local storage.
OSDynLoad_Error OSDynLoad_DelNotifyCallback(OSDynLoadNotifyFunc notifyFn, void *userContext)
Removes a previously added a callback.
int rpl_entry(OSDynLoad_Module module, OSDynLoad_EntryReason reason)
The prototype for an RPL entry point.
OSDynLoad_Error OSDynLoad_Acquire(char const *name, OSDynLoad_Module *outModule)
Load a module.
OSDynLoad_Error OSDynLoad_GetModuleName(OSDynLoad_Module module, char *nameBuf, int32_t *nameBufSize)
Gets the name for a given module handle.
void(* OSDynLoadNotifyFunc)(OSDynLoad_Module module, void *userContext, OSDynLoad_NotifyReason notifyReason, OSDynLoad_NotifyData *infos)
int32_t OSDynLoad_GetNumberOfRPLs()
Gets the number of currently loaded RPLs.
OSDynLoad_Error OSDynLoad_GetTLSAllocator(OSDynLoadAllocFn *outAllocFn, OSDynLoadFreeFn *outFreeFn)
Get the allocator functions used for thread local storage.
OSDynLoad_Error OSDynLoad_SetAllocator(OSDynLoadAllocFn allocFn, OSDynLoadFreeFn freeFn)
Set the allocator functions to use for dynamic loading.
OSDynLoad_Error(* OSDynLoadAllocFn)(int32_t size, int32_t align, void **outAddr)
void OSDynLoad_Release(OSDynLoad_Module module)
Free a module handle returned from OSDynLoad_Acquire.
OSDynLoad_Error OSDynLoad_IsModuleLoaded(char const *name, OSDynLoad_Module *outModule)
Checks if a module is already loaded.
@ OS_DYNLOAD_INVALID_MODULE_NAME
@ OS_DYNLOAD_INVALID_ACQUIRE_PTR
@ OS_DYNLOAD_INVALID_MODULE_NAME_PTR
@ OS_DYNLOAD_EMPTY_MODULE_NAME
@ OS_DYNLOAD_OUT_OF_MEMORY
@ OS_DYNLOAD_TLS_ALLOCATOR_LOCKED
@ OS_DYNLOAD_INVALID_NOTIFY_PTR
@ OS_DYNLOAD_MODULE_NOT_FOUND
@ OS_DYNLOAD_INVALID_ALLOCATOR_PTR
@ OS_DYNLOAD_OUT_OF_SYSTEM_MEMORY
@ OS_DYNLOAD_NOTIFY_UNLOADED
@ OS_DYNLOAD_NOTIFY_LOADED