Share via


IRTCUserSearchResultsEvent::Results

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method gets a collection of the results from the user search. If there are no results, the method returns an empty collection. C and C++ applications should use IRTCUserSearchResultsEvent::EnumerateResults.

Syntax

HRESULT get_Results(
  IRTCCollection** ppCollection
);

Parameters

  • ppCollection
    [out] Pointer to the IRTCCollection interface on a collection object containing an IRTCUserSearchResult pointer for each result. This method adds a reference to the collection object, which the caller is responsible for releasing.

Return Value

This method can return an RTC_E_ constant. The following table shows additional possible return values.

Value Meaning

E_OUTOFMEMORY

Insufficient memory to perform this operation.

E_POINTER

The ppCollection parameter is not a valid pointer.

Requirements

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

IRTCUserSearchResultsEvent:IDispatch
IRTCCollection
IRTCUserSearchResult
IRTCUserSearchResultsEvent::EnumerateResults