The Everything_GetRunCountFromFileName function gets the run count from a specified file in the Everything index by file name.
DWORD Everything_GetRunCountFromFileName( LPCTSTR lpFileName );
Pointer to a null-terminated string that specifies a fully qualified file name in the Everything index.
The function returns the number of times the file has been run from Everything.
The function returns 0 if an error occurred. To get extended error information, call Everything_GetLastError
|EVERYTHING_ERROR_SUCCESS||The run count is 0.|
|EVERYTHING_ERROR_IPC||Please make sure the Everything search client is running in the background.|
DWORD runCount; // get the run count of a file. runCount = Everything_GetRunCountFromFileName(TEXT("C:\\folder\\file.doc"));