Read Reg Key msdn code example Example: winapi registry RegGetValueA - gets a value from the registry