Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The get_SearchPreference method gets the value currently assigned to a specified search preference. This method returns the search preference set in IRTCUserSearchQuery::put_SearchPreference.
HRESULT get_SearchPreference(RTC_USER_SEARCH_PREFERENCEenPreference,
long*plValue);
Parameters
- enPreference
[in] RTC_USER_SEARCH_PREFERENCE enumeration value indicating the preference value to return. - plValue
[out] Pointer to an integer value that contains the numeric value set for the preference.
Return Values
RTC methods may return an RTC_E_ constant.
Value | Meaning |
---|---|
E_INVALIDARG | The enPreference parameter is not a valid enumeration value. |
E_POINTER | The plValue parameter is not a valid pointer. |
Requirements
Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCUserSearchQuery is defined as 288300F5-D23A-4365-9A73-9985C98C2881.
See Also
IRTCUserSearchQuery, IRTCUserSearchQuery::put_SearchPreference