IRTCUserSearchResultsEvent::Results (Windows CE 5.0)

Send Feedback

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.

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 Values

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

OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCUserSearchResultsEvent | IRTCCollection | IRTCUserSearchResult | IRTCUserSearchResultsEvent::EnumerateResults

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.