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_FindEventInfo

### Interface Definition

C++C#

    1
    2
    3
    4
    5
    6
    POINTERHANDLE NET_SDK_FindEventInfo(
        LONG lUserID,
        DWORD dwType,
        ULONGLONG channlMask,
        DD_TIME* lpStartTime,
        DD_TIME* lpStopTime);

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

### Function Description

Search event information (only supports 3.0DVR).

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
dwTypein | DWORD | Event type. For specific event types, refer to `DD_EVENT_TYPE`.
channlMaskin | ULONGLONG | The channel where the event occurred. ((ULONGLONG)0x1 << N) N indicates the channel being queried.
lpStartTimein | `DD_TIME`* | The start time of the event.
lpStopTimein | `DD_TIME`* | The end time of the event.

### Return Value

- Type：POINTERHANDLE

- Remark：-1 indicates failure, and other values ​​are used as event information lookup handles.

### Remarks

None

Error Code