diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2020-08-03 17:15:00 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2020-08-03 18:14:22 +0200 |
commit | bd78c9d0af5e71db663f0a80a3f2fc8c524dfe07 (patch) | |
tree | 13fc7bfe50191b54864262cca97ed6041a002a4d /src/Common/Dlgcode.c | |
parent | 9da8fc669bd32baa68bceac542d436c224bbb5bd (diff) | |
download | VeraCrypt-bd78c9d0af5e71db663f0a80a3f2fc8c524dfe07.tar.gz VeraCrypt-bd78c9d0af5e71db663f0a80a3f2fc8c524dfe07.zip |
Windows: Fix issue in UI for configuration autofix mechanism of bootloader
Diffstat (limited to 'src/Common/Dlgcode.c')
-rw-r--r-- | src/Common/Dlgcode.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index b50d429e..6fcd16c3 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -2645,6 +2645,16 @@ uint32 ReadDriverConfigurationFlags () return configMap; } +uint32 ReadServiceConfigurationFlags () +{ + DWORD configMap; + + if (!ReadLocalMachineRegistryDword (L"SYSTEM\\CurrentControlSet\\Services\\" TC_SYSTEM_FAVORITES_SERVICE_NAME, TC_SYSTEM_FAVORITES_SERVICE_NAME L"Config", &configMap)) + configMap = 0; + + return configMap; +} + uint32 ReadEncryptionThreadPoolFreeCpuCountLimit () { |