/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/LightSwitch/LightSwitchModuleInterface/ExportedFunctions.cpp
22 строки
522 B
Gleb Khmyznikov
[UI Tests][Light Switch] Fix tests: LS, Hosts, Worspaces, Mouse (#44754)
17 янв 2026, 00:58
Не верифицирован
17 янв 2026, 00:58
53c5e66
Код
Авторство
О чём код?
#include "pch.h" #include "ThemeHelper.h" extern "C" __declspec(dllexport) void __cdecl LightSwitch_SetSystemTheme(bool isLight) { SetSystemTheme(isLight); } extern "C" __declspec(dllexport) void __cdecl LightSwitch_SetAppsTheme(bool isLight) { SetAppsTheme(isLight); } extern "C" __declspec(dllexport) bool __cdecl LightSwitch_GetCurrentSystemTheme() { return GetCurrentSystemTheme(); } extern "C" __declspec(dllexport) bool __cdecl LightSwitch_GetCurrentAppsTheme() { return GetCurrentAppsTheme(); }