#include <windows.h>
#include <vector>
#include <map>
#include "../Common/UnicodeString.h"
Go to the source code of this file.
Namespaces | |
namespace | hwdet |
Functions | |
bool | hwdet::OpenRegistryKey (const HKEY hkey, const String &keyName, HKEY &result, const REGSAM access=KEY_READ) |
Open specified registry key. | |
bool | hwdet::CloseRegistryKey (const HKEY hkey) |
Close registry key. | |
bool | hwdet::EnumerateSubKeys (const HKEY hkey, std::vector< String > &result) |
Build list of all subkeys of specified key. | |
bool | hwdet::EnumerateValues (const HKEY hkey, std::vector< String > &result) |
Build list of all values of specified key. | |
bool | hwdet::GetValueAsString (const HKEY hkey, const String &valueName, String &result) |
Get specified value as a string. | |
bool | hwdet::GetSubKeyValueMap (const HKEY hkey, const String &subKeyName, std::map< String, String > &result) |
Build map containing all values of specified key as strings. |