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.

# DRAW_FUN_CALLBACK

### Callback Definition

    1
    void DRAW_FUN_CALLBACK(POINTERHANDLE lLiveHandle, HDC hDC, void* pUser);

### Function Description

Data callback during preview.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lLiveHandlein | POINTERHANDLE | The preview handle, which is the return value of `NET_SDK_LivePlay` or `NET_SDK_LivePlayEx`.
hDCin | HDC | Device context handle
pUserin | void* | User-defined parameters are passed in when setting the callback function.

### Return Value

None

### Remarks

None

Error Code