Everything

Everything_GetTargetMachine

The Everything_GetTargetMachine function retrieves the target machine of Everything.

Syntax

DWORD Everything_GetTargetMachine(void);

Parameters

No parameters.

Return Value

The function returns one of the following:

Macro Meaning
EVERYTHING_TARGET_MACHINE_X86 (1) Target machine is x86 (32 bit).
EVERYTHING_TARGET_MACHINE_X64 (2) Target machine is x64 (64 bit).
EVERYTHING_TARGET_MACHINE_ARM (3) Target machine is ARM.

The function returns 0 if target machine 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.

Remarks

Everything uses the following version format:

major.minor.revision.build

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

Example

DWORD buildNumber;

// Get the attributes of the first visible result.
buildNumber = Everything_GetBuildNumber();

if (buildNumber >= 686)
{
	// do something with build 686 or later.
}

Function Information

Requires Everything 1.4.0 or later.

See Also


© 2017 voidtools