guard this with an #ifdef to invoke it on Windows only.