Added getting code base address API function to manage handles on other side

This commit is contained in:
Dmitry Nagibin
2021-01-11 20:27:05 +03:00
parent 59307f0a63
commit a8da72d503
2 changed files with 13 additions and 2 deletions
+6
View File
@@ -73,6 +73,12 @@ HMEMORYMODULE MemoryLoadLibraryEx(const void *, size_t,
*/
FARPROC MemoryGetProcAddress(HMEMORYMODULE, LPCSTR);
/**
* Get the code base address of loading module to store it above.
* On load dynamic library it used as a handle of library instance.
*/
LPVOID MemoryGetCodeAddress(HMEMORYMODULE);
/**
* Free previously loaded EXE/DLL.
*/