windows winapi write to registry cpp code example Example: winapi registry RegGetValueA - gets a value from the registry