I am developing a program that needs auto start at windows startup. For that I need to add Registry entries. Also the program needs to read some registry keys. What are the functions i need to do these.. Simply I need to

check if the startup key already exists
add a new key if it doesn't exist
read a key values

Somebody please help me. I found a lot of functions in MSDN site. But I didn't find the required functions..

ashik thomas