Smjert Fix wrong error code returned when querying the Windows registry (#50)
df4af9a Jun 12, 2019
Fix wrong error code returned when querying the Windows registry (#50)
Calling GetLastError() will not return the error code for the Windows registry APIs,
since they return a LSTATUS value which already is the error code.

This also fixes the RegistryTablesTest.test_registry_non_existing_key
test case which was incorrectly expecting success when querying
for a non-existent registry key.
df4af9a