Share via


RTC_USER_SEARCH_PREFERENCE

The RTC_USER_SEARCH_PREFERENCE enumeration describes the user search preferences. The IRTCUserSearchQuery::get_SearchPreference and IRTCUserSearchQuery::put_SearchPreference methods use a value of this enumeration.

typedef enum RTC_USER_SEARCH_PREFERENCE
{
  RTCUSP_MAX_MATCHES, 
  RTCUSP_TIME_LIMIT
} RTC_USER_SEARCH_PREFERENCE;

Constants

  • RTCUSP_MAX_MATCHES
    Range: 1 - 1000

    Default Setting: 100

    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.

  • RTCUSP_TIME_LIMIT
    Range: 1 - 30

    Default Setting: 30

    The maximum amount of time (in seconds) that the server should spend searching. When this limit is reached, a time-out error will be returned.

Requirements

Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.