Partager via


RTC_USER_SEARCH_PREFERENCE (Windows Embedded CE 6.0)

1/6/2010

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