Share via


IRTCUserSearchResultsEvent::EnumerateResults

The EnumerateResults method returns an enumeration of the results from the user search. If there are no results, an empty enumeration is returned.This method is intended for C and C++ applications. Visual Basic applications should use the get_Results method.

HRESULT EnumerateResults(IRTCEnumUserSearchResults**ppEnum);

Parameters

  • ppEnum
    [out] Returns a pointer to the IRTCEnumUserSearchResults interface on an enumeration object containing an IRTCUserSearchResult pointer for each result. This call adds a reference to the enumeration object, which the caller is responsible for releasing.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
E_POINTER The ppEnum 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_IRTCUserSearchResultsEvent is defined as D8C8C3CD-7FAC-4088-81C5-C24CBC0938E3.

See Also

IRTCUserSearchResultsEvent, IRTCUserSearchResultsEvent::get_Results, IRTCUserSearch, IRTCUserSearchResult, Receive a Search Response