IRTCUserSearchResultsEvent::get_Query

The get_Query method gets the query object submitted for the search.

HRESULT get_Query(IRTCUserSearchQuery**ppQuery);

Parameters

  • ppQuery
    [out] Pointer to an IRTCUserSearchQuery interface on the query object that contains the specific search parameters. This call adds a reference to to the interface, which the caller is responsible for releasing.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
E_POINTER The ppQuery parameter is not a valid pointer.
RTC_E_NOT_EXIST There is no query attached to the search result.

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_IRTCUserSearchResultsEvent is defined as D8C8C3CD-7FAC-4088-81C5-C24CBC0938E3.

See Also

IRTCUserSearchResultsEvent, IRTCUserSearch, IRTCUserSearchResult