2019-09-07 15:51:30 +00:00
|
|
|
#ifndef GENERALLOADLIBRARY_H
|
|
|
|
#define GENERALLOADLIBRARY_H
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
HMODULE MyLoadLibrary(LPCSTR, void *, void *);
|
|
|
|
HMODULE MyGetModuleHandle(LPCSTR);
|
|
|
|
BOOL MyFreeLibrary(HMODULE);
|
2019-09-24 18:27:23 +00:00
|
|
|
|
|
|
|
HMODULE MyLoadLibraryA(LPCSTR);
|
|
|
|
HMODULE MyLoadLibraryW(LPCWSTR);
|
|
|
|
|
2019-09-07 15:51:30 +00:00
|
|
|
FARPROC MyGetProcAddress(HMODULE, LPCSTR);
|
|
|
|
FARPROC MyFindProcAddress(LPCSTR modulename, LPCSTR procname);
|
|
|
|
|
|
|
|
VOID MySetLibraries(PVOID pLibraries);
|
|
|
|
PVOID MyGetLibraries();
|
|
|
|
|
|
|
|
#ifndef DLL_QUERY_HMODULE
|
|
|
|
#define DLL_QUERY_HMODULE 6
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|