The Everything_IsFileInfoIndexed function checks if the specified file information is indexed.
BOOL Everything_IsFileInfoIndexed(DWORD fileInfoType);
fileInfoType
Can be one of the following:
Code | Value | Description |
---|---|---|
EVERYTHING_IPC_FILE_INFO_FILE_SIZE | 1 | File size |
EVERYTHING_IPC_FILE_INFO_FOLDER_SIZE | 2 | Folder size |
EVERYTHING_IPC_FILE_INFO_DATE_CREATED | 3 | Date created |
EVERYTHING_IPC_FILE_INFO_DATE_MODIFIED | 4 | Date modified |
EVERYTHING_IPC_FILE_INFO_DATE_ACCESSED | 5 | Date accessed |
EVERYTHING_IPC_FILE_INFO_ATTRIBUTES | 6 | Attributes |
The function returns non-zero if the specified information is indexed.
The function returns 0 if the specified information is not indexed or if an error occurred. To get extended error information, call Everything_GetLastError.
Error code | Meaning |
---|---|
EVERYTHING_OK | The specified information is not indexed. |
EVERYTHING_ERROR_IPC | Please make sure the Everything search client is running in the background. |
BOOL isSizeIndexed;
isSizeIndexed = Everything_IsFileInfoIndexed(EVERYTHING_IPC_FILE_INFO_FILE_SIZE);
Requires Everything 1.4.1 or later.