MCPcopy Create free account
hub / github.com/Maplespe/DWMBlurGlass / GetSystemBackdropVisual

Method GetSystemBackdropVisual

DWMBlurGlassExt/Common/DWMStruct.cpp:704–725  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702 return visual;
703 }
704 CVisual* CTopLevelWindow::GetSystemBackdropVisual() const
705 {
706 CVisual* visual{ nullptr };
707
708 if (os::buildNumber < os::w11_21h2)
709 {
710 }
711 else if (os::buildNumber < os::w11_23h2)
712 {
713 visual = reinterpret_cast<CVisual* const*>(this)[38];
714 }
715 else if (os::buildNumber < os::w11_24h2)
716 {
717 visual = reinterpret_cast<CVisual* const*>(this)[40];
718 }
719 else
720 {
721 visual = reinterpret_cast<CVisual* const*>(this)[35];
722 }
723
724 return visual;
725 }
726 CCanvasVisual* CTopLevelWindow::GetAccentColorVisual() const
727 {
728 CCanvasVisual* visual{ nullptr };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected