The Everything_SetRunCountFromFileName function sets the run count for a specified file in the Everything index by file name.
Pointer to a null-terminated string that specifies a fully qualified file name in the Everything index.
The new run count.
The function returns non-zero if successful.
The function returns 0 if an error occurred. To get extended error information, call Everything_GetLastError
|EVERYTHING_ERROR_IPC||Please make sure the Everything search client is running in the background.|
Set the run count to 0 to remove any run history information for the specified file.
The file does not have to exist. When the file is created it will have the correct run history.
Run history information is preserved between file deletion and creation.
Calling this function will update the date run to the current time for the specified file.
// set a file to show higher in the results by setting an exaggerated run count