Everything_GetNumFileResults

The Everything_GetNumFileResults function returns the number of visible file results.

Syntax

DWORD Everything_GetNumFileResults(void);

Parameters

This functions has no parameters.

Return Value

Returns the number of visible file results.

If the function fails the return value is 0. To get extended error information, call .

Error code Meaning
EVERYTHING_ERROR_INVALIDCALL Call before calling Everything_GetNumFileResults.

Remarks

You must call before calling Everything_GetNumFileResults.

Use to retrieve the total number of file results.

If the result offset state is 0, and the max result is 0xFFFFFFFF, Everything_GetNumFileResults will return the total number of file results and all file results will be visible.

Everything_GetNumFileResults is not supported when using

Example

// set the search text to abc AND 123
Everything_SetSearch("abc 123");
// execute the query
Everything_Query(TRUE);
// get the number of visible file results.
DWORD dwNumFileResults = Everything_GetNumFileResults();

See Also