src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Components/Window.cs
/// <summary>
/// Gets a value indicating whether is the window cloaked. To detect UWP apps in background or win32 apps running in another virtual desktop
/// </summary>
Gets a value indicating whether is the window cloaked. To detect UWP apps in background or win32 apps running in another virtual desktop
Gets a value indicating whether is the window cloaked . To detect UWP apps in background or win32 apps running in another virtual desktop
public bool IsWindowCloaked()
        {
            int isCloaked = 0;
            const int DWMWA_CLOAKED = 14;
            InteropAndHelpers.DwmGetWindowAttribute(this.hwnd, DWMWA_CLOAKED, out isCloaked, sizeof(int));
            return isCloaked != 0;
        }
public bool IsWindowCloaked ( ) { int isCloaked = 0 ; const int DWMWA_CLOAKED = 14 ; InteropAndHelpers . DwmGetWindowAttribute ( this . hwnd , DWMWA_CLOAKED , out isCloaked , sizeof ( int ) ) ; return isCloaked != 0 ; }
Gets a value indicating whether is the window cloaked.
Gets a value indicating whether is the window cloaked .