Share via


IOleControlNavigation2::GetNavigationRects (Windows Embedded CE 6.0)

1/6/2010

This interface passes the list of the navigation rectangles to the browser.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetNavigationRects(
  DWORD rectCount,
  RECT __RPC_FAR rects[ ]
); 

Parameters

  • rectCount
    [in] Number of elements in the array
  • rects
    [out] Points to an array of RECTs

Return Value

Returns one of the following values:

  • S_OK indicates success.
  • E_FAIL indicates that there are no navigation rectangles.

Remarks

The browser refers to the elements of this list when it calls ActivateRect and GetCurrentRectIndex.

This method is not called if the navigation control is responsible for navigation.

Requirements

Header mshtmhst.idl, mshtml.h
Library mshtml.dll
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

IOleControlNavigation2

Other Resources

RECT