IRTCUserSearchResultsEvent::get_Results
The get_Results property gets a collection of the results from the user search. If there are no results, an empty collection is returned. This method is intended for applications written in Visual Basic. C and C++ applications should use the EnumerateResults method.
HRESULT get_Results(IRTCCollection**ppCollection);
Parameters
- ppCollection
[out] Returns a pointer to the IRTCCollection interface on a collection object containing an IRTCUserSearchResult pointer for each result. This call adds a reference to the collection object, which the caller is responsible for releasing.
Return Values
RTC methods may return an RTC_E_ constant.
Value | Meaning |
---|---|
E_OUTOFMEMORY | Insufficient memory to perform this operation. |
E_POINTER | The ppCollection 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_IRTCUserSearchResultsEvent is defined as D8C8C3CD-7FAC-4088-81C5-C24CBC0938E3.
See Also
IRTCUserSearchResultsEvent, IRTCUserSearchResultsEvent::EnumerateResults, IRTCUserSearch, IRTCUserSearchResult