Function: MonitorFromWindow

Module location: Winuser.pkg line 276 (view source)
HandleMonitorFromWindow(Handle hWnd DWord dwFlags)
MonitorFromWindow ----------------- retrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window. See also MonitorFromPoint, GetMonitorInfo Handle to the window of interest Determines the function's return value if the window does not intersect any display monitor (e.g. MONITOR_DEFAULTTONEAREST)