to add __DetourDirectInputStart check parameter and set pStatus->m_Started = 1 at the begin