Hook EndScene

Posts 1–2 of 2 · Page 1 of 1
Hook EndScene
Hey, i have a question : "Is it not longer possible to Hook the EndScene function in the d3d9.dll ? Because IDA don´t find the function EndScene. /

My OS: Windows 7 64 bit professional.
EndScene in D3D9 is pointed to in index 42 of the VTable

Code:
IDirect3DDevice9 *pDevice = (IDirect3DDevice9*)0xaddy;
DWORD *D3DVTable = *(DWORD**)pDevice;

oEndScene = (typecast)DetourFunction((PBYTE)D3DVTable[42], (PBYTE)xEndScene);
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us