Share via


SEARCH_SHAPE_CIRCLE

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This structure describes the properties of a circle on the map within which to perform a local search.

A circle is the only supported shape in Live Search for Devices (LS4D).

Syntax

typedef struct _SEARCH_SHAPE_CIRCLE {
    SEARCH_SHAPE_BASE   shapeBase;
    SEARCH_LOCATION     circleOrigin;
    DWORD               dwSearchRadius;
} SEARCH_SHAPE_CIRCLE;

Members

  • shapeBase
    SEARCH_SHAPE_BASE structure that defines the shape of the area on a map within which to perform a local search.
  • circleOrigin
    SEARCH_LOCATION structure that describes the geographic location for the search request.
  • dwSearchRadius
    DWORD that specifies the radius, in miles, of the circle on a map within which to perform a local search. Valid values range from 1 to 300 miles. The default value is 25.

Remarks

You can typecast this structure to a SEARCH_SHAPE_BASE structure and set it to the value of PhoneBookSearchRequest.lpSearchShape.

For example:

MyPhoneBookSearchRequest.lpSearchShape  = (SEARCH_SHAPE_BASE*) &mySearchShape;

Requirements

Header localsearch.h
Library localsearch.lib
Windows Embedded CE Windows CE 5.0, Windows Embedded NavReady 2009

See Also

Reference

PhoneBookSearchRequest
LS4D Structures