Various WASAPI-related changes.