=Everything_SaveDB=
The '''Everything_SaveDB''' function requests Everything to save the index to disk.

==Syntax==
<pre>
BOOL Everything_SaveDB(void);
</pre>

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

==Return Value==
The function returns non-zero if the request to save the Everything index to disk was successful.
The function returns 0 if an error occurred. 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==
The index is only saved to disk when you exit Everything.
Call '''Everything_SaveDB''' to write the index to the file: Everything.db

==Example==
<pre>
// flush index to disk
Everything_SaveDB();
</pre>

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

==See Also==
<ul>
</ul>
