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_GetVideoEffect_Ex

### Interface Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    BOOL NET_SDK_GetVideoEffect_Ex(
        LONG lUserID,
        LONG lChannel,
        NET_SDK_IMAGE_EFFECT_T* pBrightValue,
        NET_SDK_IMAGE_EFFECT_T* pContrastValue,
        NET_SDK_IMAGE_EFFECT_T* pSaturationValue,
        NET_SDK_IMAGE_EFFECT_T* pHueValue);

    1
    2
    3
    4
    5
    6
    7
    public static extern bool NET_SDK_GetVideoEffect_Ex(
        int lUserID,
        int lChannel,
        ref NET_SDK_IMAGE_EFFECT_T BrightValue,
        ref NET_SDK_IMAGE_EFFECT_T ContrastValue,
        ref NET_SDK_IMAGE_EFFECT_T SaturationValue,
        ref NET_SDK_IMAGE_EFFECT_T HueValue);

### Function Description

Get preview video display parameters.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
lChannelin | LONG | Channel number, starting from 0. This parameter is invalid for IPC devices.
pBrightValueout | `NET_SDK_IMAGE_EFFECT_T`* | Brightness pointer, refer to `NET_SDK_IMAGE_EFFECT_T`.
pContrastValueout | `NET_SDK_IMAGE_EFFECT_T`* | Contrast pointer, refer to `NET_SDK_IMAGE_EFFECT_T`.
pSaturationValueout | `NET_SDK_IMAGE_EFFECT_T`* | Saturation pointer, refer to `NET_SDK_IMAGE_EFFECT_T`.
pHueValueout | `NET_SDK_IMAGE_EFFECT_T`* | Chroma pointer, refer to `NET_SDK_IMAGE_EFFECT_T`.

### Return Value

- Type：BOOL

- Remark：Returns TRUE if successful, FALSE if failed.

### Remarks

None

Error Code