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_FindDVRLog

### Interface Definition

C++C#

    1
    2
    3
    4
    5
    POINTERHANDLE NET_SDK_FindDVRLog(
        LONG lUserID,
        DWORD dwType,
        DD_TIME* lpStartTime,
        DD_TIME* lpStopTime);

    1
    2
    3
    4
    5
    public static extern POINTERHANDLE NET_SDK_FindDVRLog(
        int lUserID,
        int dwType,
        ref DD_TIME lpStartTime,
        ref DD_TIME lpStopTime);

### Function Description

Find the device's log information (IPC is not supported).

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
dwTypein | DWORD | Log type, refer to `N9000_LOG_MAJOR_TYPE`.
lpStartTimein | `DD_TIME`* | The start time of the file.
lpStopTimein | `DD_TIME`* | The end time of the file.

### Return Value

- Type：POINTERHANDLE

- Remark：-1 indicates failure, other values ​​are used as the log handle for lookup.

### Remarks

None

Error Code