MonitorFromWindow(IntPtr, MonitorFromFlags) | Retrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window. |
MonitorFromWindow(SafeHandle, MonitorFromFlags) | Retrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window. |