This prevents the device changes happening between 2 GETDEVICECHANGE calls from being missed by the application. Same as 7e7b0971ab014467ce6c2fccdd29bc9070eb333c.