Share via


IRTCUserSearch::CreateQuery

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

Note

This method is unsupported in Windows Embedded CE 6.0.

This method creates a user search query object. The application can define the query by setting properties on this object. The application can pass the query object to the IRTCUserSearch::ExecuteSearch method to perform the search.

Syntax

HRESULT CreateQuery(
  IRTCUserSearchQuery** ppQuery
);

Parameters

  • ppQuery
    [out] Pointer to the IRTCUserSearchQuery interface. This method adds a reference to the user search query 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 ppQuery 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

IRTCUserSearch
IRTCUserSearch::ExecuteSearch
IRTCUserSearchQuery