In #2317, MSVC STL dropped support for Windows Vista and make SRWLOCK unconditionally used for mutex. However, there're still some implementation details using CRITICAL_SECTION, all of which can be found in xlock.cpp (via xmtx.hpp and xmtx.cpp).
It seems that switching to SRWLOCK doesn't affect ABI (as support for Vista has been dropped). Should we do this?