okapi_find_library_by_ptr

Синтаксис

native bool:okapi_find_library_by_ptr(ptr, &lib_ptr, &lib_size = 0, const lib_name[] = "", lib_namelen = 0);

Употреба

ptr
Address to search
lib_ptr
Variable to store the library base address in
lib_size
Variable to store the library length in
lib_name
Buffer to copy library name to
lib_namelen
Maximum size of the buffer

Описание

Finds informations of a library from a given address.
This will look up among all libraries registered by module.

Връщаща стойност

true on successful lookup, false otherwise.