Partager via


ContactsSearchCriteria (Windows CE 5.0)

Send Feedback

This structure contains criteria submitted to Exchange when querying for information about members of an entity's Exchange contact list.

You pass an instance of this structure to the IExchangeClient::RequestContacts method when retrieving contact information.

struct ContactsSearchCriteria {  WCHAR* wszFirstName;  WCHAR* wszLastName;};

Members

  • wszFirstName
    The first name on which to search.
  • wszLastName
    The last name on which to search.

Remarks

A search using this structure returns records that start with the provided strings.

For example, if wszFirstName is John, the search returns records that have first names that start with John, including John, Johnny, and so on.

Each field of the structure can point to a string that constrains the search, or the field can contain NULL if the field is not relevant for the search.

If neither field is specified, the search returns all contacts.

If both fields point to valid strings, the search applies both criteria in an AND combination.

For example, if wszFirstName is John and wszLastName is Doe, the search returns records that have a first name that starts with John and a last name that starts with Doe.

The search is case-insensitive.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: IExchangeClient.h, IExchangeClient.idl.

See Also

Exchange Client Structures | IExchangeClient::RequestContacts

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.