Everything_GetResultDateModified

The Everything_GetResultDateModified function retrieves the modified date of a visible result.

Syntax

BOOL Everything_GetResultDateModified(
DWORD dwIndex,
FILETIME *lpDateModified
);

Parameters


dwIndex

Zero based index of the visible result.


lpDateModified

Pointer to a FILETIME to hold the modified date of the result.


Return Value

The function returns non-zero if successful.

The function returns 0 if the modified date information is unavailable. To get extended error information, call

Error code Meaning
EVERYTHING_ERROR_INVALIDCALL Call before calling Everything_GetResultDateModified.
EVERYTHING_ERROR_INVALIDREQUEST Modified date was not requested or is unavailable, Call with EVERYTHING_REQUEST_DATE_MODIFIED before calling .
EVERYTHING_ERROR_INVALIDINDEX index must be greater than or equal to 0 and less than the visible number of results.

Remarks

dwIndex must be a valid visible result index. To determine if a result index is visible use the function.

Example

FILETIME dateModified;
// set the search text to abc AND 123
Everything_SetSearch("abc 123");
// execute the query
Everything_Query(TRUE);
// Get the modified date of the first visible result.
Everything_GetResultDateModified(0,&dateModified);

Function Information

Requires Everything 1.4.1 or later.

See Also