REG_* int types were incorrect.