voidtools

Everything_GetRevision

The Everything_GetRevision function retrieves the revision number of Everything.


Syntax

DWORD Everything_GetRevision(void);

Parameters

No parameters.


Return Value

The function returns the revision number.

The function returns 0 if revision 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


© 2024 - Shaxsiylik