diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-03-10 15:43:54 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-03-10 16:12:04 -0800 |
| commit | 4d0abd5841b9639c20126a5a25e2b0d4a9eb98d2 (patch) | |
| tree | 9eb9f240cbdaf5e80150c1938f66b8fdd74549b1 /toolsrc/include/vcpkg_System.h | |
| parent | bfa5812a6bd9dd108317491111bbdb68d4d2c9a8 (diff) | |
| download | vcpkg-4d0abd5841b9639c20126a5a25e2b0d4a9eb98d2.tar.gz vcpkg-4d0abd5841b9639c20126a5a25e2b0d4a9eb98d2.zip | |
[vcpkg] Refactor RAII registry key manipulation
Diffstat (limited to 'toolsrc/include/vcpkg_System.h')
| -rw-r--r-- | toolsrc/include/vcpkg_System.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_System.h b/toolsrc/include/vcpkg_System.h index 14f39ca40..ecb98aba7 100644 --- a/toolsrc/include/vcpkg_System.h +++ b/toolsrc/include/vcpkg_System.h @@ -1,11 +1,14 @@ #pragma once +#include <Windows.h> #include "vcpkg_Strings.h" #include "filesystem_fs.h" #include "vcpkg_optional.h" namespace vcpkg::System { + optional<std::wstring> get_registry_string(HKEY base, const wchar_t* subkey, const wchar_t* valuename); + fs::path get_exe_path_of_current_process(); struct exit_code_and_output |
