setMode is a nop on Windows.