Hook EndSceneHey, 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);