Share via


IXRUIElement::HitTest(XRRect, IXRHitTestResults) (Windows Embedded CE 6.0)

1/6/2010

This method returns the results of a hit test that specifies a rectangular region on the screen.

Syntax

virtual HRESULT STDMETHODCALLTYPE HitTest(
    XRRect *pRect,
    IXRHitTestResults** ppElements
) = 0;

Parameters

  • pRect
    [in] Pointer to an XRRect structure that describes a region on the screen.
  • ppElements
    [out] Address of a pointer to an IXRHitTestResults object that indicates the UI element or elements that cover the specified region.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.UIElement.HitTest

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRUIElement::HitTest
IXRUIElement