Verify that the function you are trying to detour has enough memory space to accommodate the detour. The function should be sufficiently long, typically at least five bytes, because Detours needs to ...