7 references to WINDOW_DISPLAY_AFFINITY
System.Windows.Forms (5)
System\Windows\Forms\Form.cs (5)
1790
PInvoke.SetWindowDisplayAffinity(HWND,
WINDOW_DISPLAY_AFFINITY
.WDA_NONE);
1792
WINDOW_DISPLAY_AFFINITY
affinity = value switch
1794
ScreenCaptureMode.Allow =>
WINDOW_DISPLAY_AFFINITY
.WDA_NONE,
1795
ScreenCaptureMode.HideWindow =>
WINDOW_DISPLAY_AFFINITY
.WDA_EXCLUDEFROMCAPTURE,
1796
ScreenCaptureMode.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);