to add register destroy window notify
to add register destroy dinput8 window notify