mirror of
https://github.com/fancycode/MemoryModule
synced 2026-06-06 15:44:28 +00:00
started writing some PEB compatible code
This commit is contained in:
+5
-6
@@ -26,17 +26,16 @@
|
||||
|
||||
#include <Windows.h>
|
||||
|
||||
typedef void *HMEMORYMODULE;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
HMEMORYMODULE MemoryLoadLibrary(const void *);
|
||||
HMODULE MemoryLoadLibrary(const void *, unsigned char *);
|
||||
|
||||
FARPROC MemoryGetProcAddress(HMEMORYMODULE, const char *);
|
||||
|
||||
void MemoryFreeLibrary(HMEMORYMODULE);
|
||||
// backwards compatibility
|
||||
#define HMEMORYMODULE HMODULE
|
||||
#define MemoryGetProcAddress GetProcAddress
|
||||
#define MemoryFreeLibrary FreeLibrary
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user