Sets the value associated with the registry key named reg_key_name. The key value is stored under the key path: HKEY_CURRENT_USER/Software/Source Dynamics/Source Insight/4.0. The key is created if it doesn't exist already.
The SetReg and GetReg functions give you a way to store your own Source Insight related information between sessions.