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_SearchTerms method gets a space-delimited list of the search terms for the query. This method returns the search terms set in IRTCUserSearchQuery::put_SearchTerm.
HRESULT get_SearchTerms(BSTR*pbstrNames);
Parameters
- pbstrNames
[out] Pointer to a string value that contains the returned search terms. The caller is responsible for freeing the memory allocated for the string with SysFreeString.
Return Values
RTC methods may return an RTC_E_ constant.
Return code/value | Description |
---|---|
RTC_E_NOT_EXIST |
There are no search terms present for this query. |
E_POINTER | The pbstrNames parameter is not a valid pointer. |
E_OUTOFMEMORY | Insufficient memory to perform this operation. |
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::get_SearchTerm, IRTCUserSearchQuery::put_SearchTerm