Skip to content

NET_SDK_FindNextEvent

Interface Definition

1
2
3
LONG NET_SDK_FindNextEvent(
    POINTERHANDLE lFindHandle,
    NET_SDK_REC_EVENT* lpRecEvent);
1
2
3
public static extern int NET_SDK_FindNextEvent(
    POINTERHANDLE lFindHandle,
    ref NET_SDK_REC_EVENT lpFindData);

Function Description

Get the found file information one by one.

Parameter Description

Parameters Type Remark
lFindHandlein POINTERHANDLE File search handle, the return value of NET_SDK_FindEvent.
lpRecEventout NET_SDK_REC_EVENT* Pointer to save the recording event file information, refer to NET_SDK_REC_EVENT.

Return Value

  • type:LONG

  • remark:-1 indicates failure, and other values ​​indicate the current acquisition status and other information, corresponding to the value in NET_SDK_ERROR.

Remarks

Before calling this interface to obtain the search file, you must first call NET_SDK_FindEvent to get the current search handle. The video files found by event are based on the start time and stop time, so only playback by time NET_SDK_PlayBackByTime() is supported.

Error Code