how do i use the IntersectRect API call