#WinCode: unused code deleted

Some unused code deleted