mirror of
https://github.com/vxcontrol/MemoryModule.git
synced 2026-07-21 06:05:55 -04:00
34 lines
627 B
C
34 lines
627 B
C
/*
|
|
* Memory DLL loading code
|
|
* Version 1.0.0
|
|
*
|
|
* Copyright (c) 2004 by Joachim Bauch / mail@joachim-bauch.de
|
|
* http://www.joachim-bauch.de
|
|
*
|
|
* Released under the Lesser General Public License (LGPL)
|
|
*
|
|
*/
|
|
|
|
#ifndef __MEMORY_MODULE_HEADER
|
|
#define __MEMORY_MODULE_HEADER
|
|
|
|
#include <Windows.h>
|
|
|
|
typedef void *HMEMORYMODULE;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
HMEMORYMODULE MemoryLoadLibrary(const void *, const size_t);
|
|
|
|
FARPROC MemoryGetProcAddress(HMEMORYMODULE, const char *);
|
|
|
|
void MemoryFreeLibrary(HMEMORYMODULE);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __MEMORY_MODULE_HEADER
|