7 references to WINDOW_DISPLAY_AFFINITY
System.Windows.Forms (5)
System\Windows\Forms\Form.cs (5)
1793PInvoke.SetWindowDisplayAffinity(HWND, WINDOW_DISPLAY_AFFINITY.WDA_NONE); 1795WINDOW_DISPLAY_AFFINITY affinity = value switch 1797ScreenCaptureMode.Allow => WINDOW_DISPLAY_AFFINITY.WDA_NONE, 1798ScreenCaptureMode.HideWindow => WINDOW_DISPLAY_AFFINITY.WDA_EXCLUDEFROMCAPTURE, 1799ScreenCaptureMode.HideContent => WINDOW_DISPLAY_AFFINITY.WDA_MONITOR,
System.Windows.Forms.Primitives (2)
_generated\426\Windows.Win32.PInvoke.USER32.dll.g.cs (2)
3740 internal static winmdroot.Foundation.BOOL SetWindowDisplayAffinity(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.WINDOW_DISPLAY_AFFINITY dwAffinity) 3748 static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Foundation.HWND hWnd, winmdroot.UI.WindowsAndMessaging.WINDOW_DISPLAY_AFFINITY dwAffinity);