removed switch from windprocs to allow for dynamic message ids