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.

# ACCEPT_REGISTER_CALLBACK

### Callback Definition

    1
    void ACCEPT_REGISTER_CALLBACK(LONG lUserID, LONG lRegisterID, LPNET_SDK_DEVICEINFO pDeviceInfo, void* pUser);

### Function Description

The device receives the callback information actively registered by the DVR.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
lRegisterIDin | LONG | The device receives the ID number actively registered by the DVR.
pDeviceInfoin | `LPNET_SDK_DEVICEINFO` | Actively register device information.
pUserin | void* | User-defined parameters are passed in when setting the callback function.

### Return Value

None

### Remarks

None

Error Code