Definition
int CheckForUpdate_LXDeviceAPI(int closeifnoupdate);
Parameters
Parameter |
Available Value |
Description |
int closeifnoupdate |
|
1 : Auto close update window if there is no update
0 : Don’t close update window although there is no update. |
Return Values
Return |
meaning |
Description |
1 |
Success |
|
-10 |
Fail. |
Wrong calling order. Should be called after OpenApi. |
Code Example
void CLXDeviceAPI_Sample1View::OnMenuCheckforupdate()
{
CheckForUpdate_LXDeviceAPI(0); // parameter 0 : No Auto Close
//CheckForUpdate_LXDeviceAPI(1); // parameter 1 : Auto close check program if there is no update.
}
Result

CheckForUpdate LXDeviceAPI