2 references to MonitorFromWindow
System.Drawing.Common.Tests (1)
Helpers.cs (1)
143
HMONITOR hmonitor = PInvokeCore.
MonitorFromWindow
(hwnd, MONITOR_FROM_FLAGS.MONITOR_DEFAULTTOPRIMARY);
System.Windows.Forms (1)
System\Windows\Forms\Screen.cs (1)
277
? new Screen(PInvokeCore.
MonitorFromWindow
((HWND)hwnd, MONITOR_FROM_FLAGS.MONITOR_DEFAULTTONEAREST))