go functions for w32 registry