The signature for Windows has also been changed, so that the function can be reused in cross-platform modules.