Function arcdps::exports::raw::add_extension

source ยท
pub unsafe fn add_extension(handle: HMODULE) -> u32
Expand description

Requests to load an extension (plugin/addon).

ArcDPS will LoadLibrary the handle to increment the reference count, call get_init_addr and call its returned function. Returns 0 on success or non-zero on error. See AddExtensionResult for details.

This uses version 2 (addextension2) of the extension API.