The Everything_GetTotFolderResults function returns the total number of folder results.
DWORD Everything_GetTotFolderResults(void);
This functions has no parameters.
Returns the total number of folder results.
If the function fails the return value is 0. To get extended error information, call Everything_GetLastError.
Error code | Meaning |
---|---|
EVERYTHING_ERROR_INVALIDCALL | Call Everything_Query before calling Everything_GetTotFolderResults. |
You must call Everything_Query before calling Everything_GetTotFolderResults.
Use Everything_GetNumFolderResults to retrieve the number of visible folder results.
Use the result offset and max result values to limit the number of visible results.
Everything_GetTotFolderResults is not supported when using Everything_SetRequestFlags
// set the search text to abc AND 123
Everything_SetSearch("abc 123");
// execute the query
Everything_Query(TRUE);
// get the total number of folder results.
DWORD dwTotFolderResults = Everything_GetTotFolderResults();