Everything_GetResultListSort

Everything_GetResultListSort函数返回的结果实际的排序顺序。

 

句法

DWORD Everything_GetResultListSort(void);

 

回报价值

返回以下排序类型之一:

EVERYTHING_SORT_NAME_ASCENDING(1)
EVERYTHING_SORT_NAME_DESCENDING(2)
EVERYTHING_SORT_PATH_ASCENDING(3)
EVERYTHING_SORT_PATH_DESCENDING(4)
EVERYTHING_SORT_SIZE_ASCENDING(5)
EVERYTHING_SORT_SIZE_DESCENDING(6)
EVERYTHING_SORT_EXTENSION_ASCENDING(7)
EVERYTHING_SORT_EXTENSION_DESCENDING(8)
EVERYTHING_SORT_TYPE_NAME_ASCENDING(9)
EVERYTHING_SORT_TYPE_NAME_DESCENDING(10)
EVERYTHING_SORT_DATE_CREATED_ASCENDING(11)
EVERYTHING_SORT_DATE_CREATED_DESCENDING(12)
EVERYTHING_SORT_DATE_MODIFIED_ASCENDING(13)
EVERYTHING_SORT_DATE_MODIFIED_DESCENDING(14)
EVERYTHING_SORT_ATTRIBUTES_ASCENDING(15)
EVERYTHING_SORT_ATTRIBUTES_DESCENDING(16)
EVERYTHING_SORT_FILE_LIST_FILENAME_ASCENDING(17)
EVERYTHING_SORT_FILE_LIST_FILENAME_DESCENDING(18)
EVERYTHING_SORT_RUN_COUNT_ASCENDING(19)
EVERYTHING_SORT_RUN_COUNT_DESCENDING(20)
EVERYTHING_SORT_DATE_RECENTLY_CHANGED_ASCENDING(21)
EVERYTHING_SORT_DATE_RECENTLY_CHANGED_DESCENDING(22)
EVERYTHING_SORT_DATE_ACCESSED_ASCENDING(23)
EVERYTHING_SORT_DATE_ACCESSED_DESCENDING(24)
EVERYTHING_SORT_DATE_RUN_ASCENDING(25)
EVERYTHING_SORT_DATE_RUN_DESCENDING(26)

 

备注

Everything_GetResultListSort必须在调用之后调用Everything_Query

如果未指定所需的排序顺序,则结果列表按EVERYTHING_SORT_NAME_ASCENDING排序。

结果列表排序可能与Everything_SetSort中指定的所需排序不同。

 

DWORD dwSort = Everything_GetResultListSort();