Aric Stewart : msctf: Correct order of dwFlag checking to properly be able to set a ReadWrite lock .