NCBI C++ ToolKit
Enumerations | Functions
utils_win32_.hpp File Reference
#include <corelib/ncbistd.hpp>
+ Include dependency graph for utils_win32_.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Enumerations

enum  EHkey {
  eHkey_classes_root , eHkey_current_user , eHkey_local_machine , eHkey_users ,
  eHkey_performance_data
}
 Win32 Registry Access. More...
 

Functions

void SetWinRegVariable (EHkey root_key, const string &subkey, const string &varname, const string &value)
 Set a Windows registry variable to a string value. More...
 

Enumeration Type Documentation

◆ EHkey

enum EHkey

Win32 Registry Access.

like as not, lots of things in Win32 do require peering at the registry from time to time...

Enumerator
eHkey_classes_root 
eHkey_current_user 
eHkey_local_machine 
eHkey_users 
eHkey_performance_data 

Definition at line 48 of file utils_win32_.hpp.

Function Documentation

◆ SetWinRegVariable()

void SetWinRegVariable ( EHkey  root_key,
const string subkey,
const string varname,
const string value 
)

Set a Windows registry variable to a string value.

Definition at line 66 of file utils_win32_.cpp.

References _T_XCSTRING, s_GetRootKey(), ncbi::grid::netcache::search::fields::subkey, val, and rapidjson::value.

Modified on Thu Jun 13 17:30:52 2024 by modify_doxy.py rev. 669887