fixed windows registry calls that should not depend on UNICODE definition
Authored by: scuri 2014-05-13
Parent: [r432]
Child: [r434]