voidtools

Everything_GetMinorVersion

The Everything_GetMinorVersion function retrieves the minor version number of Everything.


Syntax

DWORD Everything_GetMinorVersion(void);

Parameters

No parameters.


Return Value

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 codeMeaning
EVERYTHING_ERROR_IPCPlease make sure the Everything search client is running in the background.

Remarks

Everything uses the following version format:

major.minor.revision.build

The build part is incremental and unique for all Everything versions.


Example

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
}

Function Information

Requires Everything 1.0.0.0 or later.


See Also


© 2017 - Privacy