=Everything_GetBuildNumber=
The '''Everything_GetBuildNumber''' function retrieves the build number of Everything.

==Syntax==
<pre>
DWORD Everything_GetBuildNumber(void);
</pre>

==Parameters==
<dl>
No parameters.
</dl>

==Return Value==
The function returns the build number.
The function returns 0 if build information is unavailable. To get extended error information, call [[support/everything/SDK/Everything_GetLastError|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==
<pre>
DWORD buildNumber;

// get the build number 
buildNumber = Everything_GetBuildNumber();

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

==Function Information==
Requires Everything 1.0.0.0 or later.

==See Also==
<ul>
*[[support/everything/SDK/Everything_GetMajorVersion|Everything_GetMajorVersion]]
*[[support/everything/SDK/Everything_GetMinorVersion|Everything_GetMinorVersion]]
*[[support/everything/SDK/Everything_GetRevision|Everything_GetRevision]]
*[[support/everything/SDK/Everything_GetTargetMachine|Everything_GetTargetMachine]]
</ul>
