BOOL WriteToRegistry(PCWSTR subkey, PCWSTR pszAppName, PCWSTR pathToExe, PCWSTR args);
BOOL IsRegisteredToStartup(PCWSTR pszAppName);
BOOL RegisterToStartup(std::wstring path);
LONG GetStringRegKey(const std::wstring path, const std::wstring &strValueName, std::wstring &strValue, const std::wstring &strDefaultValue);
bool DeleteValueKey(HKEY hKeyRoot, std::wstring Subkey, std::wstring ValueKey);