Is there any difference in storing values in HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE.

Is there any rules as to what sort of values to be put in which registry.

I only know that if my application is wrote from CWinApp, I could use the registry easily by calling some standard functions. By using these functions, the values will be stored in HKEY_CURRENT_USER.

So why would anyone want to store values in HKEY_LOCAL_MACHINE??

Thanks!!

Steve