[CS] Fix Regression in Windows Module
Merge pull request #2973 from RavetcoFX/a22

[CS] Fix Regression in Windows Module