7 references to WINDOW_DISPLAY_AFFINITY
System.Windows.Forms (5)
System\Windows\Forms\Form.cs (5)
1790PInvoke.SetWindowDisplayAffinity(HWND, WINDOW_DISPLAY_AFFINITY.WDA_NONE); 1792WINDOW_DISPLAY_AFFINITY affinity = value switch 1794ScreenCaptureMode.Allow => WINDOW_DISPLAY_AFFINITY.WDA_NONE, 1795ScreenCaptureMode.HideWindow => WINDOW_DISPLAY_AFFINITY.WDA_EXCLUDEFROMCAPTURE, 1796ScreenCaptureMode.HideContent => WINDOW_DISPLAY_AFFINITY.WDA_MONITOR,
System.Windows.Forms.Primitives (2)
Windows.Win32.PInvoke.USER32.dll.g.cs (2)
3437 internal static winmdroot.Foundation.BOOL SetWindowDisplayAffinity(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.WINDOW_DISPLAY_AFFINITY dwAffinity) 3445 static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.WINDOW_DISPLAY_AFFINITY dwAffinity);