Search Result Type Constants

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

The following constants are used to indicate the filter that is applied to a search result:

Note

The ability to filter by listing type is only available in the English and Spanish languages in the United States. This is because Yellow Pages search results are available in all supported locales, while White Pages search results are only available in the English and Spanish locales.

Constant Description

NO_SEARCH_RESULT_TYPE_FILTERING

Indicates that no filters will be applied to the search results.

Cc510399.note(en-us,MSDN.10).gifNote:
In some cases, this constant might not return both Yellow Pages and White Pages results. The LS4D API will determine whether to return Yellow Pages and White Pages results based on the query text provided. If only one search keyword is provided, the query text is too ambiguous and no White Pages results are returned.

YELLOW_PAGE_RESULT

Indicates that results will be filtered so that only search results from the Yellow Pages (commercial) online phone book will be displayed to the user.

WHITE_PAGE_RESULT

Indicates that results will be filtered so that only search results from the White Pages (residential) online phone book will be displayed to the user.

Requirements

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

See Also

Reference

PhoneBookSearchRequest
LS4D Constants