[Windows][FMGEN] Fix ratio_ member is missing, set volatile.