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.

# EXCEPTION_CALLBACK

### Callback Definition

    1
    void EXCEPTION_CALLBACK(DWORD dwType, LONG lUserID, LONG lHandle, void* pUser);

### Function Description

Data callback when SDK operation is abnormal.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
dwTypein | DWORD | For the types of exception or reconnection messages, refer to `NET_SDK_EXCEPTION_TYPE`.
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
lHandlein | LONG | A handle of the appropriate type for the exception that occurred.
pUserin | void* | User-defined parameters are passed in when setting the callback function.

### Return Value

None

### Remarks

None

Error Code