started writing some PEB compatible code

This commit is contained in:
Joachim Bauch
2005-02-01 23:04:37 +00:00
parent e952dd3cfa
commit 88618e2a4a
6 changed files with 353 additions and 174 deletions
+5 -6
View File
@@ -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
}