diff options
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 () { |