Fix changed behaviour of CryptProtectMemory return code on Windows 8.1