Contents Index Topic Contents | ||
Previous Topic: IABTable::SetColumns Next Topic: IABTable::Unadvise |
IABTable::SortTable
HRESULT SortTable( LPSSortOrderSet lpSortCriteria, ULONG ulFlags );Sorts the table rows based on the sort criteria provided.
- Returns one of the following values:
S_OK The sort operation was successful. MAPI_E_BUSY Another operation is in progress that prevents the sort operation from starting. Either the operation in progress should be allowed to complete, or it should be stopped. MAPI_E_NO_SUPPORT The table does not support the type of sorting requested. MAPI_E_TOO_COMPLEX The table cannot perform the operation because the particular sort criteria pointed to by the lpSortCriteria parameter is too complicated.
- lpSortCriteria
- Address of an SSortOrderSet structure that contains the sort criteria. Passing an SSortOrderSet structure containing zero columns indicates that sorting the table is not desired.
- ulFlags
- Must be zero in Internet Explorer Address Book.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.