#include <windows.h>
#include <vector>
#include <map>
#include <sstream>
#include "../Common/UnicodeString.h"
#include "Registry.h"
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. | |
String | hwdet::RegistryValueToString (BYTE *data, DWORD type, DWORD dataLength) |
bool | hwdet::GetSubKeyValueMap (const HKEY hkey, const String &subKeyName, std::map< String, String > &result) |
Build map containing all values of specified key as strings. | |
bool | hwdet::GetValueAsString (const HKEY hkey, const String &valueName, String &result) |
Get specified value as a string. |