The Everything_GetMinorVersion function retrieves the minor version number of Everything.
DWORD Everything_GetMinorVersion(void);
No parameters.
The function returns the minor version number.
The function returns 0 if minor version information is unavailable. To get extended error information, call Everything_GetLastError
Error code | Meaning |
---|---|
EVERYTHING_ERROR_IPC | Please make sure the Everything search client is running in the background. |
Everything uses the following version format:
major.minor.revision.build
The build part is incremental and unique for all Everything versions.
DWORD majorVersion;
DWORD minorVersion;
DWORD revision;
// get version information
majorVersion = Everything_GetMajorVersion();
minorVersion = Everything_GetMinorVersion();
revision = Everything_GetRevision();
if ((majorVersion > 1) || ((majorVersion == 1) && (minorVersion > 3)) || ((majorVersion == 1) && (minorVersion == 3) && (revision >= 4)))
{
// do something with version 1.3.4 or later
}
Requires Everything 1.0.0.0 or later.