Share via


IRTCUserSearchResultsEvent::EnumerateResults

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method retrieves an enumeration of the results from the user search. This method is intended for C and C++ applications.

Syntax

HRESULT EnumerateResults(
  IRTCEnumUserSearchResults** ppEnum
);

Parameters

  • ppEnum
    [out] Pointer to the IRTCEnumUserSearchResults interface on an enumeration object that contains an IRTCUserSearchResult pointer for each result. This method adds a reference to the enumeration object, which the caller is responsible for releasing. If there are no results, the method retrieves an empty enumeration.

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 ppEnum 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
IRTCEnumUserSearchResults
IRTCUserSearchResult
IRTCUserSearchResultsEvent::Results