NPerformUpdate
|
API |
NPerformUpdate |
|
Function |
This is called to initiate an update of the custom engine. This call should be a synchronous call and wait until the update completes. |
Function prototype
int PerformUpdate()Return value
|
Value |
Description |
|
0 |
Update completed successfully. |
|
1 |
Failed to start or finish updating. |
|
2 |
Engine is already up to date. |
|
3 |
Failed to update due to network problem. |
|
4 |
Engine is already updating. |
|
5 |
Failed downloading update. |
|
6 |
Failed reloading database. |