IMAPITable::QuerySortOrder
The IMAPITable::QuerySortOrder
method retrieves the current sort order for a table.
Quick Info
See IMAPITable
: IUnknown
HRESULT QuerySortOrder(
LPSSortOrderSet FAR * lppSortCriteria |
|
) |
|
Parameters
lppSortCriteria
[out] Pointer
to a pointer to the SSortOrderSet
Return Values
S_OK
The current
sort order was successfully returned.
MAPI_E_BUSY
Another operation
is in progress that prevents the sort order retrieval operation from starting.
Either the operation in progress should be allowed to complete or it should be
stopped.
Remarks
The
IMAPITable::QuerySortOrder method retrieves the current sort order for a
table. Sort orders are described with an SSortOrderSet
The cSorts
member of the SSortOrderSet structure can be set to zero if:
The table is unsorted.
There is no information about
how the table is sorted.
The SSortOrderSet structure
is not appropriate for describing the sort order.
Notes to Implementers
If a call is
made to your IMAPITable::SortTable
For more
information about sorting, see Sorting and Categorization
See Also