Some work on CreateKeyEx

Fixes Eternal plugin as it checks for REG_OPENED_EXISTING_KEY to load
settings.