Function arcdps::exports::add_extension

source ยท
pub fn add_extension(handle: HMODULE) -> AddExtensionResult
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 AddExtensionResult indicating success or failure.

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