Convert to our own SRWLOCK type on Win32