Revert "[Light Switch] Switch desktop wallpapers with the Light/Dark mode" (#44588)

This uses IVirtualDesktopManagerInternal*, which is an undocumented
Windows Shell internal API.
These interfaces are not stable and can change across Windows updates,
so using them in PowerToys carries some long-term risk
This commit is contained in:
Kai Tao
2026-01-08 10:14:43 +08:00
committed by GitHub
parent 08d4689ec5
commit 9c58574484
25 changed files with 310 additions and 1118 deletions

View File

@@ -457,7 +457,6 @@ DWMWINDOWATTRIBUTE
DWMWINDOWMAXIMIZEDCHANGE
DWORDLONG
dworigin
DWPOS
dwrite
dxgi
eab
@@ -678,7 +677,6 @@ hicon
HICONSM
HIDEREADONLY
HIDEWINDOW
hif
Hif
HIMAGELIST
himl
@@ -840,7 +838,6 @@ jpe
jpnime
Jsons
jsonval
jxl
jxr
keybd
KEYBDDATA
@@ -1467,7 +1464,6 @@ recyclebin
Redist
Reencode
REFCLSID
REFGUID
REFIID
REGCLS
regfile
@@ -1574,7 +1570,6 @@ SETBUDDYINT
SETCONTEXT
SETCURSEL
setcursor
SETDESKWALLPAPER
SETFOCUS
SETFOREGROUND
SETHOTKEY
@@ -1663,7 +1658,6 @@ SKEXP
SKIPOWNPROCESS
sku
SLGP
slideshow
sln
slnf
slnx
@@ -1902,7 +1896,6 @@ unwide
unzoom
UOffset
UOI
UPDATEINIFILE
UPDATENOW
UPDATEREGISTRY
updown