The easyhook.h header file has this function declaration.
typedef void __stdcall REMOTE_ENTRY_POINT(REMOTE_ENTRY_INFO* InRemoteInfo);
The easyhook creator stated this:
Your injected native DLL must have a REMOTE_ENTRY_POINT exported as "NativeInjectionEntryPoint". Take a look at easyhook.h for the signature of that export.
Assuming my dll already looks like this:
void __stdcall NativeInjectionEntryPoint(REMOTE_ENTRY_INFO* InRemoteInfo);
INT WINAPI DllMain(HMODULE hDLL, DWORD Reason, LPVOID Reserved){
switch(Reason){
case DLL_PROCESS_ATTACH:
case DLL_PROCESS_DETACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
break;
}
return TRUE;
}
void _stdcall NativeInjectionEntryPoint(REMOTE_ENTRY_INFO* InRemoteInfo)(){
}
What is my dll supposed to look like?
For feedback, I'd like to know if I've stated the question clearly enough to be answered. My last one was voted down and I don't know why.
Any help will be appreciated.