2
0
mirror of https://github.com/tenrok/Rfid-Credential-Provider.git synced 2026-06-11 18:12:24 +03:00
Files
rfid-credential-provider/Provider/RfidCredentialProvider/Registry.h
T
2012-02-26 13:07:01 -08:00

8 lines
458 B
C++

#pragma once
#include <iostream>
#include "common.h"
LONG GetDWORDRegKey(HKEY hKey, const std::wstring &strValueName, DWORD &nValue, DWORD nDefaultValue);
LONG GetBoolRegKey(HKEY hKey, const std::wstring &strValueName, bool &bValue, bool bDefaultValue);
LONG GetStringRegKey(HKEY hKey, const std::wstring &strValueName, std::wstring &strValue, const std::wstring &strDefaultValue);
std::string GetCharRegKey(HKEY hKey, const std::wstring &strValueName);