HelpHelp please Hook D3D9 is Detect

Posts 1–3 of 3 · Page 1 of 1
Help please Hook D3D9 is Detect
For master coding -[I]fLuX and giniyat101 help .
and for all other master coding help
how to edit this hook
i wont Hook undetect for D3D menu

int __stdcall D3D(void)
{
HINSTANCE hD3D;
DWORD vTable[105];
hD3D=0;
do {
hD3D = GetModuleHandle("d3d9.dll");
if (!hD3D) Sleep(100);
} while(!hD3D);


if (D3Ddiscover((void *)&vTable[0],420)==0) return 0;
{

while(1)
{
if(memcmp((void*)vTable[82],(void*)(PBYTE)"\x8B\xFF",2)== 0)
{
pDrawIndexedPrimitive = (oDrawIndexedPrimitive) DetourCreate((PBYTE)vTable[82], (PBYTE)myDrawIndexedPrimitive, 5);
pEndScene = (oEndScene) DetourCreate((PBYTE) vTable[42], (PBYTE)myEndScene,5);
}
Sleep(50);
}
return 0;
}

}

thanks
خخخخخخخخخخخخخخخخخخخخخخخخخخخخخخ
Quote Originally Posted by ramo View Post
خخخخخخخخخخخخخخخخخخخخخخخخخخخخخخ
speak english please
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?