use 32bit APIs for control values, refactor slightly
1 file changed