Improve reliability for finding FTDI devices on Windows

This commit is contained in:
Paul Hollinsky
2019-01-22 13:16:58 -05:00
parent ae78122cbe
commit d042086c90
3 changed files with 102 additions and 8 deletions
@@ -3,11 +3,14 @@
#include <Windows.h>
#include <string>
#include <vector>
namespace icsneo {
class Registry {
public:
static bool EnumerateSubkeys(std::wstring path, std::vector<std::wstring>& subkeys);
// Get string value
static bool Get(std::wstring path, std::wstring key, std::wstring& value);
static bool Get(std::string path, std::string key, std::string& value);