SetSortOrder

The SetSortOrder function sets the sort order for the Contacts database.

Syntax

BOOL SetSortOrder(HHPRTAG hhProp);

At a Glance

Header file: Addrstor.h
Platforms: H/PC
Windows CE versions: 1.0 and later

Parameters

hhProp
Handle to a property tag that identifies the property on which the address cards are to be sorted. This parameter must be one of the tags specified in the call to the CreateAddressBook or SetColumnProperties function, or one of the default tags if the user specified NULL instead of an array of tags. If the sort order is not important, this parameter can be zero.

Return Values

Returns TRUE if successful, or FALSE otherwise.

Remarks

For more information, see Contacts Database.

See Also

CreateAddressBook, GetSortOrder, SetColumnProperties