[Bug 58476] Specifying RRF_RT_REG_SZ | RRF_RT_REG_EXPAND_SZ in dwFlags when calling RegGetValueW fails