Flameswor10
Posts : 4 Join date : 2011-09-05 Age : 30
| Subject: Make wallhack for any game with 1 code! Mon Sep 05, 2011 7:24 am | |
| by maxhax195 hes crazy coder you should ask him make more of these this code is intended to be placed in the dll code for hooking through a global windows hook. Code : - Quote :
// Hook structure. SDLLHook D3DHook = { "DDRAW.DLL", false, NULL, // Default hook disabled, NULL function pointer. { { "DirectDrawCreate", MyDirectDrawCreate }, { NULL, NULL } } };
BOOL APIENTRY DllMain( HINSTANCE hModule, DWORD fdwReason, LPVOID lpReserved ) { // When initializing.... if ( fdwReason == DLL_PROCESS_ATTACH ) { hDLL = hModule;
// We don't need thread notifications for what we're doing. // Thus, get rid of them, thereby eliminating some of the // overhead of this DLL DisableThreadLibraryCalls( hModule );
// Only hook the APIs if this is the Everquest process. GetModuleFileName( GetModuleHandle( NULL ), Work, sizeof(Work) ); PathStripPath( Work );
if ( stricmp( Work, "myhooktarget.exe" ) == 0 ) HookAPICalls( &D3DHook ); }
return TRUE; }
1+ for maxhax195 | |
|