Sourcecode injme.cpp#include "injme.h"#include #include #include #include #include using namespace std;int s_FrameNumber = 0; HRESULT D3DX10CreateDevice_Hook ( IDXGIAdapter *pAdapter, D3D10_DRIVER_TYPE DriverType, HMODULE Software, UINT Flags, ID3D10Device **ppDevice){ DXGI_SWAP_CHAIN_DESC swapChainDesc; ZeroMemory(&swapChainDesc, sizeof(swapChainDesc)); swapChainDesc.BufferCount = 2; swapChainD..
http://resources.infosecinstitute.com/api-hooking-detours/API Hooking with Microsoft DetoursIntroductionMicrosoft Detours is a library which we can use to build our own DLL that serves as an API monitor when analyzing the results. The best thing about it is that it doesn’t require other frameworks as a dependency. The downside is that only x86 support is available for free; if we want to get x64..