Skip to content

NET_SDK_GetUpgradeProgress

Interface Definition

1
2
3
int NET_SDK_GetUpgradeProgress(
    POINTERHANDLE lUpgradeHandle,
    int* pError = NULL);
1
2
public static extern int NET_SDK_GetUpgradeProgress(
    POINTERHANDLE lUpgradeHandle);

Function Description

Get the progress of remote upgrade.

Parameter Description

Parameters Type Remark
lUpgradeHandlein POINTERHANDLE Upgrade handle, the return value of NET_SDK_Upgrade, NET_SDK_UpgradeEx, or NET_SDK_UpgradeIPC.
pErrorout int* Upgrade error return code, need to be initialized first.

Return Value

  • type:int

  • remark:-1 indicates failure, and 0 to 100 indicates the upgrade progress.

Remarks

None

Error Code