Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure contains information about a sort order in a database.
typedef struct _SORTORDERSPEC { CEPROPID propid ; DWORD dwFlags ; } SORTORDERSPEC;
Parameters
To sort differently, specify one or a combination of the following flags:
Value | Description |
---|---|
CEDB_SORT_DESCENDING | The sort is done in descending order. By default, the sort is done in ascending order. |
CEDB_SORT_CASEINSENSITIVE | The sort operation is case insensitive. This value is valid only for strings. |
CEDB_SORT_UNKNOWNFIRST | Records that do not contain the sort property are placed before all the other records. |
Remarks
The system supports only simple sorts on a key. Records with the same key value are sorted in arbitrary order.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.0 and later | Windbase.h | Winbase.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also