The Everything_GetResultDateRecentlyChanged function retrieves the recently changed date of a visible result.
BOOL Everything_GetResultDateRecentlyChanged( DWORD dwIndex, FILETIME *lpDateRecentlyChanged );
Zero based index of the visible result.
Pointer to a FILETIME to hold the recently changed date of the result.
The function returns non-zero if successful.
The function returns 0 if the recently changed date information is unavailable. To get extended error information, call Everything_GetLastError
|EVERYTHING_ERROR_INVALIDCALL||Call Everything_Query before calling Everything_GetResultDateRecentlyChanged.|
|EVERYTHING_ERROR_INVALIDREQUEST||Recently changed date was not requested or is unavailable, Call Everything_SetRequestFlags with EVERYTHING_REQUEST_DATE_RECENTLY_CHANGED before calling Everything_Query.|
|EVERYTHING_ERROR_INVALIDINDEX||index must be greater than or equal to 0 and less than the visible number of results.|
dwIndex must be a valid visible result index. To determine if a result index is visible use the Everything_GetNumResults function.
The date recently changed is the date and time of when the result was changed in the Everything index, this could be from a file creation, rename, attribute or content change.
FILETIME dateRecentlyChanged; // set the search text to abc AND 123 Everything_SetSearch("abc 123"); // execute the query Everything_Query(TRUE); // Get the recently changed date of the first visible result. Everything_GetResultDateRecentlyChanged(0,&dateRecentlyChanged);
Requires Everything 1.4.1 or later.