Inlining win32 mutex functions.