Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
939 B

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose: Utilities for setting vproject settings
  4. //
  5. //===========================================================================//
  6. #ifndef _VCONFIG_H
  7. #define _VCONFIG_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. // The registry keys that vconfig uses to store the current vproject directory.
  12. #define VPROJECT_REG_KEY "SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment"
  13. // For accessing the environment variables we store the current vproject in.
  14. void SetVConfigRegistrySetting( const char *pName, const char *pValue, bool bNotify = true );
  15. bool GetVConfigRegistrySetting( const char *pName, char *pReturn, int size );
  16. #ifdef _WIN32
  17. bool RemoveObsoleteVConfigRegistrySetting( const char *pValueName, char *pOldValue = NULL , int size = 0 );
  18. #endif
  19. bool ConvertObsoleteVConfigRegistrySetting( const char *pValueName );
  20. #endif // _VCONFIG_H