Used the given registry path from DriverEntry to query the registry.