Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# NET_SDK_GetSaveFileToUsbProcess

### Interface Definition

C++C#

    1
    2
    3
    4
    5
    BOOL NET_SDK_GetSaveFileToUsbProcess(
        LONG lUserID,
        NET_SDK_USB_BACKUP_PROCESS_EX* pUsbBackProcess,
        unsigned int lBuffSize,
        unsigned int* taskCount);

    1
    2
    3
    4
    5
    public static extern Boolean NET_SDK_GetSaveFileToUsbProcess(
        Int32 lUserID,
        IntPtr pUsbBackProcess,
        UInt32 lBuffSize,
        ref UInt32 taskCount);

### Function Description

Get the status information of backing up video files to the USB disk.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
pUsbBackProcessout | `NET_SDK_USB_BACKUP_PROCESS_EX`* | Status information of the backup.
lBuffSizein | unsigned int | The size of pUsbBackProcess.
taskCountout | unsigned int* | The number of backup tasks.

### Return Value

- Type：BOOL

- Remark：Returns TRUE if successful, FALSE if failed.

### Remarks

None

Error Code