6f36e1f872
The issue was caused by conflicting declaration of HKEY happening in our WM code and somewhere deeper in atomic operations headers hierarchy.