Hello there,
I am trying to Hook EndScene via Detour: Nukem9/detours
My problem is when I want to detour the Function:
HRESULT _stdcall hkEndScene(LPDIRECT3DDEVICE9 pDevice);
oEndScene = (EndScene)Detours::X86::DetourFunction((uintptr_t)d3d9Device[42],(uintptr_t)Hooks::hkEndScene);
I cant...
Brief Summary of my situation:
Attempting to relay keyboard input from one game process to multiple other processes.
I've detoured (DirectInput8Create, CreateDevice and GetDeviceState)
My GetDeviceState function consists of this:
HRESULT WINAPI GetDeviceState_Hook(IDirectInputDeviceW* device...
Keep in mind the .dlls and target process are 64-bit.
I've recently been trying to make a dxgi proxy .dll which after being loaded by the target process, tries to detour the "Present" function in the original dxgi.dll. The .dll loads fine and is able to open the console, and the jump to the new...
This site uses cookies to personalise content, your experience and to keep you logged in. By using this site, you are consenting to our use of cookies.