Share via


RTC_USER_SEARCH_PREFERENCE

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This enumeration defines possible user search preferences. The IRTCUserSearchQuery::SearchPreference method uses this enumeration.

Syntax

typedef enum RTC_USER_SEARCH_PREFERENCE { 
  RTCUSP_MAX_MATCHES, 
  RTCUSP_TIME_LIMIT 
} RTC_USER_SEARCH_PREFERENCE;

Elements

  • RTCUSP_MAX_MATCHES
    The maximum number of matches that should be returned. The server may also have a limit on the number of search results returned. The smaller of the two takes effect. Range is 1 through 1000; default setting is 100.
  • RTCUSP_TIME_LIMIT
    The maximum amount of time (in seconds) that the server should spend searching. When this limit is reached, a time-out error is returned. Range is 1 through 30; default setting is 30.

Requirements

Header rtccore.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

RTC Client API Enumerations
IRTCUserSearchQuery::SearchPreference