ReadRegDword
Is possible to read Dword Registry entries ?

I need to compare the actual value to decide if I will reboot or not a the end of the script.