NET_SDK_GetFileByTimeExV2¶
Interface Definition¶
1 2 3 4 5 6 7 8 9 10 11 | |
1 2 3 4 5 6 7 8 9 10 11 | |
Function Description¶
Extended interface V2 for downloading video files by time.
Parameter Description¶
| Parameters | Type | Remark |
|---|---|---|
| lUserIDin | LONG | User ID, the return value of NET_SDK_Login or NET_SDK_LoginEx. |
| lChannelin | LONG | Channel number, starting from 0. This parameter is invalid for IPC devices. |
| lpStartTimein | DD_TIME* | Start time pointer. |
| lpStopTimein | DD_TIME* | End time pointer. |
| sSavedFileNamein | char* | The file path saved to the local area, note: Please use absolute paths, and do not use relative paths. |
| recFormatin | char | Whether to use private file format. 1 means to use private file format. |
| bFirstStreamin | BOOL | Whether to download the main stream, TRUE means the main stream. |
| bUseCallBackin | BOOL | Whether to use callback, TRUE means use it. |
| fBackupDataCallBackin | BACKUP_DATA_CALLBACK | Callback function. |
| pUserin | void* | User-defined parameters. |
Return Value¶
-
type:POINTERHANDLE
-
remark:-1 indicates failure, other values are used as handles for the downloaded file.
Remarks¶
None