9 references to MONITOR_FROM_FLAGS
System.Drawing.Common.Tests (1)
Helpers.cs (1)
143
HMONITOR hmonitor = PInvokeCore.MonitorFromWindow(hwnd,
MONITOR_FROM_FLAGS
.MONITOR_DEFAULTTOPRIMARY);
System.Private.Windows.Core (5)
Windows.Win32.PInvokeCore.USER32.dll.g.cs (5)
823
internal static extern winmdroot.Graphics.Gdi.HMONITOR MonitorFromPoint(global::System.Drawing.Point pt, winmdroot.Graphics.Gdi.
MONITOR_FROM_FLAGS
dwFlags);
825
/// <inheritdoc cref="MonitorFromRect(winmdroot.Foundation.RECT*, winmdroot.Graphics.Gdi.
MONITOR_FROM_FLAGS
)"/>
827
internal static unsafe winmdroot.Graphics.Gdi.HMONITOR MonitorFromRect(in winmdroot.Foundation.RECT lprc, winmdroot.Graphics.Gdi.
MONITOR_FROM_FLAGS
dwFlags)
847
internal static extern unsafe winmdroot.Graphics.Gdi.HMONITOR MonitorFromRect(winmdroot.Foundation.RECT* lprc, winmdroot.Graphics.Gdi.
MONITOR_FROM_FLAGS
dwFlags);
858
internal static extern winmdroot.Graphics.Gdi.HMONITOR MonitorFromWindow(winmdroot.Foundation.HWND hwnd, winmdroot.Graphics.Gdi.
MONITOR_FROM_FLAGS
dwFlags);
System.Windows.Forms (3)
System\Windows\Forms\Screen.cs (3)
251
? new Screen(PInvokeCore.MonitorFromPoint(point,
MONITOR_FROM_FLAGS
.MONITOR_DEFAULTTONEAREST))
259
? new Screen(PInvokeCore.MonitorFromRect(rect,
MONITOR_FROM_FLAGS
.MONITOR_DEFAULTTONEAREST))
277
? new Screen(PInvokeCore.MonitorFromWindow((HWND)hwnd,
MONITOR_FROM_FLAGS
.MONITOR_DEFAULTTONEAREST))