| 125 | } |
| 126 | |
| 127 | STDMETHODIMP QueryHitRect(DWORD dwAspect, LPCRECT pRectBounds, LPCRECT pRectLoc, LONG lCloseHint, DWORD *pHitResult) { |
| 128 | if (pRectBounds == NULL || pRectLoc == NULL || pHitResult == NULL) { |
| 129 | return E_POINTER; |
| 130 | } |
| 131 | *pHitResult = IntersectRect((LPRECT)pHitResult, pRectBounds, pRectLoc) ? HITRESULT_HIT : HITRESULT_OUTSIDE; |
| 132 | return S_OK; |
| 133 | } |
| 134 | |
| 135 | STDMETHODIMP GetNaturalExtent(DWORD dwAspect, LONG lindex, DVTARGETDEVICE *ptd, HDC hicTargetDev, DVEXTENTINFO *pExtentInfo, LPSIZEL pSizel) { |
| 136 | return GetExtent(dwAspect, lindex, ptd, pSizel); |
nothing calls this directly
no outgoing calls
no test coverage detected