Windows implementation.